Before we can add more platforms, we'll first need to fixup the _player.platform variable.
Why? What's wrong with it?
Well, when we only had a single platform along the bottom of the screen, a simple boolean (true or false) value was good enough. But now that we're adding more platforms, we'll want to know **which** platform the player is standing on.
We can update _player.platform by initializing it to null (instead of false) and setting it to the platform (instead of true) when the player collides with a platform.
The null value simply means that there is no object stored in the variable - in our case, it means that there is no platform associated with the player.
Fortunately we can still use _player.platform in the if statement in check_input() because (in JavaScript) a null value will be interpreted as false. Any non-null value will be interpreted as true.
The last place to fixup is the check_platform_collisions() function.
Now that the _player.platform variable has been updated, we can start adding more platforms.
GOTO 077 if you already have the Monster I - Stationary badge.