![]() |
Routines |
| Prev: 45413 | Up: Map | Next: 45452 |
|
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 | 45445 | LD A,(IX+0) | Fetch the sprite number. | |||||
| 45448 | XOR %00000001 | Flip bit 0. | ||||||
| 45450 | JR NextSpriteNumber_StoreSpriteNumber | Jump to NextSpriteNumber_StoreSpriteNumber. | ||||||
| Prev: 45413 | Up: Map | Next: 45452 |