sovereignx/data/maps/OldaleTown_PokemonCenter_1F/scripts.inc

65 lines
2 KiB
PHP
Raw Normal View History

.set LOCALID_NURSE, 1
2021-07-20 20:18:31 +01:00
OldaleTown_PokemonCenter_1F_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, OldaleTown_PokemonCenter_1F_OnTransition
2019-10-12 03:23:05 +01:00
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
2017-11-10 01:21:31 +00:00
.byte 0
2021-07-20 20:18:31 +01:00
OldaleTown_PokemonCenter_1F_OnTransition:
setrespawn HEAL_LOCATION_OLDALE_TOWN
2019-08-15 04:38:42 +01:00
call Common_EventScript_UpdateBrineyLocation
2017-11-10 01:21:31 +00:00
end
2021-07-20 20:18:31 +01:00
OldaleTown_PokemonCenter_1F_EventScript_Nurse::
setvar VAR_0x800B, LOCALID_NURSE
2019-08-15 04:38:42 +01:00
call Common_EventScript_PkmnCenterNurse
2017-11-10 01:21:31 +00:00
waitmessage
waitbuttonpress
release
end
2021-07-20 20:18:31 +01:00
OldaleTown_PokemonCenter_1F_EventScript_Gentleman::
2019-10-21 00:30:25 +01:00
msgbox OldaleTown_PokemonCenter_1F_Text_TrainersCanUsePC, MSGBOX_NPC
2017-11-10 01:21:31 +00:00
end
2021-07-20 20:18:31 +01:00
OldaleTown_PokemonCenter_1F_EventScript_Boy::
2019-10-21 00:30:25 +01:00
msgbox OldaleTown_PokemonCenter_1F_Text_PokemonCentersAreGreat, MSGBOX_NPC
2017-11-10 01:21:31 +00:00
end
2021-07-20 20:18:31 +01:00
OldaleTown_PokemonCenter_1F_EventScript_Girl::
2017-11-10 01:21:31 +00:00
lock
faceplayer
2019-10-21 00:30:25 +01:00
goto_if_set FLAG_SYS_POKEDEX_GET, OldaleTown_PokemonCenter_1F_EventScript_WirelessClubAvailable
msgbox OldaleTown_PokemonCenter_1F_Text_WirelessClubNotAvailable, MSGBOX_DEFAULT
2017-11-10 01:21:31 +00:00
release
end
2021-07-20 20:18:31 +01:00
OldaleTown_PokemonCenter_1F_EventScript_WirelessClubAvailable::
2019-10-21 00:30:25 +01:00
msgbox OldaleTown_PokemonCenter_1F_Text_TradedInWirelessClub, MSGBOX_DEFAULT
2017-11-10 01:21:31 +00:00
release
end
2021-07-20 20:18:31 +01:00
OldaleTown_PokemonCenter_1F_Text_TrainersCanUsePC:
2017-11-10 01:21:31 +00:00
.string "That PC in the corner there is\n"
.string "for any POKéMON TRAINER to use.\p"
2018-12-07 15:41:08 +00:00
.string "Naturally, that means you're welcome\n"
2017-11-10 01:21:31 +00:00
.string "to use it, too.$"
2021-07-20 20:18:31 +01:00
OldaleTown_PokemonCenter_1F_Text_PokemonCentersAreGreat:
2017-11-10 01:21:31 +00:00
.string "POKéMON CENTERS are great!\p"
.string "You can use their services as much\n"
2018-12-07 15:41:08 +00:00
.string "as you like, and it's all for free.\l"
2017-11-10 01:21:31 +00:00
.string "You never have to worry!$"
2021-07-20 20:18:31 +01:00
OldaleTown_PokemonCenter_1F_Text_WirelessClubNotAvailable:
2017-11-10 01:21:31 +00:00
.string "The POKéMON WIRELESS CLUB on\n"
.string "the second floor was built recently.\p"
2018-12-07 15:41:08 +00:00
.string "But they say they're still making\n"
2017-11-10 01:21:31 +00:00
.string "adjustments.$"
2021-07-20 20:18:31 +01:00
OldaleTown_PokemonCenter_1F_Text_TradedInWirelessClub:
2017-11-10 01:21:31 +00:00
.string "The POKéMON WIRELESS CLUB on\n"
.string "the second floor was built recently.\p"
.string "I traded POKéMON right away.$"