2020-06-21 07:56:57 +02:00
|
|
|
.set LOCALID_SAILOR, 1
|
|
|
|
.set LOCALID_SS_TIDAL, 2
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BirthIsland_Harbor_MapScripts::
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BirthIsland_Harbor_EventScript_Sailor::
|
2017-11-10 02:21:31 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
2019-09-19 23:26:25 +02:00
|
|
|
msgbox BirthIsland_Harbor_Text_SailorReturn, MSGBOX_YESNO
|
2021-11-19 05:06:30 +01:00
|
|
|
goto_if_eq VAR_RESULT, NO, BirthIsland_Harbor_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
|
2021-11-04 19:22:28 +01:00
|
|
|
applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFasterDown
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
delay 30
|
2020-06-21 07:56:57 +02:00
|
|
|
hideobjectat LOCALID_SAILOR, MAP_BIRTH_ISLAND_HARBOR
|
|
|
|
setvar VAR_0x8004, LOCALID_SS_TIDAL
|
2019-10-31 22:00:37 +01:00
|
|
|
call Common_EventScript_FerryDepartIsland
|
2021-11-15 18:04:54 +01:00
|
|
|
warp MAP_LILYCOVE_CITY_HARBOR, 8, 11
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BirthIsland_Harbor_EventScript_AsYouLike::
|
2019-09-19 23:26:25 +02:00
|
|
|
msgbox EventTicket_Text_AsYouLike, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|