Prev: F177 Up: Map Next: F5BE
F578: Routine at F578
Used by the routine at 813B.
F578 LD A,$45 Write 45 to F26F.
F57A LD ($F26F),A
F57D LD HL,$9878 Write 9878 to A838.
F580 LD ($A838),HL
F583 LD A,($F571) A=*F571.
F586 CALL $A83D Call A83D.
F589 CALL $EF91 Call EF91.
F58C LD HL,$8868 Write 8868 to A838.
F58F LD ($A838),HL
F592 CALL $A83D Call A83D.
F595 CALL $EF91 Call EF91.
F598 LD HL,$9818 Write 9818 to A838.
F59B LD ($A838),HL
F59E ADD A,$03 A+=03.
F5A0 CALL $A83D Call A83D.
F5A3 CALL $EF91 Call EF91.
F5A6 LD HL,$8828 Write 8828 to A838.
F5A9 LD ($A838),HL
F5AC CALL $A83D Call A83D.
F5AF CALL $EF91 Call EF91.
F5B2 SUB $02 A-=02.
F5B4 CP $53 If A is not 53 jump to F5BA.
F5B6 JR NZ,$F5BA
F5B8 LD A,$50 Write 50 to F571.
F5BA LD ($F571),A
F5BD RET Return.
Prev: F177 Up: Map Next: F5BE