summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-03-04 00:27:22 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2018-03-04 00:27:22 -0500
commit7e9dbde54962b104186717e7338f55f4e8d64678 (patch)
tree8824757051d1ab3b0be06224a5a5fe1259fd91a8
parentbde9ffff6e8d174d6c76cea3f0c42f903b38abd1 (diff)
HOF_MASTER_COUNT EQU 200
-rw-r--r--constants/misc_constants.asm2
-rwxr-xr-xengine/events/halloffame.asm4
2 files changed, 3 insertions, 3 deletions
diff --git a/constants/misc_constants.asm b/constants/misc_constants.asm
index fa338d81d..03911c50a 100644
--- a/constants/misc_constants.asm
+++ b/constants/misc_constants.asm
@@ -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
diff --git a/engine/events/halloffame.asm b/engine/events/halloffame.asm
index 5edb1502d..cf3831066 100755
--- a/engine/events/halloffame.asm
+++ b/engine/events/halloffame.asm
@@ -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