Fixed error when gaining happiness while at/above the happiness soft cap

This commit is contained in:
Maruno17
2023-01-01 18:34:54 +00:00
parent 522f78b75d
commit 9dd774a767
2 changed files with 2 additions and 2 deletions

View File

@@ -191,5 +191,5 @@ Battle::PokeBallEffects::OnCatch.add(:HEALBALL, proc { |ball, battle, pkmn|
})
Battle::PokeBallEffects::OnCatch.add(:FRIENDBALL, proc { |ball, battle, pkmn|
pkmn.happiness = 200
pkmn.happiness = (Settings::APPLY_HAPPINESS_SOFT_CAP) ? 150 : 200
})