Prev: 6D3C Up: Map Next: 6DBA
6D5B: Move the chasing knight
Used by the routines at 6127 and 6490.
6D5B LD HL,$60C2
6D5E DEC (HL)
6D5F LD A,(HL)
6D60 CP $00
6D62 RET NZ
6D63 LD (HL),$0F
6D65 LD A,($60BE)
6D68 CP $A0
6D6A JR NZ,$6D71
6D6C LD A,$94
6D6E LD ($60BE),A
6D71 LD A,($60BD)
6D74 SUB $08
6D76 CP $50
6D78 JR Z,$6DBA
6D7A LD A,($60BD)
6D7D SUB $08
6D7F LD ($60BD),A
6D82 LD A,($60BD)
6D85 LD D,A
6D86 LD HL,$60BE
6D89 LD B,$03
6D8B PUSH BC
6D8C LD B,$02
6D8E LD E,$01
6D90 PUSH BC
6D91 LD A,$3A
6D93 LD C,(HL)
6D94 PUSH DE
6D95 PUSH HL
6D96 CALL $9A90
6D99 POP HL
6D9A POP DE
6D9B INC (HL)
6D9C INC E
6D9D POP BC
6D9E DJNZ $6D90
6DA0 LD A,D
6DA1 ADD A,$08
6DA3 LD D,A
6DA4 POP BC
6DA5 DJNZ $6D8B
6DA7 LD E,$01
6DA9 LD B,$02
6DAB PUSH BC
6DAC LD A,$3A
6DAE LD C,$01
6DB0 PUSH DE
6DB1 CALL $9A90
6DB4 POP DE
6DB5 INC E
6DB6 POP BC
6DB7 DJNZ $6DAB
6DB9 RET
Prev: 6D3C Up: Map Next: 6DBA