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) HL=*CHARS.
54082 PUSH HL Stash the current character set pointer on the stack.
54083 LD HL,40812 Write 40812 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.
54095 LD (23606),HL Write it to *CHARS.
54098 RET Return.
Prev: 54078 Up: Map Next: 54099