Files
infinitefusion-e18/Data/Scripts/053_PIF_Hoenn/HoennGameplayUtils.rb
2025-06-07 08:16:50 -04:00

28 lines
710 B
Ruby
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# available channels
# :NEWS
# :WEATHER
#
def showTVText(channel = :NEWS)
case channel
when :NEWS
pbMessage(getTVNewsCaption())
end
end
SWITCH_REPORTER_AT_PETALBURG = 2026
def getTVNewsCaption()
if $game_switches[SWITCH_REPORTER_AT_PETALBURG]
return _INTL("It's showing the local news. There's a berry-growing contest going on in Petalburg Town!")
else
return _INTL("Its a rerun of PokéChef Deluxe. Nothing important on the news right now.")
end
end
def hoennSelectStarter
starters = [obtainStarter(0), obtainStarter(1), obtainStarter(2)]
selected_starter = StartersSelectionScene.new(starters).startScene
pbAddPokemonSilent(selected_starter)
return selected_starter
end