Fixed some bad uses of @battle

This commit is contained in:
Maruno17
2021-12-29 11:43:24 +00:00
parent 01ce5d347c
commit 63b157d7ec
3 changed files with 3 additions and 4 deletions

View File

@@ -754,7 +754,7 @@ class Battle
def pbStartWeatherAbility(new_weather, battler, ignore_primal = false)
return if !ignore_primal && [:HarshSun, :HeavyRain, :StrongWinds].include?(@field.weather)
return if @field.weather == new_weather
battle.pbShowAbilitySplash(battler)
pbShowAbilitySplash(battler)
if !Scene::USE_ABILITY_SPLASH
pbDisplay(_INTL("{1}'s {2} activated!", battler.pbThis, battler.abilityName))
end