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
|
||||
|
||||
; hall of fame
|
||||
HOF_MASTER_COUNT EQU 201
|
||||
HOF_MASTER_COUNT EQU 200
|
||||
|
||||
; bug-catching contest
|
||||
BUG_CONTEST_MINUTES EQU 20
|
||||
|
|
|
@ -18,7 +18,7 @@ HallOfFame:: ; 0x8640e
|
|||
|
||||
ld hl, wHallOfFameCount
|
||||
ld a, [hl]
|
||||
cp HOF_MASTER_COUNT - 1 ; should be HOF_MASTER_COUNT
|
||||
cp HOF_MASTER_COUNT
|
||||
jr nc, .ok
|
||||
inc [hl]
|
||||
.ok
|
||||
|
@ -376,7 +376,7 @@ _HallOfFamePC: ; 86650
|
|||
pop hl
|
||||
call DisplayHOFMon
|
||||
ld a, [wHallOfFameTempWinCount]
|
||||
cp HOF_MASTER_COUNT
|
||||
cp HOF_MASTER_COUNT + 1 ; should be HOF_MASTER_COUNT
|
||||
jr c, .print_num_hof
|
||||
ld de, .HOFMaster
|
||||
hlcoord 1, 2
|
||||
|
|
Loading…
Reference in New Issue