2022-05-19 19:14:13 +02:00
|
|
|
.set LOCALID_NURSE, 1
|
|
|
|
.set LOCALID_LANETTE, 4
|
|
|
|
|
|
|
|
FallarborTown_PokemonCenter_1F_MapScripts::
|
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, FallarborTown_PokemonCenter_1F_OnTransition
|
|
|
|
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
|
|
|
|
.byte 0
|
|
|
|
|
|
|
|
FallarborTown_PokemonCenter_1F_OnTransition:
|
|
|
|
setrespawn HEAL_LOCATION_FALLARBOR_TOWN
|
|
|
|
call Common_EventScript_UpdateBrineyLocation
|
|
|
|
end
|
|
|
|
|
|
|
|
FallarborTown_PokemonCenter_1F_EventScript_Nurse::
|
|
|
|
setvar VAR_0x800B, LOCALID_NURSE
|
|
|
|
call Common_EventScript_PkmnCenterNurse
|
|
|
|
waitmessage
|
|
|
|
waitbuttonpress
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
FallarborTown_PokemonCenter_1F_EventScript_Girl::
|
|
|
|
msgbox FallarborTown_PokemonCenter_1F_Text_FossilManiacEdgeOfTown, MSGBOX_NPC
|
|
|
|
end
|
|
|
|
|
|
|
|
FallarborTown_PokemonCenter_1F_EventScript_ExpertM::
|
|
|
|
msgbox FallarborTown_PokemonCenter_1F_Text_PlantHardyTrees, MSGBOX_NPC
|
|
|
|
end
|
|
|
|
|
|
|
|
FallarborTown_PokemonCenter_1F_EventScript_Lanette::
|
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
msgbox FallarborTown_PokemonCenter_1F_Text_LanetteGreeting, MSGBOX_DEFAULT
|
|
|
|
closemessage
|
|
|
|
switch VAR_FACING
|
|
|
|
case DIR_NORTH, FallarborTown_PokemonCenter_1F_EventScript_LanetteExitNorth
|
|
|
|
case DIR_WEST, FallarborTown_PokemonCenter_1F_EventScript_LanetteExitWest
|
|
|
|
end
|
|
|
|
|
|
|
|
FallarborTown_PokemonCenter_1F_EventScript_LanetteExitNorth::
|
|
|
|
applymovement LOCALID_LANETTE, FallarborTown_PokemonCenter_1F_Movement_LanetteExitNorth
|
|
|
|
waitmovement 0
|
|
|
|
goto FallarborTown_PokemonCenter_1F_EventScript_LanetteExited
|
|
|
|
end
|
|
|
|
|
|
|
|
FallarborTown_PokemonCenter_1F_EventScript_LanetteExitWest::
|
|
|
|
applymovement LOCALID_LANETTE, FallarborTown_PokemonCenter_1F_Movement_LanetteExitWest
|
|
|
|
waitmovement 0
|
|
|
|
goto FallarborTown_PokemonCenter_1F_EventScript_LanetteExited
|
|
|
|
end
|
|
|
|
|
|
|
|
FallarborTown_PokemonCenter_1F_EventScript_LanetteExited::
|
|
|
|
playse SE_SLIDING_DOOR
|
|
|
|
removeobject LOCALID_LANETTE
|
|
|
|
clearflag FLAG_HIDE_LANETTES_HOUSE_LANETTE
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
FallarborTown_PokemonCenter_1F_Movement_LanetteExitNorth:
|
|
|
|
walk_right
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
delay_8
|
|
|
|
step_end
|
|
|
|
|
|
|
|
FallarborTown_PokemonCenter_1F_Movement_LanetteExitWest:
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
delay_8
|
|
|
|
step_end
|
|
|
|
|
|
|
|
FallarborTown_PokemonCenter_1F_Text_LanetteGreeting:
|
|
|
|
.string "Oh, hello.\n"
|
|
|
|
.string "You are?\p"
|
|
|
|
.string "Okay, your name's {PLAYER}{KUN}.\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "I can see that you're a Trainer.\p"
|
|
|
|
.string "So that means you use the Pokémon\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.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"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Oh, I'm sorry. I'm Lanette.\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "Honestly, I'm glad to meet you--it's\n"
|
|
|
|
.string "great you're using the Storage System.\p"
|
|
|
|
.string "If you could, please visit me at home.\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "My house is on Route 114.$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
FallarborTown_PokemonCenter_1F_Text_FossilManiacEdgeOfTown:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "I wonder what Pokémon looked like\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "long, long ago?\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Maybe the Fossil Maniac at the edge\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "of town will know.$"
|
|
|
|
|
|
|
|
FallarborTown_PokemonCenter_1F_Text_PlantHardyTrees:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "In the fields of Fallarbor, we plant\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "seedlings of hardy trees that thrive\l"
|
|
|
|
.string "even in volcanic ash.$"
|
|
|
|
|