mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
Fixed some bad uses of @battle
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user