Prev: F3CA Up: Map Next: F41A
F3EF: Routine at F3EF
Used by the routine at RunHandlers.
F3EF LD HL,$D22C HL=D22C.
F3F2 LD B,$03 B=03.
F3F4 PUSH BC Stash BC on the stack.
F3F5 LD A,(HL) Jump to F40B if *HL is equal to FF.
F3F6 CP $FF
F3F8 JR Z,$F40B
F3FA LD B,A B=A.
F3FB INC HL Increment HL by one.
F3FC LD C,(HL) C=*HL.
F3FD PUSH HL Stash HL on the stack.
F3FE CALL $F373 Call F373.
F401 POP HL Restore HL from the stack.
F402 INC HL Increment HL by five.
F403 INC HL
F404 INC HL
F405 INC HL
F406 INC HL
F407 POP BC Restore BC from the stack.
F408 DJNZ $F3F4 Decrease counter by one and loop back to F3F4 until counter is zero.
F40A RET Return.
F40B LD DE,($D226) DE=*D226.
F40F XOR A Write 00 to *DE.
F410 LD (DE),A
F411 INC DE Increment DE by one.
F412 LD ($D226),DE Write DE to *D226.
F416 INC HL Increment HL by one.
F417 JP $F402 Jump to F402.
Prev: F3CA Up: Map Next: F41A