mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-11 15:15:00 +00:00
6.6.1 patch
This commit is contained in:
@@ -76,6 +76,7 @@ end
|
||||
def get_current_map_weather_icon
|
||||
return if !$game_weather
|
||||
current_weather= $game_weather.current_weather[$game_map.map_id]
|
||||
return if !current_weather
|
||||
weather_type = current_weather[0]
|
||||
weather_intensity = current_weather[1]
|
||||
icon = get_full_weather_icon_name(weather_type,weather_intensity)
|
||||
|
||||
@@ -125,10 +125,15 @@ Events.onStepTaken += proc { |sender, e|
|
||||
$game_temp.surf_patches.delete_at(index)
|
||||
echoln "surf patch encounter!"
|
||||
wild_pokemon = $PokemonEncounters.choose_wild_pokemon(:Water)
|
||||
species = wild_pokemon[0]
|
||||
level = wild_pokemon[1]
|
||||
pbWildBattle(species, level)
|
||||
break
|
||||
if wild_pokemon
|
||||
species = wild_pokemon[0]
|
||||
level = wild_pokemon[1]
|
||||
pbWildBattle(species, level)
|
||||
break
|
||||
else
|
||||
pbItemBall(:OLDBOOT)
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user