Rewrote fading of overworld weather, added fog weather

This commit is contained in:
Maruno17
2021-03-27 17:36:02 +00:00
parent ade9d5aea7
commit 8975d7a20c
9 changed files with 458 additions and 215 deletions

View File

@@ -8,8 +8,9 @@ begin
Sandstorm = 5
HeavyRain = 6
Sun = Sunny = 7
Fog = 8
def PBFieldWeather.maxValue; return 7; end
def PBFieldWeather.maxValue; return 8; end
end
rescue Exception

View File

@@ -142,7 +142,7 @@ GameData::Evolution.register({
:level_up_proc => proc { |pkmn, parameter|
if pkmn.level >= parameter && $game_screen
next [PBFieldWeather::Rain, PBFieldWeather::HeavyRain,
PBFieldWeather::Storm].include?($game_screen.weather_type)
PBFieldWeather::Storm, PBFieldWeather::Fog].include?($game_screen.weather_type)
end
}
})