Prev: 34368 Up: Map Next: 34398
34383: Clear Sprite Scratch
Zero SpriteRowsLeft and SpriteHeight, then XOR the actor's cached sprite onto the screen again (erasing it) through WriteSpriteRow.
Input
IX Actor slot
The cached image of the sprite is XORed off the screen, so the pixels of the sprite disappear.
ClearSpriteScratch 34383 XOR A Write 0 to
34384 LD (24153),A
34387 LD (24152),A
34390 LD C,A Clear the row counter and switch register sets.
34391 EXX
34392 CALL LoadSpritePointers Call LoadSpritePointers.
34395 JP WriteSpriteRow Jump to WriteSpriteRow.
Prev: 34368 Up: Map Next: 34398