Patch:Keen on Platforms
This page deals with patches relating to Keen standing on Platforms. In most games Keen can stand on certain sprites as if they were solid ground, however in Keen 5 there is a special action for when Keen is standing on Platform type sprites. Most of the patches on this page relate to this special case.
The 'Keen on Platforms' action is but a single action. It loops to itself so Keen will continue in that action once he has started. The action responds to the usual keypresses so that Keen can stop standing on Platforms in the same way he can stop standing still.
There are two checks that transform a standing Keen into a Platform standing Keen; the first is part of Keen's 'stand on ground' code, the second part of his 'stand still' code. In both cases once it is detected that Keen is in contact with a Platform the game will check to see if he is already using the special action, and if not will transform him.
Actions: $08A6W #Keen on platforms
|Patch: Keen 5|
Keen doesn't use the special action
This patch overrides both checks meaning that while Keen can stand on Platforms as if they were solid ground, he does not use the special action and animation.
|Patch: Keen 5|
When on Platforms Keen uses a unique behavior, one that is a subset of Keen's standing behavior, 'GroundInput'. This means that it largely behaves the way Keen does when standing still and cannot do anything different or new.
|Patch: Sprite behavior|
On platforms Keen does have a downwards speed. This combined with his animation and 'stick to ground' variables means he is constantly pushing down into the ground and will fall if said ground is removed.
|Patch: Sprite speed|
Keen uses his usual sprite collision when riding platforms.
|Patch: Sprite collision|
Keen has a unique platform-riding animation which is one of the few thins that sets it apart from his standing state.
|Patch: Sprite animation|
Keen uses his 'stand on ground' tile interaction when on platforms.
|Patch: Sprite tile interaction|
As Keen must move smoothly react quickly and animate his action is type 3.
|Patch: Sprite action type|
In order to properly fall if the ground vanishes Keen needs to use the 'stick to ground' variable for this action.
|Patch: Sprite deprotect, stick|