From 5959548c01ec36384be17224f9465287d050aff0 Mon Sep 17 00:00:00 2001 From: Rangi Date: Mon, 26 Feb 2018 11:51:16 -0500 Subject: Document HOF Master bug (close #494) --- engine/events/halloffame.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engine') 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 -- cgit v1.2.3