Prev: 9F9F Up: Map Next: 9FFB
9FCA: Display Entity
Used by the routine at HandlerKnight.
DisplayEntity 9FCA CALL PrepDraw2
9FCD EXX
9FCE CALL PrepDraw23
This entry point is used by the routine at RemoveEntity.
DisplayEntity_0 9FD1 LD A,($5E17)
9FD4 SUB (IX+$04)
9FD7 JP Z,$9EB5
9FDA JP M,DisplayEntity_1
9FDD LD C,A
9FDE LD A,($5E18)
9FE1 CP C
9FE2 JP C,$9EB5
9FE5 SUB C
9FE6 LD ($5E18),A
9FE9 JP $9E9B
DisplayEntity_1 9FEC EXX
9FED NEG
9FEF LD C,A
9FF0 LD A,($5E19)
9FF3 CP C
9FF4 JP C,$9EB4
9FF7 SUB C
9FF8 JP $9EC8
View the equivalent code in;
Prev: 9F9F Up: Map Next: 9FFB