shithub: pokecrystal

Download patch

ref: 7e9dbde54962b104186717e7338f55f4e8d64678
parent: bde9ffff6e8d174d6c76cea3f0c42f903b38abd1
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Sat Mar 3 19:27:22 EST 2018

HOF_MASTER_COUNT EQU 200

--- a/constants/misc_constants.asm
+++ b/constants/misc_constants.asm
@@ -38,7 +38,7 @@
 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
--- a/engine/events/halloffame.asm
+++ b/engine/events/halloffame.asm
@@ -18,7 +18,7 @@
 
 	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 @@
 	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