summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-02-26 11:51:16 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2018-02-26 11:51:16 -0500
commit5959548c01ec36384be17224f9465287d050aff0 (patch)
tree0350e06d07d82e7b70e81fd337e5073489ccd433 /engine
parent725148443f0ed0f70af747259ef49643359e92a2 (diff)
Document HOF Master bug (close #494)
Diffstat (limited to 'engine')
-rwxr-xr-xengine/events/halloffame.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/events/halloffame.asm b/engine/events/halloffame.asm
index 8b6f2a62e..5edb1502d 100755
--- a/engine/events/halloffame.asm
+++ b/engine/events/halloffame.asm
@@ -18,7 +18,7 @@ HallOfFame:: ; 0x8640e
ld hl, wHallOfFameCount
ld a, [hl]
- cp 200
+ cp HOF_MASTER_COUNT - 1 ; should be HOF_MASTER_COUNT
jr nc, .ok
inc [hl]
.ok
@@ -355,7 +355,7 @@ _HallOfFamePC: ; 86650
.DisplayMonAndStrings:
; Print the number of times the player has entered the Hall of Fame.
-; If that number is above 200, print "HOF Master!" instead.
+; If that number is at least HOF_MASTER_COUNT, print "HOF Master!" instead.
ld a, [wHallOfFameMonCounter]
cp PARTY_LENGTH
jr nc, .fail
@@ -376,7 +376,7 @@ _HallOfFamePC: ; 86650
pop hl
call DisplayHOFMon
ld a, [wHallOfFameTempWinCount]
- cp 200 + 1
+ cp HOF_MASTER_COUNT
jr c, .print_num_hof
ld de, .HOFMaster
hlcoord 1, 2