pokeemerald/data/maps/DewfordTown_PokemonCenter_1F/scripts.inc

40 lines
1.1 KiB
PHP
Raw Normal View History

.set LOCALID_NURSE, 1
2021-07-20 21:18:31 +02:00
DewfordTown_PokemonCenter_1F_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, DewfordTown_PokemonCenter_1F_OnTransition
2019-10-12 04:23:05 +02:00
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
DewfordTown_PokemonCenter_1F_OnTransition:
setrespawn HEAL_LOCATION_DEWFORD_TOWN
2019-08-15 05:38:42 +02:00
call Common_EventScript_UpdateBrineyLocation
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
DewfordTown_PokemonCenter_1F_EventScript_Nurse::
setvar VAR_0x800B, LOCALID_NURSE
2019-08-15 05:38:42 +02:00
call Common_EventScript_PkmnCenterNurse
2017-11-10 02:21:31 +01:00
waitmessage
waitbuttonpress
release
end
2021-07-20 21:18:31 +02:00
DewfordTown_PokemonCenter_1F_EventScript_PokefanF::
2019-11-03 18:29:41 +01:00
msgbox DewfordTown_PokemonCenter_1F_Text_StoneCavern, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
DewfordTown_PokemonCenter_1F_EventScript_Man::
2019-11-03 18:29:41 +01:00
msgbox DewfordTown_PokemonCenter_1F_Text_FaintedMonCanUseHM, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
DewfordTown_PokemonCenter_1F_Text_StoneCavern:
2018-12-07 16:41:08 +01:00
.string "There's a stone cavern at the edge\n"
2017-11-10 02:21:31 +01:00
.string "of town.\p"
2018-12-07 16:41:08 +01:00
.string "I've heard you can find rare stones\n"
2017-11-10 02:21:31 +01:00
.string "there.$"
2021-07-20 21:18:31 +02:00
DewfordTown_PokemonCenter_1F_Text_FaintedMonCanUseHM:
2018-12-07 16:41:08 +01:00
.string "Even if a POKéMON faints and can't\n"
2017-11-10 02:21:31 +01:00
.string "battle, it can still use a move learned\l"
.string "from a HIDDEN MACHINE (HM).$"