Prev: 6AF5 Up: Map Next: 6B2B
6B12: Routine at 6B12
Used by the routine at HandlerObjects.
Input
HL Entity
6B12 LD A,(HL) If the byte held at HL is zero, jump to HandlerObjects_0.
6B13 AND A
6B14 JR Z,HandlerObjects_0
6B16 PUSH BC Push BC and HL on the stack.
6B17 PUSH HL
6B18 PUSH HL IX=HL (using the stack to do so).
6B19 POP IX
6B1B CALL StoreEntity Call StoreEntity.
6B1E CALL ActorEraseDestroyed Call ActorEraseDestroyed.
6B21 POP HL Restore HL from the stack.
6B22 XOR A Write 00 to HL.
6B23 LD (HL),A
6B24 INC HL Increment HL by one.
6B25 LD (HL),A Write 00 to HL.
6B26 INC HL Increment HL by one.
6B27 LD (HL),A Write 00 to HL.
6B28 POP BC Restore BC from the stack.
6B29 JR NextObject_2 Jump to NextObject_2.
Prev: 6AF5 Up: Map Next: 6B2B