Prev: B0AD Up: Map Next: B0E7
B0DD: Turn a creature a quarter the other way
Used by the routine at WANDERER.
Toggling bit 0 of the graphic before TURN_QUARTER's step makes the step go the other way round: (0,0) to (0,1), (0,1) to (1,0), (1,0) to (1,1), (1,1) to (0,0).
Input
IX the creature
TURN_QUARTER_BACK B0DD LD A,(IX+$00) graphic XOR 1, then on into the quarter turn
B0E0 XOR $01
B0E2 LD (IX+$00),A
B0E5 JR TURN_QUARTER
Prev: B0AD Up: Map Next: B0E7