summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authori0brendan0 <19826742+i0brendan0@users.noreply.github.com>2017-08-24 17:29:56 -0500
committerGitHub <noreply@github.com>2017-08-24 17:29:56 -0500
commit0e33fd74f1d36c8c4c6cadf8f4ef536bd1391ee4 (patch)
tree30d91a8e2ee450a1c3ac876fafff0e877125229a /engine
parent80888726b9e5d8d62a8b1e76615bb11a1c9ca191 (diff)
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.
Diffstat (limited to 'engine')
-rwxr-xr-xengine/evolve.asm2
1 files changed, 1 insertions, 1 deletions
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