ref: 0e33fd74f1d36c8c4c6cadf8f4ef536bd1391ee4
parent: 80888726b9e5d8d62a8b1e76615bb11a1c9ca191
author: i0brendan0 <[email protected]>
date: Thu Aug 24 13:29:56 EDT 2017
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.
--- a/engine/evolve.asm
+++ b/engine/evolve.asm
@@ -119,7 +119,7 @@
.happiness
ld a, [TempMonHappiness]
- cp 220
+ cp HAPPINESS_TO_EVOLVE
jp c, .dont_evolve_2
call IsMonHoldingEverstone