pokeemerald/data/maps/SeafloorCavern_Entrance/scripts.inc

94 lines
3.0 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
SeafloorCavern_Entrance_MapScripts:: @ 823446E
2019-02-22 08:28:32 +01:00
map_script MAP_SCRIPT_ON_RESUME, SeafloorCavern_Entrance_MapScript1_234474
2017-11-10 02:21:31 +01:00
.byte 0
SeafloorCavern_Entrance_MapScript1_234474: @ 8234474
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
SeafloorCavern_Entrance_EventScript_234485:: @ 8234485
lockall
2019-02-28 05:54:51 +01:00
compare VAR_HAS_TALKED_TO_SEAFLOOR_CAVERN_ENTRANCE_GRUNT, 1
2018-12-22 02:28:24 +01:00
goto_if_eq SeafloorCavern_Entrance_EventScript_2344ED
2017-11-10 02:21:31 +01:00
waitse
playse SE_PIN
applymovement 1, Common_Movement_ExclamationMark
2017-11-10 02:21:31 +01:00
waitmovement 0
applymovement 1, Common_Movement_Delay48
2017-11-10 02:21:31 +01:00
waitmovement 0
delay 20
compare VAR_FACING, 3
2018-12-22 03:32:45 +01:00
call_if_eq SeafloorCavern_Entrance_EventScript_23452E
compare VAR_FACING, 4
2018-12-22 03:32:45 +01:00
call_if_eq SeafloorCavern_Entrance_EventScript_234523
compare VAR_FACING, 2
2018-12-22 03:32:45 +01:00
call_if_eq SeafloorCavern_Entrance_EventScript_234539
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
2017-11-10 02:21:31 +01:00
moveobjectoffscreen 1
msgbox SeafloorCavern_Entrance_Text_234544, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
applymovement 1, Common_Movement_WalkInPlaceUp
2017-11-10 02:21:31 +01:00
waitmovement 0
releaseall
end
SeafloorCavern_Entrance_EventScript_2344ED:: @ 82344ED
compare VAR_FACING, 3
2018-12-22 03:32:45 +01:00
call_if_eq SeafloorCavern_Entrance_EventScript_23452E
compare VAR_FACING, 4
2018-12-22 03:32:45 +01:00
call_if_eq SeafloorCavern_Entrance_EventScript_234523
compare VAR_FACING, 2
2018-12-22 03:32:45 +01:00
call_if_eq SeafloorCavern_Entrance_EventScript_234539
msgbox SeafloorCavern_Entrance_Text_2346C8, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
applymovement 1, Common_Movement_WalkInPlaceUp
2017-11-10 02:21:31 +01:00
waitmovement 0
releaseall
end
SeafloorCavern_Entrance_EventScript_234523:: @ 8234523
applymovement 1, Common_Movement_WalkInPlaceLeft
2017-11-10 02:21:31 +01:00
waitmovement 0
return
SeafloorCavern_Entrance_EventScript_23452E:: @ 823452E
applymovement 1, Common_Movement_WalkInPlaceRight
2017-11-10 02:21:31 +01:00
waitmovement 0
return
SeafloorCavern_Entrance_EventScript_234539:: @ 8234539
applymovement 1, Common_Movement_WalkInPlaceDown
2017-11-10 02:21:31 +01:00
waitmovement 0
return
SeafloorCavern_Entrance_Text_234544: @ 8234544
.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!$"
SeafloorCavern_Entrance_Text_2346C8: @ 82346C8
.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!$"