Prev: 9F4A Up: Map Next: 9F74
9F56: Rub a record's sprite out
The counterpart to DRAW_THING, working from the position saved in the workspace rather than the record's current one -- which is how something is erased from where it was rather than where it has just moved to.
ERASE_THING 9F56 CALL SETUP_ERASE
This entry point is used by the routine at SETUP_ALT_ENTRIES.
ERASE_THING_ALT 9F59 EXX
9F5A XOR A
9F5B LD C,A
9F5C LD ($5E19),A
9F5F LD A,($5E18)
9F62 LD ($5E11),A
9F65 LD A,L
9F66 AND $07
9F68 LD A,$02
9F6A JR Z,ERASE_THING_0
9F6C INC A
ERASE_THING_0 9F6D LD ($5E10),A
9F70 EXX
9F71 JP ERASE_DRAW_ROWS
Prev: 9F4A Up: Map Next: 9F74