diff --git a/Data/Scripts/012_Overworld/002_Battle triggering/005_Overworld_RoamingPokemon.rb b/Data/Scripts/012_Overworld/002_Battle triggering/005_Overworld_RoamingPokemon.rb index 8af0f6fc8..17d8ceacc 100644 --- a/Data/Scripts/012_Overworld/002_Battle triggering/005_Overworld_RoamingPokemon.rb +++ b/Data/Scripts/012_Overworld/002_Battle triggering/005_Overworld_RoamingPokemon.rb @@ -74,7 +74,9 @@ def applyRoamWeather() return if $game_screen.weather_type != :None currently_roaming = $PokemonGlobal.roamPosition.keys currently_roaming.each do |roamer_id| - roamerOnCurrentMap = $PokemonGlobal.roamPosition[roamer_id] == $game_map.map_id + roamer_switch = Settings::ROAMING_SPECIES[roamer_id][2] + roamer_active = $game_switches[roamer_switch] + roamerOnCurrentMap = $PokemonGlobal.roamPosition[roamer_id] == $game_map.map_id && roamer_active if roamerOnCurrentMap return if $PokemonGlobal.roamPokemonCaught[roamer_id] weather = Settings::ROAMING_SPECIES[roamer_id][6]