mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 22:54:59 +00:00
Deleted rubyscreen.dll, eradicated semicolons from when... statements, compiling is now before setting up the system, appeased vocal dissenters
This commit is contained in:
@@ -170,9 +170,9 @@ class PokeBattle_Battler
|
||||
if hasActiveAbility?(:FORECAST)
|
||||
newForm = 0
|
||||
case @battle.pbWeather
|
||||
when PBWeather::Sun, PBWeather::HarshSun; newForm = 1
|
||||
when PBWeather::Rain, PBWeather::HeavyRain; newForm = 2
|
||||
when PBWeather::Hail; newForm = 3
|
||||
when PBWeather::Sun, PBWeather::HarshSun then newForm = 1
|
||||
when PBWeather::Rain, PBWeather::HeavyRain then newForm = 2
|
||||
when PBWeather::Hail then newForm = 3
|
||||
end
|
||||
if @form!=newForm
|
||||
@battle.pbShowAbilitySplash(self,true)
|
||||
@@ -187,9 +187,7 @@ class PokeBattle_Battler
|
||||
if isSpecies?(:CHERRIM)
|
||||
if hasActiveAbility?(:FLOWERGIFT)
|
||||
newForm = 0
|
||||
case @battle.pbWeather
|
||||
when PBWeather::Sun, PBWeather::HarshSun; newForm = 1
|
||||
end
|
||||
newForm = 1 if [PBWeather::Sun, PBWeather::HarshSun].include?(@battle.pbWeather)
|
||||
if @form!=newForm
|
||||
@battle.pbShowAbilitySplash(self,true)
|
||||
@battle.pbHideAbilitySplash(self)
|
||||
|
||||
Reference in New Issue
Block a user