Moved status condition common animation names into the definitions of statuses

This commit is contained in:
Maruno17
2021-02-16 22:42:28 +00:00
parent 6a8e4fcfa5
commit a6b22d5741
5 changed files with 203 additions and 181 deletions

View File

@@ -347,7 +347,8 @@ class PokeBattle_Battle
end
if b.hasActiveAbility?(:POISONHEAL)
if b.canHeal?
pbCommonAnimation("Poison",b)
anim_name = GameData::Status.get(:POISON).animation
pbCommonAnimation(anim_name, b) if anim_name
pbShowAbilitySplash(b)
b.pbRecoverHP(b.totalhp/8)
if PokeBattle_SceneConstants::USE_ABILITY_SPLASH