Prev: 54078 Up: Map Next: 54099
54079: Goldfish Game: Erase Sprite
Used by the routine at Handler_SeaCreatureAnimation.
Input
BC Print co-ordinates
D Sprite height
E Sprite width
GoldfishGame_EraseSprite 54079 LD HL,(23606) Stash the current character set pointer at *CHARS on the stack.
54082 PUSH HL
54083 LD HL,40812 Write 40812 (Graphics_MaskSprite) to *CHARS.
54086 LD (23606),HL
54089 LD A,32 A=32.
54091 CALL GoldfishGame_PrintSprite Call GoldfishGame_PrintSprite.
54094 POP HL Restore the previous character set pointer from the stack, and write it to *CHARS.
54095 LD (23606),HL
54098 RET Return.
Prev: 54078 Up: Map Next: 54099