pokeemerald/data/maps/AquaHideout_B2F/scripts.inc

163 lines
4.9 KiB
PHP
Raw Normal View History

.set LOCALID_MATT, 1
.set LOCALID_SUBMARINE, 4
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, AquaHideout_B2F_OnTransition
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_OnTransition:
2019-11-01 08:41:55 +01:00
call_if_set FLAG_TEAM_AQUA_ESCAPED_IN_SUBMARINE, AquaHideout_B2F_EventScript_PreventMattNoticing
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_EventScript_PreventMattNoticing::
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_1, 1
2017-11-10 02:21:31 +01:00
return
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_EventScript_MattNoticePlayer::
2017-11-10 02:21:31 +01:00
lockall
setvar VAR_0x8008, LOCALID_MATT
2017-11-10 02:21:31 +01:00
playse SE_PIN
applymovement VAR_0x8008, Common_Movement_ExclamationMark
2017-11-10 02:21:31 +01:00
waitmovement 0
applymovement VAR_0x8008, Common_Movement_FacePlayer
2017-11-10 02:21:31 +01:00
waitmovement 0
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_1, 1
2017-11-10 02:21:31 +01:00
releaseall
end
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_EventScript_Matt::
2019-11-01 08:41:55 +01:00
trainerbattle_single TRAINER_MATT, AquaHideout_B2F_Text_MattIntro, AquaHideout_B2F_Text_MattDefeat, AquaHideout_B2F_EventScript_SubmarineEscape
msgbox AquaHideout_B2F_Text_MattPostBattle, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_EventScript_SubmarineEscape::
setvar VAR_0x8008, LOCALID_MATT
setvar VAR_0x8009, LOCALID_SUBMARINE
applymovement VAR_0x8008, Common_Movement_WalkInPlaceFasterLeft
2017-11-10 02:21:31 +01:00
waitmovement 0
delay 20
applymovement VAR_0x8008, Common_Movement_FacePlayer
2017-11-10 02:21:31 +01:00
waitmovement 0
2019-11-01 08:41:55 +01:00
msgbox AquaHideout_B2F_Text_OurBossGotThroughHisPreparations, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
applymovement VAR_0x8008, Common_Movement_WalkInPlaceFasterLeft
2019-11-01 08:41:55 +01:00
applymovement VAR_0x8009, AquaHideout_B2F_Movement_SumbarineDepartLeft
2017-11-10 02:21:31 +01:00
waitmovement 0
removeobject VAR_0x8009
delay 20
applymovement VAR_0x8008, Common_Movement_FacePlayer
2017-11-10 02:21:31 +01:00
waitmovement 0
2019-11-01 08:41:55 +01:00
msgbox AquaHideout_B2F_Text_MattPostBattle, MSGBOX_DEFAULT
2019-01-02 22:12:43 +01:00
setflag FLAG_TEAM_AQUA_ESCAPED_IN_SUBMARINE
setflag FLAG_HIDE_LILYCOVE_CITY_AQUA_GRUNTS
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_Movement_SumbarineDepartLeft:
walk_left
walk_left
walk_left
walk_left
2017-11-10 02:21:31 +01:00
step_end
2019-11-01 08:41:55 +01:00
@ Unused
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_Movement_SumbarineDepartRight:
walk_right
walk_right
walk_right
walk_right
2017-11-10 00:40:08 +01:00
step_end
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_EventScript_Grunt4::
trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_4, AquaHideout_B2F_Text_Grunt4Intro, AquaHideout_B2F_Text_Grunt4Defeat, AquaHideout_B2F_EventScript_Grunt4Defeated
2019-11-01 08:41:55 +01:00
msgbox AquaHideout_B2F_Text_Grunt4PostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_EventScript_Grunt4Defeated::
2019-11-01 08:41:55 +01:00
msgbox AquaHideout_B2F_Text_Grunt4PostBattle, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_EventScript_Grunt6::
trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_6, AquaHideout_B2F_Text_Grunt6Intro, AquaHideout_B2F_Text_Grunt6Defeat
msgbox AquaHideout_B2F_Text_Grunt6PostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_EventScript_Grunt8::
trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_8, AquaHideout_B2F_Text_Grunt8Intro, AquaHideout_B2F_Text_Grunt8Defeat
msgbox AquaHideout_B2F_Text_Grunt8PostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_Text_MattIntro:
2017-11-10 02:21:31 +01:00
.string "Hehehe…\p"
.string "Got here already, did you?\n"
.string "We underestimated you!\p"
.string "But this is it!\p"
2018-12-07 16:41:08 +01:00
.string "I'm a cut above the GRUNTS you've seen\n"
2017-11-10 02:21:31 +01:00
.string "so far.\p"
2018-12-07 16:41:08 +01:00
.string "I'm not stalling for time.\n"
.string "I'm going to pulverize you!$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_Text_MattDefeat:
2017-11-10 02:21:31 +01:00
.string "Hehehe…\n"
.string "So, I lost, too…$"
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_Text_OurBossGotThroughHisPreparations:
2017-11-10 02:21:31 +01:00
.string "Hehehe!\p"
.string "While I was toying with you, our BOSS\n"
.string "got through his preparations!$"
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_Text_MattPostBattle:
2017-11-10 02:21:31 +01:00
.string "Hehehe!\p"
.string "Our BOSS has already gone on his way to\n"
.string "some cave under the sea!\p"
2018-12-07 16:41:08 +01:00
.string "If you're going to give chase, you'd\n"
2017-11-10 02:21:31 +01:00
.string "better search the big, wide sea beyond\l"
.string "LILYCOVE.\p"
.string "But will you find it then?\n"
.string "Hehehe!$"
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_Text_Grunt4Intro:
2017-11-10 02:21:31 +01:00
.string "Wahahah, I grew weary of waiting!\n"
.string "You owe me a battle, too!$"
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_Text_Grunt4Defeat:
2017-11-10 02:21:31 +01:00
.string "Tired of waiting…\n"
.string "Lost and dazed…$"
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_Text_Grunt4PostBattle:
2017-11-10 02:21:31 +01:00
.string "BOSS…\n"
.string "Is this good enough?$"
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_Text_Grunt6Intro:
2018-12-07 16:41:08 +01:00
.string "Warp panels, the HIDEOUT's pride\n"
2017-11-10 02:21:31 +01:00
.string "and joy!\p"
2018-12-07 16:41:08 +01:00
.string "You're clueless about where you are,\n"
.string "aren't you?\p"
2017-11-10 02:21:31 +01:00
.string "Fluster and tire out the enemy, then\n"
2018-12-07 16:41:08 +01:00
.string "lower the boom! That's our plan!$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_Text_Grunt6Defeat:
2018-12-07 16:41:08 +01:00
.string "What's wrong with you?\n"
.string "You're not tired at all!$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_Text_Grunt6PostBattle:
2018-12-07 16:41:08 +01:00
.string "That reminds me… I can't remember\n"
2017-11-10 02:21:31 +01:00
.string "where I put the MASTER BALL.\p"
.string "If I fail to guard it, our BOSS will\n"
.string "chew me out…$"
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_Text_Grunt8Intro:
2017-11-10 02:21:31 +01:00
.string "When I joined TEAM AQUA, the first\n"
.string "thing I had to learn was how these\l"
.string "warp panels connected.$"
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_Text_Grunt8Defeat:
2017-11-10 02:21:31 +01:00
.string "I was too occupied thinking about\n"
.string "the warp panels…$"
2021-07-20 21:18:31 +02:00
AquaHideout_B2F_Text_Grunt8PostBattle:
2018-12-07 16:41:08 +01:00
.string "I'll have to learn about how I can\n"
2017-11-10 02:21:31 +01:00
.string "battle more effectively…$"