Prev: B165 Up: Map Next: B18C
B185: Flip between an object's two frames
Used by the routines at SLOW_CHASER and CLOCKWORK_MOUSE.
Toggles bit 0 of the graphic, for things whose two frames are a pair of graphics differing only in bit 0. Knight Lore's toggle_next_prev_sprite.
Input
IX the object
TOGGLE_FRAME B185 LD A,(IX+$00) graphic XOR 1, stored by NEXT_FRAME_MOD4's last instruction
B188 XOR $01
B18A JR NEXT_FRAME_MOD4_0
Prev: B165 Up: Map Next: B18C