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

@@ -94,6 +94,8 @@ class PokemonMapFactory
return nil
end
# Detects whether the player has moved onto a connected map, and if so, causes
# their transfer to that map.
def setCurrentMap
return if $game_player.moving?
return if $game_map.valid?($game_player.x,$game_player.y)
@@ -110,6 +112,7 @@ class PokemonMapFactory
pbAutoplayOnTransition
$game_map.refresh
setMapChanged(oldmap)
$game_screen.weather_duration = 20
end
def setMapsInRange