pokeemerald/data/maps/VerdanturfTown/scripts.inc

128 lines
3.8 KiB
PHP
Raw Normal View History

.set LOCALID_TWIN, 2
2021-07-20 21:18:31 +02:00
VerdanturfTown_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, VerdanturfTown_OnTransition
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
VerdanturfTown_OnTransition:
2017-11-10 02:21:31 +01:00
setflag FLAG_VISITED_VERDANTURF_TOWN
2019-11-11 03:54:00 +01:00
setvar VAR_CONTEST_HALL_STATE, 0
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
VerdanturfTown_EventScript_Twin::
2017-11-10 02:21:31 +01:00
lock
faceplayer
goto_if_set FLAG_RUSTURF_TUNNEL_OPENED, VerdanturfTown_EventScript_TwinTunnelOpen
msgbox VerdanturfTown_Text_ManTryingToDigTunnel, MSGBOX_DEFAULT
applymovement LOCALID_TWIN, Common_Movement_FaceOriginalDirection
2017-11-10 02:21:31 +01:00
waitmovement 0
release
end
2021-07-20 21:18:31 +02:00
VerdanturfTown_EventScript_TwinTunnelOpen::
msgbox VerdanturfTown_Text_ManDugTunnelForLove, MSGBOX_DEFAULT
applymovement LOCALID_TWIN, Common_Movement_FaceOriginalDirection
2017-11-10 02:21:31 +01:00
waitmovement 0
release
end
2021-07-20 21:18:31 +02:00
VerdanturfTown_EventScript_Man::
msgbox VerdanturfTown_Text_AirCleanHere, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
VerdanturfTown_EventScript_Camper::
msgbox VerdanturfTown_Text_MakeBattleTentDebut, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
VerdanturfTown_EventScript_Boy::
2017-11-10 02:21:31 +01:00
lock
faceplayer
goto_if_set FLAG_RUSTURF_TUNNEL_OPENED, VerdanturfTown_EventScript_BoyTunnelOpen
msgbox VerdanturfTown_Text_GuyTryingToBustThroughCave, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
VerdanturfTown_EventScript_BoyTunnelOpen::
msgbox VerdanturfTown_Text_EasyToGetToRustboroNow, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
VerdanturfTown_EventScript_TownSign::
msgbox VerdanturfTown_Text_TownSign, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
VerdanturfTown_EventScript_WandasHouseSign::
msgbox VerdanturfTown_Text_WandasHouse, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
VerdanturfTown_EventScript_BattleTentSign::
msgbox VerdanturfTown_Text_BattleTentSign, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
VerdanturfTown_EventScript_RusturfTunnelSign::
msgbox VerdanturfTown_Text_RusturfTunnelSign, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
VerdanturfTown_Text_ManTryingToDigTunnel:
2017-11-10 02:21:31 +01:00
.string "My papa told me.\p"
.string "He says this tunnel is full of\n"
.string "timid POKéMON.\p"
.string "They get all scared of loud noise and\n"
.string "make a big uproar.\p"
.string "So they had to stop the big tunnel\n"
.string "project.\p"
2018-12-07 16:41:08 +01:00
.string "But there's one man. He's trying to dig\n"
2017-11-10 02:21:31 +01:00
.string "the tunnel by himself!$"
2021-07-20 21:18:31 +02:00
VerdanturfTown_Text_ManDugTunnelForLove:
2017-11-10 02:21:31 +01:00
.string "There was a man who dug a tunnel for\n"
.string "a lady he loved.\p"
2018-12-07 16:41:08 +01:00
.string "I don't really get it, but hey!$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
VerdanturfTown_Text_AirCleanHere:
2017-11-10 02:21:31 +01:00
.string "The way the winds blow, volcanic ash\n"
.string "is never blown in this direction.\p"
.string "The air is clean and delicious here.\n"
.string "Living here should do wonders for even\l"
.string "frail and sickly people.$"
2021-07-20 21:18:31 +02:00
VerdanturfTown_Text_MakeBattleTentDebut:
2018-12-07 16:41:08 +01:00
.string "My POKéMON and I, we've been riding\n"
2017-11-10 02:21:31 +01:00
.string "a hot winning streak.\p"
.string "So I decided to make my BATTLE TENT\n"
.string "debut in this town.$"
2021-07-20 21:18:31 +02:00
VerdanturfTown_Text_GuyTryingToBustThroughCave:
2017-11-10 02:21:31 +01:00
.string "Did you see the cave next to the\n"
.string "POKéMON MART?\p"
2018-12-07 16:41:08 +01:00
.string "There's a guy in there who's trying to\n"
2017-11-10 02:21:31 +01:00
.string "bust up boulders so he can bust out\l"
.string "through to the other side.\p"
2018-12-07 16:41:08 +01:00
.string "It'd be great if we could go through…\n"
.string "It'll make it easy to visit RUSTBORO.$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
VerdanturfTown_Text_EasyToGetToRustboroNow:
2017-11-10 02:21:31 +01:00
.string "That cave next to the POKéMON MART\n"
.string "is now a tunnel to the other side.\p"
2018-12-07 16:41:08 +01:00
.string "It's great--it's easy to go shop for\n"
2017-11-10 02:21:31 +01:00
.string "new DEVON products in RUSTBORO now.$"
2021-07-20 21:18:31 +02:00
VerdanturfTown_Text_TownSign:
2017-11-10 02:21:31 +01:00
.string "VERDANTURF TOWN\p"
.string "“The windswept highlands with the\n"
.string "sweet fragrance of grass.”$"
2021-07-20 21:18:31 +02:00
VerdanturfTown_Text_WandasHouse:
2018-12-07 16:41:08 +01:00
.string "WANDA'S HOUSE$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
VerdanturfTown_Text_BattleTentSign:
2017-11-10 02:21:31 +01:00
.string "BATTLE TENT VERDANTURF SITE\n"
.string "“Feast Your Eyes on Battles!”$"
2021-07-20 21:18:31 +02:00
VerdanturfTown_Text_RusturfTunnelSign:
2017-11-10 02:21:31 +01:00
.string "RUSTURF TUNNEL\n"
.string "“Linking RUSTBORO and VERDANTURF\p"
.string "“The tunnel project has been\n"
.string "canceled.”$"