Prev: 6D1B Up: Map Next: 6D5B
6D3C: Adjust the score for decimal arithmetic (?)
Used by the routines at 6A51 and 6B08.
6D3C LD HL,$60A3
6D3F LD C,B
6D40 LD A,(HL)
6D41 CP $41
6D43 JR NZ,$6D56
6D45 LD B,$05
6D47 LD (HL),$38
6D49 INC HL
6D4A LD A,(HL)
6D4B CP $41
6D4D JR NZ,$6D56
6D4F DJNZ $6D47
6D51 LD (HL),$38
6D53 LD HL,$60A3
6D56 INC (HL)
6D57 LD B,C
6D58 DJNZ $6D3C
6D5A RET
Prev: 6D1B Up: Map Next: 6D5B