50 lines
1.3 KiB
PHP
Raw Normal View History

.set LOCALID_SAILOR, 1
.set LOCALID_SS_TIDAL, 2
2017-11-09 19:21:31 -06:00
FarawayIsland_Entrance_MapScripts:: @ 8267C8E
map_script MAP_SCRIPT_ON_TRANSITION, FarawayIsland_Entrance_OnTransition
2017-11-09 19:21:31 -06:00
.byte 0
FarawayIsland_Entrance_OnTransition: @ 8267C94
2019-01-02 21:12:43 +00:00
setflag FLAG_ARRIVED_ON_FARAWAY_ISLAND
2017-11-09 19:21:31 -06:00
end
2019-10-31 17:00:37 -04:00
FarawayIsland_Entrance_EventScript_SetCloudsWeather:: @ 8267C98
2019-12-01 19:19:47 -05:00
setweather WEATHER_SUNNY_CLOUDS
2017-11-09 19:21:31 -06:00
doweather
end
2019-10-31 17:00:37 -04:00
FarawayIsland_Entrance_EventScript_ClearWeather:: @ 8267C9D
2018-12-24 16:23:58 -05:00
setweather WEATHER_NONE
2017-11-09 19:21:31 -06:00
doweather
end
2019-10-31 17:00:37 -04:00
FarawayIsland_Entrance_EventScript_Sailor:: @ 8267CA2
2017-11-09 19:21:31 -06:00
lock
faceplayer
msgbox FarawayIsland_Entrance_Text_SailorReturn, 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 FarawayIsland_Entrance_EventScript_AsYouLike
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
hideobjectat LOCALID_SAILOR, MAP_FARAWAY_ISLAND_ENTRANCE
setvar VAR_0x8004, LOCALID_SS_TIDAL
2019-10-31 17:00:37 -04:00
call Common_EventScript_FerryDepartIsland
warp MAP_LILYCOVE_CITY_HARBOR, 255, 8, 11
2017-11-09 19:21:31 -06:00
waitstate
release
end
2019-10-31 17:00:37 -04:00
FarawayIsland_Entrance_EventScript_AsYouLike:: @ 8267CE7
msgbox EventTicket_Text_AsYouLike, MSGBOX_DEFAULT
2017-11-09 19:21:31 -06:00
release
end
2019-10-31 17:00:37 -04:00
FarawayIsland_Entrance_EventScript_Sign:: @ 8267CF1
msgbox FarawayIsland_Entrance_Text_Sign, MSGBOX_SIGN
2017-11-09 19:21:31 -06:00
end