![]() |
Routines |
| Prev: 34356 | Up: Map | Next: 34383 |
|
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 | 34368 | XOR A | Write 0 to SpriteRowsLeft, SpriteHeight and the row counter. | |||||
| 34369 | LD (24153),A | |||||||
| 34372 | LD (24152),A | |||||||
| 34375 | LD C,A | |||||||
| 34376 | EXX | Switch to the shadow registers. | ||||||
| 34377 | CALL LoadSpriteScratch | Call LoadSpriteScratch. | ||||||
| 34380 | JP XORSpriteLoop | Jump to XORSpriteLoop. | ||||||
| Prev: 34356 | Up: Map | Next: 34383 |