mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 05:34:58 +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!")
|
||||
end
|
||||
end
|
||||
# Check for form changes caused by the weather changing
|
||||
if @field.weather!=oldWeather
|
||||
# Check for form changes caused by the weather changing
|
||||
eachBattler { |b| b.pbCheckFormOnWeatherChange }
|
||||
# Start up the default weather
|
||||
pbStartWeather(nil,@field.defaultWeather) if @field.defaultWeather!=PBWeather::None
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user