![]() |
Routines |
| Prev: 8634 | Up: Map | Next: 864F |
|
Clear the scratch counts, load the actor's cached sprite with LoadSpriteScratch and start the draw through XORSpriteLoop.
|
||||||||
The cached image of the sprite is XORed off the screen, so the pixels of the sprite disappear.
|
||||||||
| DrawCachedSprite | 8640 | XOR A | Write 00 to SpriteRowsLeft, SpriteHeight and the row counter. | |||||
| 8641 | LD ($5E59),A | |||||||
| 8644 | LD ($5E58),A | |||||||
| 8647 | LD C,A | |||||||
| 8648 | EXX | Switch to the shadow registers. | ||||||
| 8649 | CALL LoadSpriteScratch | Call LoadSpriteScratch. | ||||||
| 864C | JP XORSpriteLoop | Jump to XORSpriteLoop. | ||||||
| Prev: 8634 | Up: Map | Next: 864F |