pokeemerald/data/maps/CaveOfOrigin_B1F/scripts.inc

121 lines
4.0 KiB
PHP
Raw Normal View History

.set LOCALID_WALLACE, 1
2021-07-20 21:18:31 +02:00
CaveOfOrigin_B1F_MapScripts::
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
CaveOfOrigin_B1F_EventScript_Wallace::
2017-11-10 02:21:31 +01:00
lock
faceplayer
2019-10-31 22:00:37 +01:00
msgbox CaveOfOrigin_B1F_Text_WallaceStory, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
applymovement LOCALID_WALLACE, Common_Movement_WalkInPlaceFasterUp
2017-11-10 02:21:31 +01:00
waitmovement 0
delay 60
playse SE_PIN
applymovement LOCALID_WALLACE, Common_Movement_ExclamationMark
2017-11-10 02:21:31 +01:00
waitmovement 0
applymovement LOCALID_WALLACE, Common_Movement_Delay48
2017-11-10 02:21:31 +01:00
waitmovement 0
delay 30
applymovement LOCALID_WALLACE, Common_Movement_FacePlayer
2017-11-10 02:21:31 +01:00
waitmovement 0
2019-10-31 22:00:37 +01:00
message CaveOfOrigin_B1F_Text_WhereIsRayquaza
2017-11-10 02:21:31 +01:00
waitmessage
2019-10-31 22:00:37 +01:00
goto CaveOfOrigin_B1F_EventScript_WheresRayquaza
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
CaveOfOrigin_B1F_EventScript_WheresRayquaza::
2021-03-31 06:35:56 +02:00
multichoice 0, 0, MULTI_WHERES_RAYQUAZA, FALSE
2017-11-10 02:21:31 +01:00
switch VAR_RESULT
2019-10-31 22:00:37 +01:00
case 0, CaveOfOrigin_B1F_EventScript_AtCaveOfOrigin
case 1, CaveOfOrigin_B1F_EventScript_AtMtPyre
case 2, CaveOfOrigin_B1F_EventScript_AtSkyPillar
case 3, CaveOfOrigin_B1F_EventScript_DontRemember
goto CaveOfOrigin_B1F_EventScript_DontRemember
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
CaveOfOrigin_B1F_EventScript_AtCaveOfOrigin::
2019-10-31 22:00:37 +01:00
message CaveOfOrigin_B1F_Text_ButWereInCaveOfOrigin
2017-11-10 02:21:31 +01:00
waitmessage
2019-10-31 22:00:37 +01:00
goto CaveOfOrigin_B1F_EventScript_WheresRayquaza
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
CaveOfOrigin_B1F_EventScript_AtMtPyre::
2019-10-31 22:00:37 +01:00
message CaveOfOrigin_B1F_Text_OldLadyDidntMentionThat
2017-11-10 02:21:31 +01:00
waitmessage
2019-10-31 22:00:37 +01:00
goto CaveOfOrigin_B1F_EventScript_WheresRayquaza
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
CaveOfOrigin_B1F_EventScript_DontRemember::
2019-10-31 22:00:37 +01:00
message CaveOfOrigin_B1F_Text_CantYouRememberSomehow
2017-11-10 02:21:31 +01:00
waitmessage
2019-10-31 22:00:37 +01:00
goto CaveOfOrigin_B1F_EventScript_WheresRayquaza
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
CaveOfOrigin_B1F_EventScript_AtSkyPillar::
2019-10-31 22:00:37 +01:00
msgbox CaveOfOrigin_B1F_Text_WellHeadToSkyPillar, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
2020-08-21 00:02:00 +02:00
playse SE_EXIT
2019-12-15 17:42:50 +01:00
fadescreenspeed FADE_TO_BLACK, 4
2019-01-02 22:12:43 +01:00
setflag FLAG_WALLACE_GOES_TO_SKY_PILLAR
2019-08-05 17:23:45 +02:00
setvar VAR_SOOTOPOLIS_CITY_STATE, 3
removeobject LOCALID_WALLACE
2018-10-18 21:28:59 +02:00
clearflag FLAG_HIDE_SKY_PILLAR_WALLACE
2019-12-15 17:42:50 +01:00
fadescreen FADE_FROM_BLACK
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
CaveOfOrigin_B1F_Text_WallaceStory:
2017-11-10 02:21:31 +01:00
.string "Ah, so you are {PLAYER}{KUN}?\n"
2018-12-07 16:41:08 +01:00
.string "I've heard tales of your exploits.\p"
2017-11-10 02:21:31 +01:00
.string "My name is WALLACE.\p"
.string "I was once the GYM LEADER of\n"
.string "SOOTOPOLIS, but something came up.\p"
2018-12-07 16:41:08 +01:00
.string "So now, I've entrusted my mentor JUAN\n"
.string "with the GYM's operation.\p"
2017-11-10 02:21:31 +01:00
.string "… … … … … …\n"
.string "… … … … … …\p"
.string "GROUDON and KYOGRE, the two POKéMON\n"
.string "wreaking havoc here, are considered\l"
.string "to be super-ancient POKéMON.\p"
2018-12-07 16:41:08 +01:00
.string "But there aren't just two super-\n"
2017-11-10 02:21:31 +01:00
.string "ancient POKéMON.\p"
.string "There is one more somewhere.\p"
.string "Somewhere, there is a super-\n"
.string "ancient POKéMON named RAYQUAZA.\p"
2018-12-07 16:41:08 +01:00
.string "It's said that it was RAYQUAZA that\n"
2017-11-10 02:21:31 +01:00
.string "becalmed the two combatants in\l"
.string "the distant past.\p"
.string "But even I have no clue as to\n"
2018-12-07 16:41:08 +01:00
.string "RAYQUAZA's whereabouts…$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
CaveOfOrigin_B1F_Text_WhereIsRayquaza:
2017-11-10 02:21:31 +01:00
.string "WALLACE: {PLAYER}{KUN}, do you perhaps\n"
.string "know where RAYQUAZA is now?\p"
.string "If you do, please tell me.$"
2021-07-20 21:18:31 +02:00
CaveOfOrigin_B1F_Text_ButWereInCaveOfOrigin:
2017-11-10 02:21:31 +01:00
.string "WALLACE: The CAVE OF ORIGIN?\p"
2018-12-07 16:41:08 +01:00
.string "But that's right here!\n"
2017-11-10 02:21:31 +01:00
.string "I need you to do better than that!\p"
.string "Please, I need you to think about\n"
.string "where RAYQUAZA might be right now.$"
2021-07-20 21:18:31 +02:00
CaveOfOrigin_B1F_Text_OldLadyDidntMentionThat:
2017-11-10 02:21:31 +01:00
.string "WALLACE: MT. PYRE?\p"
.string "But when I met the old lady there\n"
.string "earlier, she made no mention of it.\p"
.string "I very much doubt that the old lady\n"
.string "would try to hide something from me…\p"
.string "{PLAYER}{KUN}, could you think about this\n"
.string "more carefully for me?$"
2021-07-20 21:18:31 +02:00
CaveOfOrigin_B1F_Text_CantYouRememberSomehow:
2018-12-07 16:41:08 +01:00
.string "WALLACE: Huh? You don't remember?\n"
.string "Hmm… That's a problem…\p"
.string "Can't you remember somehow?$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
CaveOfOrigin_B1F_Text_WellHeadToSkyPillar:
2017-11-10 02:21:31 +01:00
.string "WALLACE: The SKY PILLAR?\p"
2018-12-07 16:41:08 +01:00
.string "That's it!\n"
2017-11-10 02:21:31 +01:00
.string "It must be the SKY PILLAR!\p"
2018-12-07 16:41:08 +01:00
.string "{PLAYER}{KUN}, there's not a moment to lose!\n"
.string "We'll head to the SKY PILLAR right away!$"
2017-11-10 02:21:31 +01:00