pokeemerald/data/maps/MagmaHideout_4F/scripts.inc

225 lines
6.6 KiB
PHP

MagmaHideout_4F_MapScripts:: @ 823A55F
.byte 0
MagmaHideout_4F_EventScript_Maxie:: @ 823A560
lockall
playbgm MUS_MGM0, 0
msgbox MagmaHideout_4F_Text_MaxieAwakenGroudon, MSGBOX_DEFAULT
closemessage
delay 20
setvar VAR_RESULT, 1
playse SE_W197
dofieldeffectsparkle 18, 42, 0
waitfieldeffect FLDEFF_SPARKLE
setvar VAR_RESULT, 1
playfanfare MUS_ME_TAMA
playse SE_TAMA
special DoOrbEffect
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
delay 150
removeobject 7 @ sleeping Groudon
addobject 1 @ awakened Groudon
waitstate
delay 60
applymovement 1, MagmaHideout_4F_Movement_GroudonApproach
waitmovement 0
special FadeOutOrbEffect
waitstate
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
waitstate
applymovement 1, MagmaHideout_4F_Movement_GroudonExit
waitmovement 0
removeobject 1
delay 4
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
waitstate
delay 30
applymovement 6, MagmaHideout_4F_Movement_MaxieLookAround
waitmovement 0
msgbox MagmaHideout_4F_Text_MaxieGroudonWhatsWrong, MSGBOX_DEFAULT
closemessage
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
delay 30
applymovement 6, Common_Movement_FacePlayer
waitmovement 0
msgbox MagmaHideout_4F_Text_MaxieOhItWasYou, MSGBOX_DEFAULT
closemessage
trainerbattle_no_intro TRAINER_MAXIE_1, MagmaHideout_4F_Text_MaxieDefeat
msgbox MagmaHideout_4F_Text_MaxieImGoingAfterGroudon, MSGBOX_DEFAULT
closemessage
clearflag FLAG_HIDE_SLATEPORT_CITY_CAPTAIN_STERN
clearflag FLAG_HIDE_SLATEPORT_CITY_GABBY_AND_TY
setvar VAR_SLATEPORT_CITY_STATE, 1
setflag FLAG_GROUDON_AWAKENED_MAGMA_HIDEOUT
setvar VAR_SLATEPORT_HARBOR_STATE, 1
fadescreen 1
removeobject 6
removeobject 2
removeobject 3
removeobject 4
removeobject 5
setflag FLAG_HIDE_MAGMA_HIDEOUT_GRUNTS
fadescreen 0
releaseall
end
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
step_end
MagmaHideout_4F_Movement_GroudonExit: @ 823A67D
slide_up
slide_up
step_end
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
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
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
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
end
MagmaHideout_4F_EventScript_Tabitha:: @ 823A6D1
trainerbattle_single TRAINER_TABITHA_3, MagmaHideout_4F_Text_TabithaIntro, MagmaHideout_4F_Text_TabithaDefeat
msgbox MagmaHideout_4F_Text_TabithaPostBattle, MSGBOX_AUTOCLOSE
end
MagmaHideout_4F_Text_Grunt11Intro: @ 823A6E8
.string "I want to see GROUDON, too, but they\n"
.string "won't let me see even its tail…\p"
.string "It's got me feeling really frustrated.\p"
.string "Oh, no!\n"
.string "I blabbed about GROUDON!$"
MagmaHideout_4F_Text_Grunt11Defeat: @ 823A775
.string "I guess it's impossible to win if one\n"
.string "doesn't have a calm mind…$"
MagmaHideout_4F_Text_Grunt11PostBattle: @ 823A7B5
.string "I wonder if GROUDON even has a tail?$"
MagmaHideout_4F_Text_Grunt12Intro: @ 823A7DA
.string "Fuhahaha!\n"
.string "Soon! Very soon!\l"
.string "Our grand objective will be achieved!$"
MagmaHideout_4F_Text_Grunt12Defeat: @ 823A81B
.string "Grrr…\n"
.string "I've come so far, but now this?$"
MagmaHideout_4F_Text_Grunt12PostBattle: @ 823A841
.string "MAXIE, sir!\n"
.string "An intruder is headed your way!$"
MagmaHideout_4F_Text_Grunt13Intro: @ 823A86D
.string "You're not finished yet!\n"
.string "You're not getting by me easily!$"
MagmaHideout_4F_Text_Grunt13Defeat: @ 823A8A7
.string "Was I that easy to knock down?$"
MagmaHideout_4F_Text_Grunt13PostBattle: @ 823A8C6
.string "C-come on, one more match…$"
MagmaHideout_4F_Text_TabithaIntro: @ 823A8E1
.string "Hehehe!\n"
.string "You made it this far, so I'll tell you!\p"
.string "That's right!\n"
.string "Up ahead, GROUDON is sleeping!\p"
.string "MAXIE went to GROUDON just seconds\n"
.string "ago!\p"
.string "It's going to awaken real soon!\n"
.string "Hehe! Hehehe!$"
MagmaHideout_4F_Text_TabithaDefeat: @ 823A994
.string "Taken down again…\n"
.string "Hehe…$"
MagmaHideout_4F_Text_TabithaPostBattle: @ 823A9AC
.string "…And while you wasted time with me,\n"
.string "MAXIE should have awakened GROUDON…$"
MagmaHideout_4F_Text_MaxieAwakenGroudon: @ 823A9F4
.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"
.string "Wasn't it?\p"
.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!$"
MagmaHideout_4F_Text_MaxieGroudonWhatsWrong: @ 823AADA
.string "MAXIE: GROUDON!\n"
.string "What's wrong?\p"
.string "Wasn't the BLUE ORB the key?\p"
.string "GROUDON!\n"
.string "Where have you gone…$"
MagmaHideout_4F_Text_MaxieOhItWasYou: @ 823AB33
.string "MAXIE: Oh, so it was you?\p"
.string "I've seen you poking around uninvited\n"
.string "here and there…\p"
.string "I get it now!\n"
.string "You must have pulled a cheap stunt!$"
MagmaHideout_4F_Text_MaxieDefeat: @ 823ABB5
.string "What makes you so adept at handling\n"
.string "POKéMON?$"
MagmaHideout_4F_Text_MaxieImGoingAfterGroudon: @ 823ABE2
.string "MAXIE: There has to be some reason\n"
.string "why GROUDON fled…\p"
.string "That's what you're trying to say,\n"
.string "aren't you?\p"
.string "… … … … … …\n"
.string "… … … … … …\p"
.string "Humph…\n"
.string "You think I didn't know that?\p"
.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!$"