30 lines
732 B
PHP
Raw Normal View History

.set LOCALID_SAILOR, 1
.set LOCALID_SS_TIDAL, 2
2021-07-20 15:18:31 -04:00
NavelRock_Harbor_MapScripts::
2017-11-09 19:21:31 -06:00
.byte 0
2021-07-20 15:18:31 -04:00
NavelRock_Harbor_EventScript_Sailor::
2017-11-09 19:21:31 -06:00
lock
faceplayer
msgbox NavelRock_Harbor_Text_SailorReturn, MSGBOX_YESNO
goto_if_eq VAR_RESULT, NO, NavelRock_Harbor_EventScript_AsYouLike
msgbox EventTicket_Text_SailHome, MSGBOX_DEFAULT
2017-11-09 19:21:31 -06:00
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFasterDown
2017-11-09 19:21:31 -06:00
waitmovement 0
delay 30
hideobjectat LOCALID_SAILOR, MAP_NAVEL_ROCK_HARBOR
setvar VAR_0x8004, LOCALID_SS_TIDAL
2019-10-31 17:00:37 -04:00
call Common_EventScript_FerryDepartIsland
warp MAP_LILYCOVE_CITY_HARBOR, 8, 11
2017-11-09 19:21:31 -06:00
waitstate
release
end
2021-07-20 15:18:31 -04:00
NavelRock_Harbor_EventScript_AsYouLike::
msgbox EventTicket_Text_AsYouLike, MSGBOX_DEFAULT
2017-11-09 19:21:31 -06:00
release
end