mirror of https://github.com/pret/pokecrystal.git
HOF_MASTER_COUNT EQU 200
This commit is contained in:
parent
bde9ffff6e
commit
7e9dbde549
|
@ -38,7 +38,7 @@ MAX_LINK_RECORD EQU 9999
|
||||||
MAX_DAY_CARE_EXP EQU $500000
|
MAX_DAY_CARE_EXP EQU $500000
|
||||||
|
|
||||||
; hall of fame
|
; hall of fame
|
||||||
HOF_MASTER_COUNT EQU 201
|
HOF_MASTER_COUNT EQU 200
|
||||||
|
|
||||||
; bug-catching contest
|
; bug-catching contest
|
||||||
BUG_CONTEST_MINUTES EQU 20
|
BUG_CONTEST_MINUTES EQU 20
|
||||||
|
|
|
@ -18,7 +18,7 @@ HallOfFame:: ; 0x8640e
|
||||||
|
|
||||||
ld hl, wHallOfFameCount
|
ld hl, wHallOfFameCount
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
cp HOF_MASTER_COUNT - 1 ; should be HOF_MASTER_COUNT
|
cp HOF_MASTER_COUNT
|
||||||
jr nc, .ok
|
jr nc, .ok
|
||||||
inc [hl]
|
inc [hl]
|
||||||
.ok
|
.ok
|
||||||
|
@ -376,7 +376,7 @@ _HallOfFamePC: ; 86650
|
||||||
pop hl
|
pop hl
|
||||||
call DisplayHOFMon
|
call DisplayHOFMon
|
||||||
ld a, [wHallOfFameTempWinCount]
|
ld a, [wHallOfFameTempWinCount]
|
||||||
cp HOF_MASTER_COUNT
|
cp HOF_MASTER_COUNT + 1 ; should be HOF_MASTER_COUNT
|
||||||
jr c, .print_num_hof
|
jr c, .print_num_hof
|
||||||
ld de, .HOFMaster
|
ld de, .HOFMaster
|
||||||
hlcoord 1, 2
|
hlcoord 1, 2
|
||||||
|
|
Loading…
Reference in New Issue