Prev: 6D96 Up: Map Next: 6E18
6DA8: Routine at 6DA8
Used by the routine at 692C.
6DA8 LD A,(BC)
6DA9 INC BC
6DAA ADD A,E
6DAB LD E,A
6DAC LD A,(BC)
6DAD INC BC
6DAE ADD A,D
6DAF DEC A
6DB0 LD D,A
6DB1 CP $10
6DB3 JR NC,$6DBA
6DB5 LD A,E
6DB6 CP $20
6DB8 JR C,$6DCF
6DBA LD HL,$0008
6DBD ADD HL,BC
6DBE LD B,H
6DBF LD C,L
6DC0 INC D
6DC1 LD A,(BC)
6DC2 INC A
6DC3 LD A,D
6DC4 JR NZ,$6DB1
6DC6 INC BC
6DC7 LD A,(BC)
6DC8 CP $80
6DCA JR NZ,$6DA9
6DCC JP $68EC
6DCF LD A,D
6DD0 ADD A,$40
6DD2 AND $48
6DD4 LD H,A
6DD5 LD A,D
6DD6 RRCA
6DD7 RRCA
6DD8 RRCA
6DD9 AND $E0
6DDB ADD A,E
6DDC LD L,A
6DDD CALL $6D96
6DE0 INC H
6DE1 CALL DrawSprite
6DE4 CALL ScreenBufferToAttributeBuffer
6DE7 INC D
6DE8 LD A,D
6DE9 CP $10
6DEB JR C,$6DF3
6DED INC BC
6DEE INC BC
6DEF INC BC
6DF0 INC BC
6DF1 JR $6DC1
6DF3 ADD A,$40
6DF5 AND $48
6DF7 LD H,A
6DF8 LD A,D
6DF9 RRCA
6DFA RRCA
6DFB RRCA
6DFC AND $E0
6DFE ADD A,E
6DFF LD L,A
6E00 CALL DrawSprite
6E03 INC H
6E04 LD A,(BC)
6E05 INC A
6E06 JR NZ,$6DE1
6E08 CALL $6D96
6E0B CALL ScreenBufferToAttributeBuffer
6E0E JR $6DC6
6E10 NOP
6E11 NOP
6E12 LD BC,$0607
6E15 LD BC,$0000
Prev: 6D96 Up: Map Next: 6E18