pokeemerald/data/maps/AquaHideout_B2F/scripts.inc

160 lines
5.1 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
AquaHideout_B2F_MapScripts:: @ 8233DCF
map_script MAP_SCRIPT_ON_TRANSITION, AquaHideout_B2F_OnTransition
2017-11-10 02:21:31 +01:00
.byte 0
AquaHideout_B2F_OnTransition: @ 8233DD5
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
2019-11-01 08:41:55 +01:00
AquaHideout_B2F_EventScript_PreventMattNoticing:: @ 8233DDF
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_1, 1
2017-11-10 02:21:31 +01:00
return
2019-11-01 08:41:55 +01:00
AquaHideout_B2F_EventScript_MattNoticePlayer:: @ 8233DE5
2017-11-10 02:21:31 +01:00
lockall
2019-11-01 08:41:55 +01:00
setvar VAR_0x8008, 1 @ Matt object event id
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
2019-11-01 08:41:55 +01:00
AquaHideout_B2F_EventScript_Matt:: @ 8233E09
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
2019-11-01 08:41:55 +01:00
AquaHideout_B2F_EventScript_SubmarineEscape:: @ 8233E25
setvar VAR_0x8008, 1 @ Matt object event id
setvar VAR_0x8009, 4 @ Submarine object event id
2019-10-06 19:55:30 +02:00
applymovement VAR_0x8008, Common_Movement_WalkInPlaceFastestLeft
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
2019-10-06 19:55:30 +02:00
applymovement VAR_0x8008, Common_Movement_WalkInPlaceFastestLeft
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
2019-11-01 08:41:55 +01:00
AquaHideout_B2F_Movement_SumbarineDepartLeft: @ 8233E80
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
AquaHideout_B2F_Movement_SumbarineDepartRight: @ 8233E85
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
2019-11-01 08:41:55 +01:00
AquaHideout_B2F_EventScript_Grunt4:: @ 8233E8A
trainerbattle_single TRAINER_GRUNT_4, AquaHideout_B2F_Text_Grunt4Intro, AquaHideout_B2F_Text_Grunt4Defeat, AquaHideout_B2F_EventScript_Grunt4Defeated
msgbox AquaHideout_B2F_Text_Grunt4PostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2019-11-01 08:41:55 +01:00
AquaHideout_B2F_EventScript_Grunt4Defeated:: @ 8233EA5
msgbox AquaHideout_B2F_Text_Grunt4PostBattle, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-11-01 08:41:55 +01:00
AquaHideout_B2F_EventScript_Grunt22:: @ 8233EAF
trainerbattle_single TRAINER_GRUNT_22, AquaHideout_B2F_Text_Grunt22Intro, AquaHideout_B2F_Text_Grunt22Defeat
msgbox AquaHideout_B2F_Text_Grunt22PostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2019-11-01 08:41:55 +01:00
AquaHideout_B2F_EventScript_Grunt26:: @ 8233EC6
trainerbattle_single TRAINER_GRUNT_26, AquaHideout_B2F_Text_Grunt26Intro, AquaHideout_B2F_Text_Grunt26Defeat
msgbox AquaHideout_B2F_Text_Grunt26PostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2019-11-01 08:41:55 +01:00
AquaHideout_B2F_Text_MattIntro: @ 8233EDD
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
2019-11-01 08:41:55 +01:00
AquaHideout_B2F_Text_MattDefeat: @ 8233F8D
2017-11-10 02:21:31 +01:00
.string "Hehehe…\n"
.string "So, I lost, too…$"
2019-11-01 08:41:55 +01:00
AquaHideout_B2F_Text_OurBossGotThroughHisPreparations: @ 8233FA6
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!$"
2019-11-01 08:41:55 +01:00
AquaHideout_B2F_Text_MattPostBattle: @ 8233FF2
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!$"
2019-11-01 08:41:55 +01:00
AquaHideout_B2F_Text_Grunt4Intro: @ 82340B4
2017-11-10 02:21:31 +01:00
.string "Wahahah, I grew weary of waiting!\n"
.string "You owe me a battle, too!$"
2019-11-01 08:41:55 +01:00
AquaHideout_B2F_Text_Grunt4Defeat: @ 82340F0
2017-11-10 02:21:31 +01:00
.string "Tired of waiting…\n"
.string "Lost and dazed…$"
2019-11-01 08:41:55 +01:00
AquaHideout_B2F_Text_Grunt4PostBattle: @ 8234112
2017-11-10 02:21:31 +01:00
.string "BOSS…\n"
.string "Is this good enough?$"
2019-11-01 08:41:55 +01:00
AquaHideout_B2F_Text_Grunt22Intro: @ 823412D
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
2019-11-01 08:41:55 +01:00
AquaHideout_B2F_Text_Grunt22Defeat: @ 82341CE
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
2019-11-01 08:41:55 +01:00
AquaHideout_B2F_Text_Grunt22PostBattle: @ 82341FE
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…$"
2019-11-01 08:41:55 +01:00
AquaHideout_B2F_Text_Grunt26Intro: @ 823426F
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.$"
2019-11-01 08:41:55 +01:00
AquaHideout_B2F_Text_Grunt26Defeat: @ 82342CC
2017-11-10 02:21:31 +01:00
.string "I was too occupied thinking about\n"
.string "the warp panels…$"
2019-11-01 08:41:55 +01:00
AquaHideout_B2F_Text_Grunt26PostBattle: @ 82342FF
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…$"