Prev: B965 Up: Map Next: B98C
B985: Toggle Graphic
Changes the graphic of an object between the two graphics of a pair, by flipping the lowest bit of the graphic number.
Input
IX Address of the object
ToggleGraphic B985 LD A,(IX+$00) Fetch the graphic number.
B988 XOR %00000001 Flip the lowest bit.
B98A JR SetGraphic Jump to SetGraphic.
Prev: B965 Up: Map Next: B98C