pokeemerald/data/maps/MagmaHideout_4F/scripts.inc

233 lines
6.7 KiB
PHP
Raw Normal View History

.set LOCALID_GROUDON, 1
.set LOCALID_GRUNT_1, 2
.set LOCALID_GRUNT_2, 3
.set LOCALID_GRUNT_3, 4
.set LOCALID_TABITHA, 5
.set LOCALID_MAXIE, 6
.set LOCALID_GROUDON_SLEEPING, 7
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_MapScripts::
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_EventScript_Maxie::
2017-11-10 02:21:31 +01:00
lockall
2021-05-21 22:08:00 +02:00
playbgm MUS_ENCOUNTER_MAGMA, FALSE
2019-11-01 08:41:55 +01:00
msgbox MagmaHideout_4F_Text_MaxieAwakenGroudon, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
delay 20
setvar VAR_RESULT, 1
2020-08-21 00:02:00 +02:00
playse SE_M_DETECT
dofieldeffectsparkle 18, 42, 0
waitfieldeffect FLDEFF_SPARKLE
2017-11-10 02:21:31 +01:00
setvar VAR_RESULT, 1
2020-08-21 00:02:00 +02:00
playfanfare MUS_AWAKEN_LEGEND
playse SE_ORB
2019-11-01 08:41:55 +01:00
special DoOrbEffect
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFasterUp
2017-11-10 02:21:31 +01:00
waitmovement 0
delay 150
removeobject LOCALID_GROUDON_SLEEPING
addobject LOCALID_GROUDON
2017-11-10 02:21:31 +01:00
waitstate
delay 60
applymovement LOCALID_GROUDON, MagmaHideout_4F_Movement_GroudonApproach
2017-11-10 02:21:31 +01:00
waitmovement 0
2019-11-01 08:41:55 +01:00
special FadeOutOrbEffect
2017-11-10 02:21:31 +01:00
waitstate
2019-09-30 07:42:52 +02:00
setvar VAR_0x8004, 1 @ vertical pan
setvar VAR_0x8005, 1 @ horizontal pan
setvar VAR_0x8006, 8 @ num shakes
setvar VAR_0x8007, 5 @ shake delay
special ShakeCamera
2017-11-10 02:21:31 +01:00
waitstate
applymovement LOCALID_GROUDON, MagmaHideout_4F_Movement_GroudonExit
2017-11-10 02:21:31 +01:00
waitmovement 0
removeobject LOCALID_GROUDON
2017-11-10 02:21:31 +01:00
delay 4
2019-09-30 07:42:52 +02:00
setvar VAR_0x8004, 2 @ vertical pan
setvar VAR_0x8005, 2 @ horizontal pan
setvar VAR_0x8006, 8 @ num shakes
setvar VAR_0x8007, 5 @ shake delay
special ShakeCamera
2017-11-10 02:21:31 +01:00
waitstate
delay 30
applymovement LOCALID_MAXIE, MagmaHideout_4F_Movement_MaxieLookAround
2017-11-10 02:21:31 +01:00
waitmovement 0
2019-11-01 08:41:55 +01:00
msgbox MagmaHideout_4F_Text_MaxieGroudonWhatsWrong, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFasterRight
2017-11-10 02:21:31 +01:00
waitmovement 0
delay 30
applymovement LOCALID_MAXIE, Common_Movement_FacePlayer
2017-11-10 02:21:31 +01:00
waitmovement 0
2019-11-01 08:41:55 +01:00
msgbox MagmaHideout_4F_Text_MaxieOhItWasYou, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
2019-12-26 04:39:06 +01:00
trainerbattle_no_intro TRAINER_MAXIE_MAGMA_HIDEOUT, MagmaHideout_4F_Text_MaxieDefeat
2019-11-01 08:41:55 +01:00
msgbox MagmaHideout_4F_Text_MaxieImGoingAfterGroudon, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
2018-10-18 21:28:59 +02:00
clearflag FLAG_HIDE_SLATEPORT_CITY_CAPTAIN_STERN
clearflag FLAG_HIDE_SLATEPORT_CITY_GABBY_AND_TY
2019-08-05 17:23:45 +02:00
setvar VAR_SLATEPORT_CITY_STATE, 1
2019-01-02 22:12:43 +01:00
setflag FLAG_GROUDON_AWAKENED_MAGMA_HIDEOUT
2019-02-22 10:18:43 +01:00
setvar VAR_SLATEPORT_HARBOR_STATE, 1
2019-12-15 17:42:50 +01:00
fadescreen FADE_TO_BLACK
removeobject LOCALID_MAXIE
removeobject LOCALID_GRUNT_1
removeobject LOCALID_GRUNT_2
removeobject LOCALID_GRUNT_3
removeobject LOCALID_TABITHA
2018-10-18 21:28:59 +02:00
setflag FLAG_HIDE_MAGMA_HIDEOUT_GRUNTS
2019-12-15 17:42:50 +01:00
fadescreen FADE_FROM_BLACK
2017-11-10 02:21:31 +01:00
releaseall
end
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_Movement_GroudonApproach:
delay_16
delay_16
walk_slow_down
delay_16
delay_16
delay_16
walk_slow_down
delay_16
delay_16
delay_16
2017-11-10 02:21:31 +01:00
step_end
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_Movement_GroudonExit:
slide_up
slide_up
2017-11-10 02:21:31 +01:00
step_end
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_Movement_MaxieLookAround:
face_left
delay_16
face_right
delay_16
face_left
delay_16
face_right
delay_16
face_up
delay_16
delay_16
2017-11-10 02:21:31 +01:00
step_end
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_EventScript_Grunt11::
trainerbattle_single TRAINER_GRUNT_MAGMA_HIDEOUT_11, MagmaHideout_4F_Text_Grunt11Intro, MagmaHideout_4F_Text_Grunt11Defeat
msgbox MagmaHideout_4F_Text_Grunt11PostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_EventScript_Grunt12::
trainerbattle_single TRAINER_GRUNT_MAGMA_HIDEOUT_12, MagmaHideout_4F_Text_Grunt12Intro, MagmaHideout_4F_Text_Grunt12Defeat
msgbox MagmaHideout_4F_Text_Grunt12PostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_EventScript_Grunt13::
trainerbattle_single TRAINER_GRUNT_MAGMA_HIDEOUT_13, MagmaHideout_4F_Text_Grunt13Intro, MagmaHideout_4F_Text_Grunt13Defeat
msgbox MagmaHideout_4F_Text_Grunt13PostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_EventScript_Tabitha::
2019-12-26 04:39:06 +01:00
trainerbattle_single TRAINER_TABITHA_MAGMA_HIDEOUT, MagmaHideout_4F_Text_TabithaIntro, MagmaHideout_4F_Text_TabithaDefeat
2019-11-01 08:41:55 +01:00
msgbox MagmaHideout_4F_Text_TabithaPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_Text_Grunt11Intro:
2017-11-10 02:21:31 +01:00
.string "I want to see GROUDON, too, but they\n"
2018-12-07 16:41:08 +01:00
.string "won't let me see even its tail…\p"
.string "It's got me feeling really frustrated.\p"
2017-11-10 02:21:31 +01:00
.string "Oh, no!\n"
.string "I blabbed about GROUDON!$"
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_Text_Grunt11Defeat:
2018-12-07 16:41:08 +01:00
.string "I guess it's impossible to win if one\n"
.string "doesn't have a calm mind…$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_Text_Grunt11PostBattle:
2017-11-10 02:21:31 +01:00
.string "I wonder if GROUDON even has a tail?$"
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_Text_Grunt12Intro:
2017-11-10 02:21:31 +01:00
.string "Fuhahaha!\n"
.string "Soon! Very soon!\l"
.string "Our grand objective will be achieved!$"
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_Text_Grunt12Defeat:
2017-11-10 02:21:31 +01:00
.string "Grrr…\n"
2018-12-07 16:41:08 +01:00
.string "I've come so far, but now this?$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_Text_Grunt12PostBattle:
2017-11-10 02:21:31 +01:00
.string "MAXIE, sir!\n"
.string "An intruder is headed your way!$"
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_Text_Grunt13Intro:
2018-12-07 16:41:08 +01:00
.string "You're not finished yet!\n"
.string "You're not getting by me easily!$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_Text_Grunt13Defeat:
2017-11-10 02:21:31 +01:00
.string "Was I that easy to knock down?$"
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_Text_Grunt13PostBattle:
2017-11-10 02:21:31 +01:00
.string "C-come on, one more match…$"
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_Text_TabithaIntro:
2017-11-10 02:21:31 +01:00
.string "Hehehe!\n"
2018-12-07 16:41:08 +01:00
.string "You made it this far, so I'll tell you!\p"
.string "That's right!\n"
2017-11-10 02:21:31 +01:00
.string "Up ahead, GROUDON is sleeping!\p"
.string "MAXIE went to GROUDON just seconds\n"
.string "ago!\p"
2018-12-07 16:41:08 +01:00
.string "It's going to awaken real soon!\n"
2017-11-10 02:21:31 +01:00
.string "Hehe! Hehehe!$"
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_Text_TabithaDefeat:
2017-11-10 02:21:31 +01:00
.string "Taken down again…\n"
.string "Hehe…$"
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_Text_TabithaPostBattle:
2017-11-10 02:21:31 +01:00
.string "…And while you wasted time with me,\n"
.string "MAXIE should have awakened GROUDON…$"
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_Text_MaxieAwakenGroudon:
2017-11-10 02:21:31 +01:00
.string "MAXIE: GROUDON…\p"
.string "Nothing could awaken you from your\n"
.string "sleep bathed in magma…\p"
.string "This BLUE ORB is what you sought.\n"
2018-12-07 16:41:08 +01:00
.string "Wasn't it?\p"
2017-11-10 02:21:31 +01:00
.string "I have brought you the BLUE ORB.\n"
.string "Let its shine awaken you!\p"
.string "And show me…\n"
.string "Show me the full extent of your power!$"
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_Text_MaxieGroudonWhatsWrong:
2017-11-10 02:21:31 +01:00
.string "MAXIE: GROUDON!\n"
2018-12-07 16:41:08 +01:00
.string "What's wrong?\p"
.string "Wasn't the BLUE ORB the key?\p"
2017-11-10 02:21:31 +01:00
.string "GROUDON!\n"
.string "Where have you gone…$"
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_Text_MaxieOhItWasYou:
2017-11-10 02:21:31 +01:00
.string "MAXIE: Oh, so it was you?\p"
2018-12-07 16:41:08 +01:00
.string "I've seen you poking around uninvited\n"
2017-11-10 02:21:31 +01:00
.string "here and there…\p"
.string "I get it now!\n"
.string "You must have pulled a cheap stunt!$"
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_Text_MaxieDefeat:
2017-11-10 02:21:31 +01:00
.string "What makes you so adept at handling\n"
.string "POKéMON?$"
2021-07-20 21:18:31 +02:00
MagmaHideout_4F_Text_MaxieImGoingAfterGroudon:
2017-11-10 02:21:31 +01:00
.string "MAXIE: There has to be some reason\n"
.string "why GROUDON fled…\p"
2018-12-07 16:41:08 +01:00
.string "That's what you're trying to say,\n"
.string "aren't you?\p"
2017-11-10 02:21:31 +01:00
.string "… … … … … …\n"
.string "… … … … … …\p"
.string "Humph…\n"
2018-12-07 16:41:08 +01:00
.string "You think I didn't know that?\p"
2017-11-10 02:21:31 +01:00
.string "With GROUDON gone, there is no longer\n"
.string "any need for this blasted volcano.\p"
.string "I am going after GROUDON, so this\n"
.string "is where we part!$"