2020-06-21 07:56:57 +02:00
|
|
|
.set LOCALID_SAILOR, 1
|
|
|
|
.set LOCALID_SS_TIDAL, 2
|
|
|
|
|
2017-11-10 02:21:31 +01:00
|
|
|
SouthernIsland_Exterior_MapScripts:: @ 82429C8
|
2019-04-05 01:28:37 +02:00
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, SouthernIsland_Exterior_OnTransition
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2019-04-05 01:28:37 +02:00
|
|
|
SouthernIsland_Exterior_OnTransition: @ 82429CE
|
2017-12-27 04:20:29 +01:00
|
|
|
setflag FLAG_LANDMARK_SOUTHERN_ISLAND
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-10-31 22:00:37 +01:00
|
|
|
SouthernIsland_Exterior_EventScript_Sailor:: @ 82429D2
|
2017-11-10 02:21:31 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
2019-09-19 23:26:25 +02:00
|
|
|
msgbox EventTicket_Text_SouthernIslandSailBack, MSGBOX_YESNO
|
2019-11-02 17:34:53 +01:00
|
|
|
compare VAR_RESULT, NO
|
2019-10-31 22:00:37 +01:00
|
|
|
goto_if_eq SouthernIsland_Exterior_EventScript_AsYouLike
|
2019-09-19 23:26:25 +02:00
|
|
|
msgbox EventTicket_Text_SailHome, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2019-10-06 19:55:30 +02:00
|
|
|
applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFastestDown
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
delay 30
|
2020-06-21 07:56:57 +02:00
|
|
|
hideobjectat LOCALID_SAILOR, MAP_SOUTHERN_ISLAND_EXTERIOR
|
|
|
|
setvar VAR_0x8004, LOCALID_SS_TIDAL
|
2019-10-31 22:00:37 +01:00
|
|
|
call Common_EventScript_FerryDepartIsland
|
2018-06-15 05:00:09 +02:00
|
|
|
warp MAP_LILYCOVE_CITY_HARBOR, 255, 8, 11
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-10-31 22:00:37 +01:00
|
|
|
SouthernIsland_Exterior_EventScript_AsYouLike:: @ 8242A17
|
2019-09-19 23:26:25 +02:00
|
|
|
msgbox EventTicket_Text_AsYouLike, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-10-31 22:00:37 +01:00
|
|
|
Ferry_EventScript_DepartIslandSouth:: @ 8242A21
|
2019-11-21 05:12:51 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, Ferry_EventScript_DepartIslandBoardSouth
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
2019-10-31 22:00:37 +01:00
|
|
|
Ferry_EventScript_DepartIslandWest:: @ 8242A2C
|
2019-11-21 05:12:51 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, Ferry_EventScript_DepartIslandBoardWest
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
2019-10-31 22:00:37 +01:00
|
|
|
Ferry_EventScript_DepartIslandBoardSouth: @ 8242A37
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_down
|
2017-11-10 00:40:08 +01:00
|
|
|
step_end
|
|
|
|
|
2019-10-31 22:00:37 +01:00
|
|
|
Ferry_EventScript_DepartIslandBoardWest: @ 8242A39
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_left
|
|
|
|
walk_in_place_fastest_down
|
2017-11-10 00:40:08 +01:00
|
|
|
step_end
|
|
|
|
|
2019-10-31 22:00:37 +01:00
|
|
|
SouthernIsland_Exterior_EventScript_Sign:: @ 8242A3C
|
2019-09-19 23:26:25 +02:00
|
|
|
msgbox SouthernIsland_Exterior_Text_Sign, MSGBOX_SIGN
|
2017-11-10 00:40:08 +01:00
|
|
|
end
|
|
|
|
|