pokeemerald/data/maps/FallarborTown_PokemonCenter_1F/scripts.inc

113 lines
3.3 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
FallarborTown_PokemonCenter_1F_MapScripts:: @ 8200BCD
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
FallarborTown_PokemonCenter_1F_OnTransition: @ 8200BD8
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
2019-11-03 18:29:41 +01:00
@ VAR_0x800B is the Nurse's object event id
FallarborTown_PokemonCenter_1F_EventScript_Nurse:: @ 8200BE1
2017-11-10 02:21:31 +01:00
setvar VAR_0x800B, 1
2019-08-15 05:38:42 +02:00
call Common_EventScript_PkmnCenterNurse
2017-11-10 02:21:31 +01:00
waitmessage
waitbuttonpress
release
end
2019-11-03 18:29:41 +01:00
FallarborTown_PokemonCenter_1F_EventScript_Girl:: @ 8200BEF
msgbox FallarborTown_PokemonCenter_1F_Text_FossilManiacEdgeOfTown, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2019-11-03 18:29:41 +01:00
FallarborTown_PokemonCenter_1F_EventScript_ExpertM:: @ 8200BF8
msgbox FallarborTown_PokemonCenter_1F_Text_PlantHardyTrees, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2019-11-03 18:29:41 +01:00
FallarborTown_PokemonCenter_1F_EventScript_Lanette:: @ 8200C01
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
2019-11-03 18:29:41 +01:00
FallarborTown_PokemonCenter_1F_EventScript_LanetteExitNorth:: @ 8200C28
applymovement 4, 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
2019-11-03 18:29:41 +01:00
FallarborTown_PokemonCenter_1F_EventScript_LanetteExitWest:: @ 8200C38
applymovement 4, 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
2019-11-03 18:29:41 +01:00
FallarborTown_PokemonCenter_1F_EventScript_LanetteExited:: @ 8200C48
2017-11-10 02:21:31 +01:00
playse SE_JIDO_DOA
removeobject 4
2018-10-19 19:04:47 +02:00
clearflag FLAG_HIDE_LANETTES_HOUSE_LANETTE
2017-11-10 02:21:31 +01:00
release
end
2019-11-03 18:29:41 +01:00
FallarborTown_PokemonCenter_1F_Movement_LanetteExitNorth: @ 8200C53
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
2019-11-03 18:29:41 +01:00
FallarborTown_PokemonCenter_1F_Movement_LanetteExitWest: @ 8200C60
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
2019-11-03 18:29:41 +01:00
FallarborTown_PokemonCenter_1F_Text_LanetteGreeting: @ 8200C6B
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.$"
2019-11-03 18:29:41 +01:00
FallarborTown_PokemonCenter_1F_Text_FossilManiacEdgeOfTown: @ 8200E22
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.$"
2019-11-03 18:29:41 +01:00
FallarborTown_PokemonCenter_1F_Text_PlantHardyTrees: @ 8200E8B
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.$"