6.6.1 patch

This commit is contained in:
chardub
2025-06-10 12:45:27 -04:00
parent 4ba51c7473
commit 3e6e955070
20 changed files with 58 additions and 42 deletions

View File

@@ -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)

View File

@@ -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