1.1) When a level is executed and the player starts in the air and while in the air he presses the jump button until he steps on a block(char(1).stand=1) it jumps unintentionally and does not even sound.
1.2) When the player runs and falls, and in the middle of the fall he presses the jump button and does not release it until he steps on a block(char(1).stand=1) the player jumps unintentionally.
I had made a post of a suggestion that solved the custom non-standard dimensions, but now after experimenting more it is no longer so necessary: now it only fails when the player gets hurt:
To solve this, make the program not execute the standard values of the player's pwidth and pheight as long as the status property hasn't changed due to the hit(and the player's id has not changed).
Like when the player is:
id = 3, hitpoint = 3 and status = 2
and after one hit it is:
id = 3, hitpoint = 2 and status = 2
He has the same status; and it can also be by sysval(playerbasestatus)
In other words, only run(or update) the pwidth and pheight values when necessary.