2020-06-21 07:56:57 +02:00
|
|
|
.set LOCALID_NURSE, 1
|
|
|
|
.set LOCALID_LANETTE, 4
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FallarborTown_PokemonCenter_1F_MapScripts::
|
2019-04-22 22:31:51 +02:00
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, FallarborTown_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
|
|
|
FallarborTown_PokemonCenter_1F_OnTransition:
|
2018-08-10 16:45:15 +02:00
|
|
|
setrespawn HEAL_LOCATION_FALLARBOR_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
|
|
|
FallarborTown_PokemonCenter_1F_EventScript_Nurse::
|
2020-06-21 07:56:57 +02:00
|
|
|
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
|
|
|
FallarborTown_PokemonCenter_1F_EventScript_Girl::
|
2019-11-03 18:29:41 +01:00
|
|
|
msgbox FallarborTown_PokemonCenter_1F_Text_FossilManiacEdgeOfTown, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FallarborTown_PokemonCenter_1F_EventScript_ExpertM::
|
2019-11-03 18:29:41 +01:00
|
|
|
msgbox FallarborTown_PokemonCenter_1F_Text_PlantHardyTrees, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FallarborTown_PokemonCenter_1F_EventScript_Lanette::
|
2017-11-10 02:21:31 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
2019-11-03 18:29:41 +01:00
|
|
|
msgbox FallarborTown_PokemonCenter_1F_Text_LanetteGreeting, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
|
|
|
switch VAR_FACING
|
2019-11-03 18:29:41 +01:00
|
|
|
case DIR_NORTH, FallarborTown_PokemonCenter_1F_EventScript_LanetteExitNorth
|
|
|
|
case DIR_WEST, FallarborTown_PokemonCenter_1F_EventScript_LanetteExitWest
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FallarborTown_PokemonCenter_1F_EventScript_LanetteExitNorth::
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_LANETTE, FallarborTown_PokemonCenter_1F_Movement_LanetteExitNorth
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-03 18:29:41 +01:00
|
|
|
goto FallarborTown_PokemonCenter_1F_EventScript_LanetteExited
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FallarborTown_PokemonCenter_1F_EventScript_LanetteExitWest::
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_LANETTE, FallarborTown_PokemonCenter_1F_Movement_LanetteExitWest
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-03 18:29:41 +01:00
|
|
|
goto FallarborTown_PokemonCenter_1F_EventScript_LanetteExited
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FallarborTown_PokemonCenter_1F_EventScript_LanetteExited::
|
2020-08-21 00:02:00 +02:00
|
|
|
playse SE_SLIDING_DOOR
|
2020-06-21 07:56:57 +02:00
|
|
|
removeobject LOCALID_LANETTE
|
2018-10-19 19:04:47 +02:00
|
|
|
clearflag FLAG_HIDE_LANETTES_HOUSE_LANETTE
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FallarborTown_PokemonCenter_1F_Movement_LanetteExitNorth:
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
delay_8
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FallarborTown_PokemonCenter_1F_Movement_LanetteExitWest:
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
delay_8
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FallarborTown_PokemonCenter_1F_Text_LanetteGreeting:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Oh, hello.\n"
|
|
|
|
.string "You are?\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Okay, your name's {PLAYER}{KUN}.\n"
|
|
|
|
.string "I can see that you're a TRAINER.\p"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "So that means you use the POKéMON\n"
|
|
|
|
.string "Storage System I developed.\p"
|
|
|
|
.string "How I arrived at that conclusion is\n"
|
|
|
|
.string "a simple deductive process.\p"
|
|
|
|
.string "You spoke to me because you wanted\n"
|
|
|
|
.string "to access something on this PC.\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Oh, I'm sorry. I'm LANETTE.\p"
|
|
|
|
.string "Honestly, I'm glad to meet you--it's\n"
|
|
|
|
.string "great you're using the Storage System.\p"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "If you could, please visit me at home.\n"
|
|
|
|
.string "My house is on ROUTE 114.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FallarborTown_PokemonCenter_1F_Text_FossilManiacEdgeOfTown:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "I wonder what POKéMON looked like\n"
|
|
|
|
.string "long, long ago?\p"
|
|
|
|
.string "Maybe the FOSSIL MANIAC at the edge\n"
|
|
|
|
.string "of town will know.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FallarborTown_PokemonCenter_1F_Text_PlantHardyTrees:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "In the fields of FALLARBOR, we plant\n"
|
|
|
|
.string "seedlings of hardy trees that thrive\l"
|
|
|
|
.string "even in volcanic ash.$"
|
|
|
|
|