F56E: Handler: New High Score
NewHighScore |
F56E |
LD DE,$5E5F |
|
F571 |
LD HL,$5E62 |
|
F574 |
LD A,(DE) |
|
F575 |
CP (HL) |
|
F576 |
JP C,NewHighScore_4 |
|
F579 |
JR Z,NewHighScore_0 |
|
F57B |
JR NewHighScore_2 |
NewHighScore_0 |
F57D |
INC DE |
|
F57E |
LD A,(DE) |
|
F57F |
INC HL |
|
F580 |
CP (HL) |
|
F581 |
JP C,NewHighScore_4 |
|
F584 |
JR Z,NewHighScore_1 |
|
F586 |
JR NewHighScore_2 |
NewHighScore_1 |
F588 |
INC DE |
|
F589 |
INC HL |
|
F58A |
LD A,(DE) |
|
F58B |
CP (HL) |
|
F58C |
JP C,NewHighScore_4 |
NewHighScore_2 |
F58F |
LD A,$02 |
|
F591 |
LD ($5E72),A |
|
F594 |
LD A,$01 |
|
F596 |
LD ($5E71),A |
|
F599 |
LD A,($5E00) |
|
F59C |
BIT 0,A |
|
F59E |
JP NZ,NewHighScore_3 |
|
F5A1 |
XOR A |
|
F5A2 |
LD ($5E72),A |
NewHighScore_3 |
F5A5 |
LD DE,$5E5F |
|
F5A8 |
XOR A |
|
F5A9 |
LD ($5E74),A |
|
F5AC |
CALL $F3BF |
|
F5AF |
LD A,B |
|
F5B0 |
AND A |
|
F5B1 |
JP Z,$F33E |
|
F5B4 |
LD A,$01 |
|
F5B6 |
LD ($5E73),A |
|
F5B9 |
CALL $F535 |
|
F5BC |
JP $F295 |
NewHighScore_4 |
F5BF |
LD C,$4A |
|
F5C1 |
LD DE,$5E62 |
|
F5C4 |
XOR A |
|
F5C5 |
LD ($5E74),A |
|
F5C8 |
CALL $F3BF |
|
F5CB |
LD A,B |
|
F5CC |
AND A |
|
F5CD |
JP Z,$F33E |
|
F5D0 |
LD A,$02 |
|
F5D2 |
LD ($5E71),A |
|
F5D5 |
LD A,$01 |
|
F5D7 |
LD ($5E72),A |
|
F5DA |
LD ($5E73),A |
|
F5DD |
CALL $F535 |
|
F5E0 |
JP $F295 |