mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 13:44:59 +00:00
Fixed default weather not returning after a primal weather ends
This commit is contained in:
@@ -692,9 +692,11 @@ class PokeBattle_Battle
|
|||||||
pbDisplay("The mysterious air current has dissipated!")
|
pbDisplay("The mysterious air current has dissipated!")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
# Check for form changes caused by the weather changing
|
|
||||||
if @field.weather!=oldWeather
|
if @field.weather!=oldWeather
|
||||||
|
# Check for form changes caused by the weather changing
|
||||||
eachBattler { |b| b.pbCheckFormOnWeatherChange }
|
eachBattler { |b| b.pbCheckFormOnWeatherChange }
|
||||||
|
# Start up the default weather
|
||||||
|
pbStartWeather(nil,@field.defaultWeather) if @field.defaultWeather!=PBWeather::None
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user