From 0e33fd74f1d36c8c4c6cadf8f4ef536bd1391ee4 Mon Sep 17 00:00:00 2001 From: i0brendan0 <19826742+i0brendan0@users.noreply.github.com> Date: Thu, 24 Aug 2017 17:29:56 -0500 Subject: [PATCH] Fix unused Constant for Happiness The HAPPINESS_TO_EVOLVE constant is what's supposed to be used to give the number for when a Pokemon should evolve by happiness. The constant was not put in place so it is never used, instead the original 220 was put. --- engine/evolve.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/evolve.asm b/engine/evolve.asm index 2f7739191..3dc5d20b7 100755 --- a/engine/evolve.asm +++ b/engine/evolve.asm @@ -119,7 +119,7 @@ EvolveAfterBattle_MasterLoop .happiness ld a, [TempMonHappiness] - cp 220 + cp HAPPINESS_TO_EVOLVE jp c, .dont_evolve_2 call IsMonHoldingEverstone