mirror of https://github.com/pret/pokecrystal.git
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.
This commit is contained in:
parent
80888726b9
commit
0e33fd74f1
|
@ -119,7 +119,7 @@ EvolveAfterBattle_MasterLoop
|
||||||
|
|
||||||
.happiness
|
.happiness
|
||||||
ld a, [TempMonHappiness]
|
ld a, [TempMonHappiness]
|
||||||
cp 220
|
cp HAPPINESS_TO_EVOLVE
|
||||||
jp c, .dont_evolve_2
|
jp c, .dont_evolve_2
|
||||||
|
|
||||||
call IsMonHoldingEverstone
|
call IsMonHoldingEverstone
|
||||||
|
|
Loading…
Reference in New Issue