mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Rewrote fading of overworld weather, added fog weather
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user