6C7A: Routine at 6C7A
6C7A |
LD A,(IX+$00) |
6C7D |
AND $3F |
6C7F |
CP $18 |
6C81 |
JR NC,$6CA7 |
6C83 |
CALL $68E7 |
6C86 |
LD B,$01 |
6C88 |
LD A,($5F2F) |
6C8B |
SUB B |
6C8C |
JR C,$6CA1 |
6C8E |
DAA |
6C8F |
LD ($5F2F),A |
6C92 |
AND A |
6C93 |
CALL Z,$6AFC |
6C96 |
LD HL,$50AC |
6C99 |
LD DE,$5F2F |
6C9C |
LD B,$01 |
6C9E |
JP PrintScore_Loop |
6CA1 |
XOR A |
6CA2 |
LD ($5F2F),A |
6CA5 |
JR $6C96 |
6CA7 |
CALL $68D4 |
6CAA |
LD B,$05 |
6CAC |
LD A,($5F2F) |
6CAF |
ADD A,B |
6CB0 |
DAA |
6CB1 |
JR NC,$6CA2 |
6CB3 |
LD A,$99 |
6CB5 |
JR $6CA2 |
6CB7 |
CALL $76D0 |
6CBA |
LD HL,$5F1B |
6CBD |
INC (HL) |
6CBE |
LD A,(IX+$01) |
6CC1 |
CP $C4 |
6CC3 |
JR NC,$6CD6 |
6CC5 |
CALL $6A46 |
6CC8 |
DEC E |
6CC9 |
JP Z,$6A73 |
6CCC |
CALL $7317 |
6CCF |
BIT 7,(IX+$00) |
6CD3 |
JP NZ,$730D |
6CD6 |
INC (IX+$07) |
6CD9 |
LD (IX+$03),$44 |
6CDD |
LD A,(IX+$07) |
6CE0 |
AND $1F |
6CE2 |
JR Z,$6D33 |
6CE4 |
LD A,(IX+$01) |
6CE7 |
ADD A,(IX+$04) |
6CEA |
LD (IX+$01),A |
6CED |
CP $C0 |
6CEF |
JR NC,$6D1B |
6CF1 |
CP $04 |
6CF3 |
JR C,$6D21 |
6CF5 |
LD A,(IX+$07) |
6CF8 |
AND $03 |
6CFA |
BIT 2,(IX+$07) |
6CFE |
JR NZ,$6D04 |
6D00 |
NEG |
6D02 |
XOR $03 |
6D04 |
ADD A,(IX+$05) |
6D07 |
ADD A,(IX+$02) |
6D0A |
CP $20 |
6D0C |
JR C,$6D27 |
6D0E |
CP $A0 |
6D10 |
JR NC,$6D2D |
6D12 |
LD (IX+$02),A |
6D15 |
CALL $75CC |
6D18 |
JP $74EE |
6D1B |
LD (IX+$04),$FE |
6D1F |
JR $6CF5 |
6D21 |
LD (IX+$04),$02 |
6D25 |
JR $6CF5 |
6D27 |
LD (IX+$05),$02 |
6D2B |
JR $6D15 |
6D2D |
LD (IX+$05),$FE |
6D31 |
JR $6D15 |
6D33 |
CALL $6EAC |
6D36 |
JR $6D04 |