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