Yay! We can jump.
well... sort of...
If I hold the jump button down, I can fly off the top of the screen.
Yes, apparently you can jump while you're in mid-air, which is not quite what we want. How do you think we should fix that?
You should only be allowed to jump if you're standing on a platform.
So we should add a variable to the player that keeps track of whether-or-not the player is currently on a platform.
And we need to check this variable whenever the player tries to jump.
It doesn't seem to work yet.
That's because we're not quite done. We now need to set the platform variable when the player is on a platform.
GOTO 033 if you already have the Collision I - Basic badge.