Prev: 6DB4 Up: Map Next: 6E0E
6DD0: Routine at 6DD0
Used by the routines at ENTRY, 6A24, 6EF0, 6FFD and 7078.
6DD0 LD HL,$5C78
6DD3 LD A,(HL)
6DD4 CP (HL)
6DD5 JR Z,$6DD4
6DD7 LD HL,$0000
6DDA PUSH HL
6DDB POP DE
6DDC LD BC,$0001
6DDF LDIR
6DE1 LD A,($5B22)
6DE4 OR A
6DE5 JR NZ,$6DF6
6DE7 LD HL,($5B20)
6DEA CALL $709D
6DED INC DE
6DEE LD A,(DE)
6DEF CP $28
6DF1 JR NZ,$6DF6
6DF3 LD A,$2D
6DF5 LD (DE),A
6DF6 LD A,($5B01)
6DF9 OR A
6DFA JR Z,$6E0A
6DFC LD HL,($5B02)
6DFF CALL $60F6
6E02 LD A,(DE)
6E03 CP $2F
6E05 JR Z,$6E0A
6E07 LD A,$2D
6E09 LD (DE),A
6E0A LD A,($5B21)
6E0D RET
Prev: 6DB4 Up: Map Next: 6E0E