Prev: C9A1 Up: Map Next: C9BC
C9AB: Is the player moving forward?
Used by the routine at move_player.
The player moves in the direction he faces when forward is held, and also, without it, throughout a jump and during the room-entry walk.
move_player_xy C9AB BIT 3,(IX+$0C) jumping, entering a room, or forward held
C9AF JR NZ,move_player_walk
C9B1 LD A,(IX+$0C)
C9B4 AND $F0
C9B6 JR NZ,move_player_walk
C9B8 BIT 2,C
C9BA JR Z,apply_gravity
Prev: C9A1 Up: Map Next: C9BC