Prev: EDC6 Up: Map Next: EEA2
EDF7: Routine at EDF7
EDF7 XOR A
EDF8 LD ($FAEF),A
EDFB DEC A
EDFC LD ($F9F0),A
EDFF LD (IY+$00),$6E
EE03 LD A,(IY+$05)
EE06 CP $80
EE08 LD (IY+$05),$C0
EE0C JR NC,$EE12
EE0E LD (IY+$05),$30
EE12 LD (IY+$0A),$78
EE16 LD HL,$F879
EE19 LD DE,$80A9
EE1C LD BC,$003C
EE1F LDIR
EE21 CALL Clear_PlayArea
EE24 LD HL,$4800
EE27 LD D,$00
EE29 LD A,$53
EE2B LD R,A
EE2D LD A,R
EE2F LD E,A
EE30 LD (HL),$20
EE32 ADD HL,DE
EE33 LD A,H
EE34 CP $58
EE36 JR NZ,$EE2D
EE38 LD HL,$7F02
EE3B LD DE,$0F04
EE3E CALL Controller_Tile
EE41 CALL $B9AC
EE44 CALL Redraw_Banner_Underline
EE47 CALL $EEA2
EE4A CALL $F93A
EE4D CALL $F9F5
EE50 CALL $F9F5
EE53 CALL $F9F5
EE56 CALL $F8B9
EE59 CALL ShadowBufferToScreen
EE5C LD A,(IY+$05)
EE5F LD B,A
EE60 SUB $24
EE62 CP $F8
EE64 JR NC,$EE6D
EE66 LD A,B
EE67 SUB $D4
EE69 CP $F8
EE6B JR C,$EE44
EE6D LD A,(IY+$0A)
EE70 SUB $7C
EE72 CP $F8
EE74 JR C,$EE44
EE76 LD A,B
EE77 CP $80
EE79 JR NC,$EE85
EE7B LD (IY+$05),$04
EE7F LD (IY+$0F),$13
EE83 JR $EE8D
EE85 LD (IY+$05),$DC
EE89 LD (IY+$0F),$01
This entry point is used by the routines at EFC7 and F177.
EE8D CALL DrawRoom
EE90 LD (IY+$0A),$98
EE94 LD (IY+$46),$00
EE98 LD (IY+$00),$00
EE9C LD SP,$FC00
EE9F JP Game_Running_Loop
Prev: EDC6 Up: Map Next: EEA2