tumbledemerald-legacy/data/maps/SootopolisCity_PokemonCenter_1F/scripts.inc

73 lines
2.5 KiB
PHP

.set LOCALID_NURSE, 1
SootopolisCity_PokemonCenter_1F_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, SootopolisCity_PokemonCenter_1F_OnTransition
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
.byte 0
SootopolisCity_PokemonCenter_1F_OnTransition:
setrespawn HEAL_LOCATION_SOOTOPOLIS_CITY
end
SootopolisCity_PokemonCenter_1F_EventScript_Nurse::
setvar VAR_0x800B, LOCALID_NURSE
call Common_EventScript_PkmnCenterNurse
waitmessage
waitbuttonpress
release
end
SootopolisCity_PokemonCenter_1F_EventScript_Gentleman::
lock
faceplayer
goto_if_ge VAR_SKY_PILLAR_STATE, 2, SootopolisCity_PokemonCenter_1F_EventScript_GentlemanNoLegendaries
goto_if_unset FLAG_KYOGRE_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_PokemonCenter_1F_EventScript_GentlemanNoLegendaries
msgbox SootopolisCity_PokemonCenter_1F_Text_EveryoneTakenRefuge, MSGBOX_DEFAULT
release
end
SootopolisCity_PokemonCenter_1F_EventScript_GentlemanNoLegendaries::
msgbox SootopolisCity_PokemonCenter_1F_Text_WallaceToughestInHoenn, MSGBOX_DEFAULT
release
end
SootopolisCity_PokemonCenter_1F_EventScript_Woman::
lock
faceplayer
goto_if_ge VAR_SKY_PILLAR_STATE, 2, SootopolisCity_PokemonCenter_1F_EventScript_WomanNoLegendaries
goto_if_unset FLAG_KYOGRE_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_PokemonCenter_1F_EventScript_WomanNoLegendaries
msgbox SootopolisCity_PokemonCenter_1F_Text_ArentPokemonOurFriends, MSGBOX_DEFAULT
release
end
SootopolisCity_PokemonCenter_1F_EventScript_WomanNoLegendaries::
msgbox SootopolisCity_PokemonCenter_1F_Text_AlwaysBeFriendsWithPokemon, MSGBOX_DEFAULT
release
end
SootopolisCity_PokemonCenter_1F_Text_WallaceToughestInHoenn:
.string "Wallace is rumored to be the toughest\n"
.string "Trainer in the whole Hoenn region.\p"
.string "This town's Gym is led by the Trainer\n"
.string "who taught Wallace.\p"
.string "But the Elite Four… They're said to be\n"
.string "even stronger than Wallace's mentor.\p"
.string "How strong could they be?$"
SootopolisCity_PokemonCenter_1F_Text_EveryoneTakenRefuge:
.string "Everyone in town has taken refuge\n"
.string "and won't come out of their homes.\p"
.string "Even I would rather not venture\n"
.string "outside.$"
SootopolisCity_PokemonCenter_1F_Text_AlwaysBeFriendsWithPokemon:
.string "Whenever, wherever, and whatever\n"
.string "happens, I will always be friends with\l"
.string "Pokémon.\p"
.string "Because it's fun to be with Pokémon!$"
SootopolisCity_PokemonCenter_1F_Text_ArentPokemonOurFriends:
.string "Aren't Pokémon our friends?\p"
.string "Why are they going wild this way?$"