pokeemerald/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?$"