Prev: C8F2 Up: Map Next: C915
C8FD: Rotational control: start a turn
Used by the routine at left_right_rotational.
A turn needs left or right held, the room-entry walk over, and no jump in progress. It makes a sound of its own only when the player is not also walking -- the footstep covers it otherwise.
rotational_turn C8FD LD A,C neither left nor right
C8FE AND $03
C900 RET Z
C901 LD A,(IX+$0C) not during the room-entry walk
C904 AND $F0
C906 RET NZ
C907 BIT 3,(IX+$0C) not in the middle of a jump
C90B RET NZ
C90C BIT 2,C turning on the spot: the turning sound
C90E JR NZ,start_turn_delay
C910 PUSH BC
C911 CALL sound_footstep
C914 POP BC
Prev: C8F2 Up: Map Next: C915