Prev: C8EF Up: Map Next: C8FD
C8F2: Rotational control: turn a quarter
Used by the routine at handle_left_right.
Left and right turn the player a quarter at a time: right goes W, N, E, S (clockwise), left the other way. Bits 0-2 of +$0D are a pause between turns; while it counts down nothing else happens here, so holding a key turns the player once every third frame rather than every frame.
Input
C the controls: bit 0 left, 1 right, 2 forward
left_right_rotational C8F2 LD A,(IX+$0D) pause still running?
C8F5 AND $07
C8F7 JR Z,rotational_turn
C8F9 DEC (IX+$0D) count it down and do nothing else
C8FC RET
Prev: C8EF Up: Map Next: C8FD