2020-06-21 07:56:57 +02:00
|
|
|
.equ LOCALID_WANDAS_BF, 1
|
|
|
|
.set LOCALID_BRINEY, 5
|
|
|
|
.set LOCALID_GRUNT, 6
|
|
|
|
.set LOCALID_PEEKO, 7
|
|
|
|
.equ LOCALID_WANDA, 10
|
|
|
|
|
2017-11-10 02:21:31 +01:00
|
|
|
RusturfTunnel_MapScripts:: @ 822CE27
|
2019-04-22 22:31:51 +02:00
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, RusturfTunnel_OnTransition
|
2019-11-07 02:38:53 +01:00
|
|
|
map_script MAP_SCRIPT_ON_FRAME_TABLE, RusturfTunnel_OnFrame
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_OnFrame: @ 822CE32
|
|
|
|
map_script_2 VAR_RUSTURF_TUNNEL_STATE, 4, RusturfTunnel_EventScript_ClearTunnelScene
|
|
|
|
map_script_2 VAR_RUSTURF_TUNNEL_STATE, 5, RusturfTunnel_EventScript_ClearTunnelScene
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte 0
|
|
|
|
|
2019-04-22 22:31:51 +02:00
|
|
|
RusturfTunnel_OnTransition: @ 822CE44
|
2018-08-08 10:37:12 +02:00
|
|
|
compare VAR_RUSTURF_TUNNEL_STATE, 2
|
2019-11-07 02:38:53 +01:00
|
|
|
call_if_eq RusturfTunnel_EventScript_SetAquaGruntAndPeekoPos
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_EventScript_SetAquaGruntAndPeekoPos:: @ 822CE50
|
2020-06-21 07:56:57 +02:00
|
|
|
setobjectxyperm LOCALID_PEEKO, 13, 4
|
|
|
|
setobjectxyperm LOCALID_GRUNT, 13, 5
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_EventScript_Wanda:: @ 822CE5F
|
2017-11-10 02:21:31 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
2019-11-07 02:38:53 +01:00
|
|
|
msgbox RusturfTunnel_Text_BoyfriendOnOtherSideOfRock, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2019-02-23 02:09:14 +01:00
|
|
|
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_EventScript_WandasBoyfriend:: @ 822CE76
|
2017-11-10 02:21:31 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
2019-11-07 02:38:53 +01:00
|
|
|
goto_if_set FLAG_TEMP_1, RusturfTunnel_EventScript_AlreadySpokenTo
|
2018-10-17 18:25:12 +02:00
|
|
|
setflag FLAG_TEMP_1
|
2019-11-07 02:38:53 +01:00
|
|
|
msgbox RusturfTunnel_Text_WhyCantTheyKeepDigging, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2019-02-23 02:09:14 +01:00
|
|
|
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_EventScript_AlreadySpokenTo:: @ 822CE99
|
|
|
|
msgbox RusturfTunnel_Text_ToGetToVerdanturf, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2019-02-23 02:09:14 +01:00
|
|
|
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_EventScript_ClearTunnelScene:: @ 822CEAE
|
2017-11-10 02:21:31 +01:00
|
|
|
lockall
|
2018-05-19 18:02:43 +02:00
|
|
|
compare VAR_TEMP_1, 1
|
2019-11-07 02:38:53 +01:00
|
|
|
call_if_eq RusturfTunnel_EventScript_FaceWandasBoyfriend1
|
2018-05-19 18:02:43 +02:00
|
|
|
compare VAR_TEMP_1, 2
|
2019-11-07 02:38:53 +01:00
|
|
|
call_if_eq RusturfTunnel_EventScript_FaceWandasBoyfriend2
|
2018-05-19 18:02:43 +02:00
|
|
|
compare VAR_TEMP_1, 3
|
2019-11-07 02:38:53 +01:00
|
|
|
call_if_eq RusturfTunnel_EventScript_FaceWandasBoyfriend3
|
|
|
|
call RusturfTunnel_EventScript_WandasBoyfriendNotice
|
|
|
|
msgbox RusturfTunnel_Text_YouShatteredBoulderTakeHM, MSGBOX_DEFAULT
|
2018-05-19 18:02:43 +02:00
|
|
|
compare VAR_TEMP_1, 2
|
2019-11-07 02:38:53 +01:00
|
|
|
call_if_eq RusturfTunnel_EventScript_WandasBoyfriendApproachPlayer
|
2018-05-19 18:02:43 +02:00
|
|
|
compare VAR_TEMP_1, 3
|
2019-11-07 02:38:53 +01:00
|
|
|
call_if_eq RusturfTunnel_EventScript_WandasBoyfriendApproachPlayer
|
2020-01-11 18:02:58 +01:00
|
|
|
giveitem ITEM_HM04
|
2019-01-02 22:12:43 +01:00
|
|
|
setflag FLAG_RECEIVED_HM04
|
2019-11-07 02:38:53 +01:00
|
|
|
msgbox RusturfTunnel_Text_ExplainStrength, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2018-05-19 18:02:43 +02:00
|
|
|
compare VAR_TEMP_1, 1
|
2019-11-07 02:38:53 +01:00
|
|
|
call_if_eq RusturfTunnel_EventScript_BoyfriendApproachWanda1
|
2018-05-19 18:02:43 +02:00
|
|
|
compare VAR_TEMP_1, 2
|
2019-11-07 02:38:53 +01:00
|
|
|
call_if_eq RusturfTunnel_EventScript_BoyfriendApproachWanda2
|
2018-05-19 18:02:43 +02:00
|
|
|
compare VAR_TEMP_1, 3
|
2019-11-07 02:38:53 +01:00
|
|
|
call_if_eq RusturfTunnel_EventScript_BoyfriendApproachWanda3
|
|
|
|
msgbox RusturfTunnel_Text_WandaReunion, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2018-05-19 18:02:43 +02:00
|
|
|
compare VAR_TEMP_1, 1
|
2019-11-07 02:38:53 +01:00
|
|
|
call_if_eq RusturfTunnel_EventScript_WandaAndBoyfriendExit1
|
2018-05-19 18:02:43 +02:00
|
|
|
compare VAR_TEMP_1, 2
|
2019-11-07 02:38:53 +01:00
|
|
|
call_if_eq RusturfTunnel_EventScript_WandaAndBoyfriendExit
|
2018-05-19 18:02:43 +02:00
|
|
|
compare VAR_TEMP_1, 3
|
2019-11-07 02:38:53 +01:00
|
|
|
call_if_eq RusturfTunnel_EventScript_WandaAndBoyfriendExit
|
|
|
|
call RusturfTunnel_EventScript_SetRusturfTunnelOpen
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_EventScript_BoyfriendApproachWanda1:: @ 822CF5D
|
2019-11-21 05:12:51 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, RusturfTunnel_Movement_PlayerWatchBoyfriend1
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_WANDAS_BF, RusturfTunnel_Movement_BoyfriendApproachWanda1
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_EventScript_BoyfriendApproachWanda2:: @ 822CF6F
|
2019-11-21 05:12:51 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, RusturfTunnel_Movement_PlayerWatchBoyfriend
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_WANDAS_BF, RusturfTunnel_Movement_BoyfriendApproachWanda
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_WANDA, Common_Movement_WalkInPlaceFastestDown
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_EventScript_BoyfriendApproachWanda3:: @ 822CF8B
|
2019-11-21 05:12:51 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, RusturfTunnel_Movement_PlayerWatchBoyfriend
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_WANDAS_BF, RusturfTunnel_Movement_BoyfriendApproachWanda
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_WANDA, Common_Movement_WalkInPlaceFastestDown
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_EventScript_FaceWandasBoyfriend1:: @ 822CFA7
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_WANDAS_BF, Common_Movement_WalkInPlaceFastestUp
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-21 05:12:51 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFastestDown
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_EventScript_FaceWandasBoyfriend2:: @ 822CFBC
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_WANDAS_BF, RusturfTunnel_Movement_BoyfriendFaceRight
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_EventScript_FaceWandasBoyfriend3:: @ 822CFC7
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_EventScript_WandasBoyfriendApproachPlayer:: @ 822CFC8
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_WANDAS_BF, RusturfTunnel_Movement_WandasBoyfriendApproachPlayer
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_EventScript_WandaAndBoyfriendExit1:: @ 822CFD4
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_WANDA, RusturfTunnel_Movement_WandaExit1
|
|
|
|
applymovement LOCALID_WANDAS_BF, RusturfTunnel_Movement_WandasBoyfriendExit1
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_EventScript_WandaAndBoyfriendExit:: @ 822CFE6
|
2019-11-21 05:12:51 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, RusturfTunnel_Movement_PlayerWatchWandaExit
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_WANDA, RusturfTunnel_Movement_WandaExit
|
|
|
|
applymovement LOCALID_WANDAS_BF, RusturfTunnel_Movement_WandasBoyfriendExit
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_EventScript_WandasBoyfriendNotice:: @ 822CFFF
|
2017-11-10 02:21:31 +01:00
|
|
|
playse SE_PIN
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_WANDAS_BF, Common_Movement_ExclamationMark
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_WANDAS_BF, Common_Movement_Delay48
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Movement_WandaExit1: @ 822D017
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Movement_WandaExit: @ 822D023
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Movement_PlayerWatchWandaExit: @ 822D02F
|
2018-06-14 01:19:19 +02:00
|
|
|
delay_8
|
|
|
|
walk_in_place_fastest_up
|
|
|
|
delay_16
|
|
|
|
delay_16
|
|
|
|
walk_in_place_fastest_right
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2020-01-08 10:26:26 +01:00
|
|
|
RusturfTunnel_Movement_Unused1: @ 822D035
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_left
|
|
|
|
walk_in_place_fastest_right
|
2017-11-10 08:36:41 +01:00
|
|
|
step_end
|
|
|
|
|
2020-01-08 10:26:26 +01:00
|
|
|
RusturfTunnel_Movement_Unused2: @ 822D038
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_down
|
|
|
|
walk_in_place_fastest_up
|
|
|
|
delay_8
|
|
|
|
walk_in_place_fastest_right
|
2017-11-10 08:36:41 +01:00
|
|
|
step_end
|
|
|
|
|
2020-01-08 10:26:26 +01:00
|
|
|
RusturfTunnel_Movement_Unused3: @ 822D03D
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_in_place_fastest_down
|
|
|
|
delay_8
|
|
|
|
walk_in_place_fastest_right
|
2017-11-10 08:36:41 +01:00
|
|
|
step_end
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Movement_PlayerWatchBoyfriend1: @ 822D042
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_left
|
|
|
|
walk_in_place_fastest_right
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Movement_PlayerWatchBoyfriend: @ 822D045
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
|
|
|
walk_in_place_fastest_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Movement_BoyfriendFaceRight: @ 822D048
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_in_place_fastest_right
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Movement_WandasBoyfriendExit1: @ 822D04B
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Movement_WandasBoyfriendExit: @ 822D058
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Movement_WandasBoyfriendApproachPlayer: @ 822D065
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Movement_BoyfriendApproachWanda1: @ 822D067
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_in_place_fast_up
|
|
|
|
walk_in_place_fast_up
|
|
|
|
walk_fast_up
|
|
|
|
walk_fast_right
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Movement_BoyfriendApproachWanda: @ 822D06C
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_in_place_fast_right
|
|
|
|
walk_in_place_fast_right
|
|
|
|
walk_fast_right
|
|
|
|
walk_in_place_fastest_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_EventScript_TunnelBlockagePos1:: @ 822D071
|
2018-05-19 18:02:43 +02:00
|
|
|
setvar VAR_TEMP_1, 1
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_EventScript_TunnelBlockagePos2:: @ 822D077
|
2018-05-19 18:02:43 +02:00
|
|
|
setvar VAR_TEMP_1, 2
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_EventScript_TunnelBlockagePos3:: @ 822D07D
|
2018-05-19 18:02:43 +02:00
|
|
|
setvar VAR_TEMP_1, 3
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_EventScript_AquaGruntBackUp:: @ 822D083
|
2017-11-10 02:21:31 +01:00
|
|
|
lockall
|
2019-11-07 02:38:53 +01:00
|
|
|
msgbox RusturfTunnel_Text_ComeAndGetSome, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_GRUNT, RusturfTunnel_Movement_GruntAndPeekoBackUp
|
|
|
|
applymovement LOCALID_PEEKO, RusturfTunnel_Movement_GruntAndPeekoBackUp
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2020-06-21 07:56:57 +02:00
|
|
|
copyobjectxytoperm LOCALID_GRUNT
|
|
|
|
copyobjectxytoperm LOCALID_PEEKO
|
2018-08-08 10:37:12 +02:00
|
|
|
setvar VAR_RUSTURF_TUNNEL_STATE, 3
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Movement_GruntAndPeekoBackUp: @ 822D0AB
|
2018-06-14 01:19:19 +02:00
|
|
|
lock_facing_direction
|
|
|
|
walk_right
|
|
|
|
unlock_facing_direction
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_EventScript_Peeko:: @ 822D0AF
|
2017-11-10 02:21:31 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
waitse
|
|
|
|
playmoncry SPECIES_WINGULL, 0
|
2019-11-07 02:38:53 +01:00
|
|
|
msgbox RusturfTunnel_Text_Peeko, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmoncry
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_EventScript_Grunt:: @ 822D0C2
|
2017-11-10 02:21:31 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
2020-08-21 00:02:00 +02:00
|
|
|
playbgm MUS_ENCOUNTER_AQUA, 0
|
2019-11-07 02:38:53 +01:00
|
|
|
msgbox RusturfTunnel_Text_GruntIntro, MSGBOX_DEFAULT
|
|
|
|
trainerbattle_no_intro TRAINER_GRUNT_RUSTURF_TUNNEL, RusturfTunnel_Text_GruntDefeat
|
|
|
|
msgbox RusturfTunnel_Text_GruntTakePackage, MSGBOX_DEFAULT
|
2020-01-11 18:02:58 +01:00
|
|
|
giveitem ITEM_DEVON_GOODS
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2019-11-21 05:12:51 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, RusturfTunnel_Movement_PushPlayerAsideForGrunt
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_GRUNT, RusturfTunnel_Movement_GruntEscape
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2020-06-21 07:56:57 +02:00
|
|
|
removeobject LOCALID_GRUNT
|
2017-11-10 02:21:31 +01:00
|
|
|
delay 50
|
2020-06-21 07:56:57 +02:00
|
|
|
addobject LOCALID_BRINEY
|
|
|
|
applymovement LOCALID_BRINEY, RusturfTunnel_Movement_BrineyApproachPeeko1
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-21 05:12:51 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, RusturfTunnel_Movement_PlayerMoveAsideForBriney
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_BRINEY, RusturfTunnel_Movement_BrineyApproachPeeko2
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-07 02:38:53 +01:00
|
|
|
msgbox RusturfTunnel_Text_PeekoGladToSeeYouSafe, MSGBOX_DEFAULT
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_BRINEY, Common_Movement_FacePlayer
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-07 02:38:53 +01:00
|
|
|
message RusturfTunnel_Text_ThankYouLetsGoHomePeeko
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
|
|
|
waitse
|
|
|
|
playmoncry SPECIES_WINGULL, 0
|
|
|
|
waitbuttonpress
|
|
|
|
waitmoncry
|
|
|
|
closemessage
|
2019-11-21 05:12:51 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, RusturfTunnel_Movement_PlayerWatchBrineyExit
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_BRINEY, RusturfTunnel_Movement_BrineyExit
|
|
|
|
applymovement LOCALID_PEEKO, RusturfTunnel_Movement_PeekoExit
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2020-06-21 07:56:57 +02:00
|
|
|
removeobject LOCALID_BRINEY
|
|
|
|
removeobject LOCALID_PEEKO
|
2019-01-02 22:12:43 +01:00
|
|
|
clearflag FLAG_DEVON_GOODS_STOLEN
|
|
|
|
setflag FLAG_RECOVERED_DEVON_GOODS
|
2019-08-05 17:23:45 +02:00
|
|
|
setvar VAR_RUSTBORO_CITY_STATE, 4
|
2019-02-22 10:01:38 +01:00
|
|
|
setvar VAR_BRINEY_HOUSE_STATE, 1
|
2018-10-19 19:04:47 +02:00
|
|
|
setflag FLAG_HIDE_ROUTE_116_MR_BRINEY
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Movement_PushPlayerAsideForGrunt: @ 822D178
|
2018-06-14 01:19:19 +02:00
|
|
|
face_down
|
|
|
|
lock_facing_direction
|
|
|
|
walk_up
|
|
|
|
unlock_facing_direction
|
|
|
|
walk_in_place_fastest_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Movement_PlayerMoveAsideForBriney: @ 822D17E
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_down
|
|
|
|
walk_in_place_fastest_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Movement_GruntEscape: @ 822D181
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Movement_BrineyApproachPeeko1: @ 822D18B
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Movement_BrineyExit: @ 822D193
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Movement_PlayerWatchBrineyExit: @ 822D19F
|
2018-06-14 01:19:19 +02:00
|
|
|
delay_16
|
|
|
|
delay_8
|
|
|
|
delay_4
|
|
|
|
walk_in_place_fastest_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Movement_BrineyApproachPeeko2: @ 822D1A4
|
2018-06-14 01:19:19 +02:00
|
|
|
delay_16
|
|
|
|
walk_right
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Movement_PeekoExit: @ 822D1A7
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_EventScript_Mike:: @ 822D1B1
|
|
|
|
trainerbattle_single TRAINER_MIKE_2, RusturfTunnel_Text_MikeIntro, RusturfTunnel_Text_MikeDefeat
|
|
|
|
msgbox RusturfTunnel_Text_MikePostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Text_ComeAndGetSome: @ 822D1C8
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "What, are you coming?\n"
|
|
|
|
.string "Come and get some, then!$"
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Text_Peeko: @ 822D1F7
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "PEEKO: Pii pihyoh!$"
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Text_GruntIntro: @ 822D20A
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Grah, keelhaul it all!\p"
|
|
|
|
.string "That hostage POKéMON turned out to\n"
|
|
|
|
.string "be worthless!\p"
|
|
|
|
.string "And to think I made a getaway…\n"
|
|
|
|
.string "In this tunnel to nowhere!\p"
|
|
|
|
.string "Hey! You!\n"
|
|
|
|
.string "So you want to battle me?$"
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Text_GruntDefeat: @ 822D2B0
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Urrrggh! My career in crime comes to\n"
|
|
|
|
.string "a dead end!$"
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Text_GruntTakePackage: @ 822D2E1
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "This is plain not right…\p"
|
|
|
|
.string "The BOSS told me this would be a\n"
|
|
|
|
.string "slick-and-easy job to pull.\p"
|
|
|
|
.string "All I had to do was steal some package\n"
|
|
|
|
.string "from DEVON.\p"
|
|
|
|
.string "Tch!\n"
|
|
|
|
.string "You want it back that badly, take it!$"
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Text_PeekoGladToSeeYouSafe: @ 822D395
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "PEEKO!\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Am I glad to see you're safe!$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Text_ThankYouLetsGoHomePeeko: @ 822D3BA
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "PEEKO owes her life to you!\p"
|
|
|
|
.string "They call me MR. BRINEY.\n"
|
|
|
|
.string "And, you are?\p"
|
|
|
|
.string "… … … … … … … …\n"
|
|
|
|
.string "… … … … … … … …\p"
|
|
|
|
.string "Ah, so you are {PLAYER}{KUN}!\n"
|
|
|
|
.string "I sincerely thank you!\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Now, if there's anything that troubles\n"
|
|
|
|
.string "you, don't hesitate to tell me!\p"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "You can usually find me in my cottage\n"
|
|
|
|
.string "by the sea near PETALBURG WOODS.\p"
|
|
|
|
.string "Come, PEEKO, we should make our way\n"
|
|
|
|
.string "home.\p"
|
|
|
|
.string "PEEKO: Pihyoh!$"
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Text_WhyCantTheyKeepDigging: @ 822D510
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "… …\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Why can't they keep digging?\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Is the bedrock too hard?\p"
|
|
|
|
.string "My beloved awaits me in VERDANTURF\n"
|
|
|
|
.string "TOWN just beyond here…\p"
|
|
|
|
.string "If RUSTBORO and VERDANTURF were\n"
|
|
|
|
.string "joined by this tunnel, I could visit\l"
|
|
|
|
.string "her every day…\p"
|
|
|
|
.string "But this…\n"
|
|
|
|
.string "What am I to do?$"
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Text_ToGetToVerdanturf: @ 822D5F3
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "To get from RUSTBORO to VERDANTURF,\n"
|
|
|
|
.string "you need to go to DEWFORD, then pass\l"
|
|
|
|
.string "through SLATEPORT and MAUVILLE…$"
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Text_YouShatteredBoulderTakeHM: @ 822D65C
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Wow! You shattered that boulder\n"
|
|
|
|
.string "blocking the way.\p"
|
|
|
|
.string "To show you how much I appreciate it,\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I'd like you to have this HM.$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Text_ExplainStrength: @ 822D6D2
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "That HM contains STRENGTH.\p"
|
|
|
|
.string "If a muscular POKéMON were to learn\n"
|
|
|
|
.string "that, it would be able to move even\l"
|
|
|
|
.string "large boulders.$"
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Text_WandaReunion: @ 822D745
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "WANDA!\n"
|
|
|
|
.string "Now I can see you anytime!\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "WANDA: That's…wonderful.\p"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Please, take some rest at my home.$"
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Text_BoyfriendOnOtherSideOfRock: @ 822D7A3
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "On the other side of this rock…\n"
|
|
|
|
.string "My boyfriend is there.\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "He… He's not just digging the tunnel\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "to come see me.\p"
|
|
|
|
.string "He works his hands raw and rough\n"
|
|
|
|
.string "for the benefit of everyone.$"
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Text_MikeIntro: @ 822D84D
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "What do you call a wild man up in the\n"
|
|
|
|
.string "mountains? A mountain man, right?\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "So why don't they call a POKéMON in\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "the mountains a mountain POKéMON?$"
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Text_MikeDefeat: @ 822D8DB
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "My POKéMON…\n"
|
|
|
|
.string "Ran out of power…$"
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
RusturfTunnel_Text_MikePostBattle: @ 822D8F9
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "They halted development here to\n"
|
|
|
|
.string "protect POKéMON, right?\l"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "There's a feel-good story!$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|