Files
2025-06-11 09:45:39 -04:00

59 lines
1.9 KiB
PHP

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_SOOTOPOLIS_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
.ifdef FRENCH
.include "data/maps/SootopolisCity_PokemonCenter_1F/text_fr.inc"
.else
.ifdef ITALIAN
.include "data/maps/SootopolisCity_PokemonCenter_1F/text_it.inc"
.else
.ifdef SPANISH
.include "data/maps/SootopolisCity_PokemonCenter_1F/text_es.inc"
.else
.include "data/maps/SootopolisCity_PokemonCenter_1F/text.inc"
.endif
.endif
.endif