mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 03:34:15 +01:00
30 lines
744 B
PHP
30 lines
744 B
PHP
.set LOCALID_SAILOR, 1
|
|
.set LOCALID_SS_TIDAL, 2
|
|
|
|
BirthIsland_Harbor_MapScripts::
|
|
.byte 0
|
|
|
|
BirthIsland_Harbor_EventScript_Sailor::
|
|
lock
|
|
faceplayer
|
|
msgbox BirthIsland_Harbor_Text_SailorReturn, MSGBOX_YESNO
|
|
goto_if_eq VAR_RESULT, NO, BirthIsland_Harbor_EventScript_AsYouLike
|
|
msgbox EventTicket_Text_SailHome, MSGBOX_DEFAULT
|
|
closemessage
|
|
applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFasterDown
|
|
waitmovement 0
|
|
delay 30
|
|
hideobjectat LOCALID_SAILOR, MAP_BIRTH_ISLAND_HARBOR
|
|
setvar VAR_0x8004, LOCALID_SS_TIDAL
|
|
call Common_EventScript_FerryDepartIsland
|
|
warp MAP_LILYCOVE_CITY_HARBOR, 8, 11
|
|
waitstate
|
|
release
|
|
end
|
|
|
|
BirthIsland_Harbor_EventScript_AsYouLike::
|
|
msgbox EventTicket_Text_AsYouLike, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|