mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-29 13:50:42 +01:00
31 lines
776 B
PHP
31 lines
776 B
PHP
.set LOCALID_SAILOR, 1
|
|
.set LOCALID_SS_TIDAL, 2
|
|
|
|
NavelRock_Harbor_MapScripts:: @ 82690BC
|
|
.byte 0
|
|
|
|
NavelRock_Harbor_EventScript_Sailor:: @ 82690BD
|
|
lock
|
|
faceplayer
|
|
msgbox NavelRock_Harbor_Text_SailorReturn, MSGBOX_YESNO
|
|
compare VAR_RESULT, NO
|
|
goto_if_eq NavelRock_Harbor_EventScript_AsYouLike
|
|
msgbox EventTicket_Text_SailHome, MSGBOX_DEFAULT
|
|
closemessage
|
|
applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFastestDown
|
|
waitmovement 0
|
|
delay 30
|
|
hideobjectat LOCALID_SAILOR, MAP_NAVEL_ROCK_HARBOR
|
|
setvar VAR_0x8004, LOCALID_SS_TIDAL
|
|
call Common_EventScript_FerryDepartIsland
|
|
warp MAP_LILYCOVE_CITY_HARBOR, 255, 8, 11
|
|
waitstate
|
|
release
|
|
end
|
|
|
|
NavelRock_Harbor_EventScript_AsYouLike:: @ 8269102
|
|
msgbox EventTicket_Text_AsYouLike, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|