Prev: B61C Up: Map Next: B66A
B643: Routine at B643
Used by the routine at BDCF.
B643 PUSH HL
B644 CALL $C051
B647 LD A,(DE)
B648 LD ($B655),A
B64B ADD A,$1F
B64D LD ($B65F),A
B650 INC DE
B651 LD A,(DE)
B652 LD C,A
B653 INC DE
B654 LD B,$00
B656 LD A,(DE)
B657 LD (HL),A
B658 INC L
B659 INC DE
B65A DJNZ $B656
B65C DEC L
B65D LD A,L
B65E SUB $00
B660 LD L,A
B661 JP NC,$B665
B664 DEC H
B665 DEC C
B666 JR NZ,$B654
B668 POP HL
B669 RET
Prev: B61C Up: Map Next: B66A