![]() |
Routines |
| Prev: B165 | Up: Map | Next: B18C |
|
Used by the routines at HandleChasingDome and HandleClockworkMouse.
Flips the lowest bit of the sprite number of the object, to change the way it is facing or its animation frame.
|
||||||||
|
Flip bit 0 and store the sprite number.
|
||||||||
| ToggleSpriteNumber | B185 | LD A,(IX+$00) | Fetch the sprite number. | |||||
| B188 | XOR %00000001 | Flip bit 0. | ||||||
| B18A | JR NextSpriteNumber_StoreSpriteNumber | Jump to NextSpriteNumber_StoreSpriteNumber. | ||||||
| Prev: B165 | Up: Map | Next: B18C |