Good game. As N-Mario mentioned you can jump forever if you press jump on the frame when the guy is at its higest point (the frame before he falls down or some frame near that). You can probably fix that using a yspeed -10 when he starts to jump then yspeed+=something like 0.3 when he is jumping and y+=yspeed on enterframe.