Prev: F51A Up: Map Next: F5BE
F5A8: Routine at F5A8
Used by the routine at Invaders_Loop.
Input
Output
_f5a8 F5A8 LD A,($F4F5)
F5AB LD B,A
F5AC LD A,$18
F5AE SUB B
F5AF ADD A,A
F5B0 ADD A,A
F5B1 ADD A,A
F5B2 LD L,A
F5B3 LD H,$00
F5B5 ADD HL,HL
F5B6 ADD HL,HL
F5B7 INC HL
_f5a8_0 F5B8 DEC HL
F5B9 LD A,H
F5BA OR L
F5BB JR NZ,_f5a8_0
F5BD RET
Prev: F51A Up: Map Next: F5BE