B16B: Routine at B16B
B16B |
POP HL |
B16C |
XOR A |
B16D |
LD ($B412),A |
B170 |
CALL $AC52 |
B173 |
CALL PrintString_Loop |
B176 |
DEFB $16,$16,$02 |
B179 |
DEFM " WINS[" |
B18F |
DEFB $16,$17,$02 |
B192 |
DEFM " HARD LUCK[[ " |
B1A2 |
DEFB $FF |
B1A3 |
CALL LongPause |
B1A6 |
LD HL,$9AA7 |
B1A9 |
INC (HL) |
B1AA |
LD A,(HL) |
B1AB |
CP $02 |
B1AD |
JP NZ,$AADC |
B1B0 |
XOR A |
B1B1 |
LD (HL),A |
B1B2 |
LD A,($9AB4) |
B1B5 |
CP $01 |
B1B7 |
JR Z,$B1C1 |
B1B9 |
CP $02 |
B1BB |
JR Z,$B1D2 |
B1BD |
CP $04 |
B1BF |
JR Z,$B1E3 |
B1C1 |
LD A,($9AA9) |
B1C4 |
CP $0D |
B1C6 |
JR NC,$B1CD |
B1C8 |
LD HL,$B28A |
B1CB |
JR $B1F2 |
B1CD |
LD HL,$B278 |
B1D0 |
JR $B1F2 |
B1D2 |
LD A,($9AA9) |
B1D5 |
CP $0D |
B1D7 |
JR NC,$B1DE |
B1D9 |
LD HL,$B266 |
B1DC |
JR $B1F2 |
B1DE |
LD HL,$B254 |
B1E1 |
JR $B1F2 |
B1E3 |
LD A,($9AA9) |
B1E6 |
CP $0D |
B1E8 |
JR NC,$B1EF |
B1EA |
LD HL,$B242 |
B1ED |
JR $B1F2 |
B1EF |
LD HL,$B230 |
B1F2 |
LD DE,$B217 |
B1F5 |
LD BC,$0012 |
B1F8 |
LDIR |
B1FA |
CALL PrintString_Loop |
B1FD |
DEFB $16,$0A,$0A |
B200 |
DEFB $10,$07 |
B202 |
DEFB $11,$00 |
B204 |
DEFB $12,$01 |
B206 |
DEFB $00 |
B207 |
DEFM "YOU ARE RATED" |
B214 |
DEFB $16,$0C,$0A |
B217 |
DEFM " " |
B229 |
DEFB $FF |
B22A |
CALL LongPause |
B22D |
JP MainMenu |