Prev: C82B Up: Map Next: C87A
C86D: Handle Player Outside Room
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.
Input
IX Address of the object
HandlePlayerOutsideRoom C86D LD A,(IX+$0B) Fetch the speed in Z of the player.
C870 AND A Test whether it is negative.
C871 JP M,HandlePlayerLegs_Move Jump to HandlePlayerLegs_Move if it is, as the player is falling.
C874 XOR A Set the speed in Z to zero.
C875 LD (IX+$0B),A
C878 JR HandlePlayerLegs_Move Jump to HandlePlayerLegs_Move.
Prev: C82B Up: Map Next: C87A