![]() |
Routines |
| Prev: 51243 | Up: Map | Next: 51322 |
|
Used by the routine at HandlePlayerLegs.
Handles the player being outside the room, which happens while the player walks through an arch. The player may fall, but is not allowed to rise.
|
||||||||
| HandlePlayerOutsideRoom | 51309 | LD A,(IX+11) | Fetch the speed in Z of the player. | |||||
| 51312 | AND A | Test whether it is negative. | ||||||
| 51313 | JP M,HandlePlayerLegs_Move | Jump to HandlePlayerLegs_Move if it is, as the player is falling. | ||||||
| 51316 | XOR A | Set the speed in Z to zero. | ||||||
| 51317 | LD (IX+11),A | |||||||
| 51320 | JR HandlePlayerLegs_Move | Jump to HandlePlayerLegs_Move. | ||||||
| Prev: 51243 | Up: Map | Next: 51322 |