Prev: 9F4A Up: Map Next: 9F80
9F56: Remove Entity
RemoveEntity 9F56 CALL PrepDraw23
This entry point is used by the routine at 9E9B.
RemoveEntity_0 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,RemoveEntity_1
9F6C INC A
RemoveEntity_1 9F6D LD ($5E10),A
9F70 EXX
9F71 JP $9E9B
9F74 PUSH DE
9F75 CALL PrepDraw23_0
9F78 EXX
9F79 POP DE
9F7A CALL PrepDraw2_0
9F7D EXX
9F7E JR DisplayEntity_0
View the equivalent code in;
Prev: 9F4A Up: Map Next: 9F80