2017-11-10 02:21:31 +01:00
|
|
|
SeafloorCavern_Entrance_MapScripts:: @ 823446E
|
2019-12-04 19:10:39 +01:00
|
|
|
map_script MAP_SCRIPT_ON_RESUME, SeafloorCavern_Entrance_OnResume
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2019-12-04 19:10:39 +01:00
|
|
|
SeafloorCavern_Entrance_OnResume: @ 8234474
|
2018-06-15 05:00:09 +02:00
|
|
|
setdivewarp MAP_UNDERWATER_SEAFLOOR_CAVERN, 255, 6, 5
|
|
|
|
setescapewarp MAP_UNDERWATER_SEAFLOOR_CAVERN, 255, 6, 5
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-12-04 19:10:39 +01:00
|
|
|
SeafloorCavern_Entrance_EventScript_Grunt:: @ 8234485
|
2017-11-10 02:21:31 +01:00
|
|
|
lockall
|
2019-02-28 05:54:51 +01:00
|
|
|
compare VAR_HAS_TALKED_TO_SEAFLOOR_CAVERN_ENTRANCE_GRUNT, 1
|
2019-12-04 19:10:39 +01:00
|
|
|
goto_if_eq SeafloorCavern_Entrance_EventScript_GruntSpeechShort
|
2017-11-10 02:21:31 +01:00
|
|
|
waitse
|
|
|
|
playse SE_PIN
|
2019-02-23 02:09:14 +01:00
|
|
|
applymovement 1, Common_Movement_ExclamationMark
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-02-23 02:09:14 +01:00
|
|
|
applymovement 1, Common_Movement_Delay48
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
delay 20
|
2019-10-07 06:14:10 +02:00
|
|
|
compare VAR_FACING, DIR_WEST
|
2019-12-04 19:10:39 +01:00
|
|
|
call_if_eq SeafloorCavern_Entrance_EventScript_GruntFacePlayerWest
|
2019-10-07 06:14:10 +02:00
|
|
|
compare VAR_FACING, DIR_EAST
|
2019-12-04 19:10:39 +01:00
|
|
|
call_if_eq SeafloorCavern_Entrance_EventScript_GruntFacePlayerEast
|
2019-10-07 06:14:10 +02:00
|
|
|
compare VAR_FACING, DIR_NORTH
|
2019-12-04 19:10:39 +01:00
|
|
|
call_if_eq SeafloorCavern_Entrance_EventScript_GruntFacePlayerNorth
|
2017-11-10 02:21:31 +01:00
|
|
|
delay 30
|
2019-02-28 05:54:51 +01:00
|
|
|
setvar VAR_HAS_TALKED_TO_SEAFLOOR_CAVERN_ENTRANCE_GRUNT, 1
|
2019-08-17 16:38:02 +02:00
|
|
|
copyobjectxytoperm 1
|
2019-12-04 19:10:39 +01:00
|
|
|
msgbox SeafloorCavern_Entrance_Text_HearMagmaNearMossdeep, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2019-10-06 19:55:30 +02:00
|
|
|
applymovement 1, Common_Movement_WalkInPlaceFastestUp
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2019-12-04 19:10:39 +01:00
|
|
|
SeafloorCavern_Entrance_EventScript_GruntSpeechShort:: @ 82344ED
|
2019-10-07 06:14:10 +02:00
|
|
|
compare VAR_FACING, DIR_WEST
|
2019-12-04 19:10:39 +01:00
|
|
|
call_if_eq SeafloorCavern_Entrance_EventScript_GruntFacePlayerWest
|
2019-10-07 06:14:10 +02:00
|
|
|
compare VAR_FACING, DIR_EAST
|
2019-12-04 19:10:39 +01:00
|
|
|
call_if_eq SeafloorCavern_Entrance_EventScript_GruntFacePlayerEast
|
2019-10-07 06:14:10 +02:00
|
|
|
compare VAR_FACING, DIR_NORTH
|
2019-12-04 19:10:39 +01:00
|
|
|
call_if_eq SeafloorCavern_Entrance_EventScript_GruntFacePlayerNorth
|
|
|
|
msgbox SeafloorCavern_Entrance_Text_HearMagmaNearMossdeepShort, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2019-10-06 19:55:30 +02:00
|
|
|
applymovement 1, Common_Movement_WalkInPlaceFastestUp
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2019-12-04 19:10:39 +01:00
|
|
|
SeafloorCavern_Entrance_EventScript_GruntFacePlayerEast:: @ 8234523
|
2019-10-06 19:55:30 +02:00
|
|
|
applymovement 1, Common_Movement_WalkInPlaceFastestLeft
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
2019-12-04 19:10:39 +01:00
|
|
|
SeafloorCavern_Entrance_EventScript_GruntFacePlayerWest:: @ 823452E
|
2019-10-06 19:55:30 +02:00
|
|
|
applymovement 1, Common_Movement_WalkInPlaceFastestRight
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
2019-12-04 19:10:39 +01:00
|
|
|
SeafloorCavern_Entrance_EventScript_GruntFacePlayerNorth:: @ 8234539
|
2019-10-06 19:55:30 +02:00
|
|
|
applymovement 1, Common_Movement_WalkInPlaceFastestDown
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
2019-12-04 19:10:39 +01:00
|
|
|
SeafloorCavern_Entrance_Text_HearMagmaNearMossdeep: @ 8234544
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Hey!\n"
|
|
|
|
.string "I remember your face!\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "If you're here, it must mean that\n"
|
|
|
|
.string "you're about to mess with us again!\p"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "A punk like you, do you really think\n"
|
|
|
|
.string "you can take on TEAM AQUA?\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I'd say you're too early by about\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "a trillion years!\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "You're a perfect fit for the likes of\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "TEAM MAGMA!\p"
|
|
|
|
.string "Speaking of TEAM MAGMA, I hear they\n"
|
|
|
|
.string "were spotted near MOSSDEEP.\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "That bunch of goons, they sure don't\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "look good near the sea!$"
|
|
|
|
|
2019-12-04 19:10:39 +01:00
|
|
|
SeafloorCavern_Entrance_Text_HearMagmaNearMossdeepShort: @ 82346C8
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "A punk like you, do you really think\n"
|
|
|
|
.string "you can take on TEAM AQUA?\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I'd say you're too early by about\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "a trillion years!\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "You're a perfect fit for the likes of\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "TEAM MAGMA!\p"
|
|
|
|
.string "Speaking of TEAM MAGMA, I hear they\n"
|
|
|
|
.string "were spotted near MOSSDEEP.\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "That bunch of goons, they sure don't\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "look good near the sea!$"
|
|
|
|
|