pokeemerald/data/maps/MagmaHideout_4F/scripts.inc

225 lines
6.7 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
MagmaHideout_4F_MapScripts:: @ 823A55F
.byte 0
2019-11-01 08:41:55 +01:00
MagmaHideout_4F_EventScript_Maxie:: @ 823A560
2017-11-10 02:21:31 +01:00
lockall
2017-12-22 08:46:19 +01:00
playbgm MUS_MGM0, 0
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
playse SE_W197
dofieldeffectsparkle 18, 42, 0
waitfieldeffect FLDEFF_SPARKLE
2017-11-10 02:21:31 +01:00
setvar VAR_RESULT, 1
2017-12-22 08:46:19 +01:00
playfanfare MUS_ME_TAMA
2017-11-10 02:21:31 +01:00
playse SE_TAMA
2019-11-01 08:41:55 +01:00
special DoOrbEffect
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
2017-11-10 02:21:31 +01:00
waitmovement 0
delay 150
2019-11-01 08:41:55 +01:00
removeobject 7 @ sleeping Groudon
addobject 1 @ awakened Groudon
2017-11-10 02:21:31 +01:00
waitstate
delay 60
2019-11-01 08:41:55 +01:00
applymovement 1, 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
2019-11-01 08:41:55 +01:00
applymovement 1, MagmaHideout_4F_Movement_GroudonExit
2017-11-10 02:21:31 +01:00
waitmovement 0
removeobject 1
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
2019-11-01 08:41:55 +01:00
applymovement 6, 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_WalkInPlaceFastestRight
2017-11-10 02:21:31 +01:00
waitmovement 0
delay 30
applymovement 6, 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
2017-11-10 02:21:31 +01:00
removeobject 6
removeobject 2
removeobject 3
removeobject 4
removeobject 5
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
2019-11-01 08:41:55 +01:00
MagmaHideout_4F_Movement_GroudonApproach: @ 823A672
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
2019-11-01 08:41:55 +01:00
MagmaHideout_4F_Movement_GroudonExit: @ 823A67D
slide_up
slide_up
2017-11-10 02:21:31 +01:00
step_end
2019-11-01 08:41:55 +01:00
MagmaHideout_4F_Movement_MaxieLookAround: @ 823A680
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
MagmaHideout_4F_EventScript_Grunt11:: @ 823A68C
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
MagmaHideout_4F_EventScript_Grunt12:: @ 823A6A3
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
MagmaHideout_4F_EventScript_Grunt13:: @ 823A6BA
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
2019-11-01 08:41:55 +01:00
MagmaHideout_4F_EventScript_Tabitha:: @ 823A6D1
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
MagmaHideout_4F_Text_Grunt11Intro: @ 823A6E8
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!$"
MagmaHideout_4F_Text_Grunt11Defeat: @ 823A775
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
MagmaHideout_4F_Text_Grunt11PostBattle: @ 823A7B5
2017-11-10 02:21:31 +01:00
.string "I wonder if GROUDON even has a tail?$"
MagmaHideout_4F_Text_Grunt12Intro: @ 823A7DA
2017-11-10 02:21:31 +01:00
.string "Fuhahaha!\n"
.string "Soon! Very soon!\l"
.string "Our grand objective will be achieved!$"
MagmaHideout_4F_Text_Grunt12Defeat: @ 823A81B
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
MagmaHideout_4F_Text_Grunt12PostBattle: @ 823A841
2017-11-10 02:21:31 +01:00
.string "MAXIE, sir!\n"
.string "An intruder is headed your way!$"
MagmaHideout_4F_Text_Grunt13Intro: @ 823A86D
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
MagmaHideout_4F_Text_Grunt13Defeat: @ 823A8A7
2017-11-10 02:21:31 +01:00
.string "Was I that easy to knock down?$"
MagmaHideout_4F_Text_Grunt13PostBattle: @ 823A8C6
2017-11-10 02:21:31 +01:00
.string "C-come on, one more match…$"
2019-11-01 08:41:55 +01:00
MagmaHideout_4F_Text_TabithaIntro: @ 823A8E1
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!$"
2019-11-01 08:41:55 +01:00
MagmaHideout_4F_Text_TabithaDefeat: @ 823A994
2017-11-10 02:21:31 +01:00
.string "Taken down again…\n"
.string "Hehe…$"
2019-11-01 08:41:55 +01:00
MagmaHideout_4F_Text_TabithaPostBattle: @ 823A9AC
2017-11-10 02:21:31 +01:00
.string "…And while you wasted time with me,\n"
.string "MAXIE should have awakened GROUDON…$"
2019-11-01 08:41:55 +01:00
MagmaHideout_4F_Text_MaxieAwakenGroudon: @ 823A9F4
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!$"
2019-11-01 08:41:55 +01:00
MagmaHideout_4F_Text_MaxieGroudonWhatsWrong: @ 823AADA
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…$"
2019-11-01 08:41:55 +01:00
MagmaHideout_4F_Text_MaxieOhItWasYou: @ 823AB33
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!$"
2019-11-01 08:41:55 +01:00
MagmaHideout_4F_Text_MaxieDefeat: @ 823ABB5
2017-11-10 02:21:31 +01:00
.string "What makes you so adept at handling\n"
.string "POKéMON?$"
2019-11-01 08:41:55 +01:00
MagmaHideout_4F_Text_MaxieImGoingAfterGroudon: @ 823ABE2
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!$"