summaryrefslogtreecommitdiff
path: root/engine
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 /engine
parentbde9ffff6e8d174d6c76cea3f0c42f903b38abd1 (diff)
HOF_MASTER_COUNT EQU 200
Diffstat (limited to 'engine')
-rwxr-xr-xengine/events/halloffame.asm4
1 files changed, 2 insertions, 2 deletions
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