![]() |
Routines |
| Prev: C86A | Up: Map | Next: C87A |
|
Used by the routine at player_controls.
Reached when chk_plyr_OOB finds the player at or beyond the line of a wall, which in practice means in an archway. A falling player keeps falling, but any upward speed -- a jump just started included -- is cancelled, so the player cannot rise inside a doorway. Then on to the move.
|
||||
| plyr_OOB | C86D | LD A,(IX+$0B) | dZ negative: falling is fine | |
| C870 | AND A | |||
| C871 | JP M,player_move_and_draw | |||
| C874 | XOR A | otherwise no vertical movement at all | ||
| C875 | LD (IX+$0B),A | |||
| C878 | JR player_move_and_draw | move | ||
| Prev: C86A | Up: Map | Next: C87A |