pokeemerald/data/maps/FarawayIsland_Entrance/scripts.inc

47 lines
1.2 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
FarawayIsland_Entrance_MapScripts:: @ 8267C8E
2019-02-22 08:28:32 +01:00
map_script MAP_SCRIPT_ON_TRANSITION, FarawayIsland_Entrance_MapScript1_267C94
2017-11-10 02:21:31 +01:00
.byte 0
FarawayIsland_Entrance_MapScript1_267C94: @ 8267C94
2019-01-02 22:12:43 +01:00
setflag FLAG_ARRIVED_ON_FARAWAY_ISLAND
2017-11-10 02:21:31 +01:00
end
FarawayIsland_Entrance_EventScript_267C98:: @ 8267C98
2018-12-24 22:23:58 +01:00
setweather WEATHER_CLOUDS
2017-11-10 02:21:31 +01:00
doweather
end
FarawayIsland_Entrance_EventScript_267C9D:: @ 8267C9D
2018-12-24 22:23:58 +01:00
setweather WEATHER_NONE
2017-11-10 02:21:31 +01:00
doweather
end
FarawayIsland_Entrance_EventScript_267CA2:: @ 8267CA2
lock
faceplayer
msgbox FarawayIsland_Entrance_Text_2C6B42, MSGBOX_YESNO
compare VAR_RESULT, 0
2018-12-22 02:28:24 +01:00
goto_if_eq FarawayIsland_Entrance_EventScript_267CE7
msgbox FarawayIsland_Entrance_Text_2A6A5D, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceDown
2017-11-10 02:21:31 +01:00
waitmovement 0
delay 30
hideobjectat 1, MAP_FARAWAY_ISLAND_ENTRANCE
2017-11-10 02:21:31 +01:00
setvar VAR_0x8004, 2
call FarawayIsland_Entrance_EventScript_272250
warp MAP_LILYCOVE_CITY_HARBOR, 255, 8, 11
2017-11-10 02:21:31 +01:00
waitstate
release
end
FarawayIsland_Entrance_EventScript_267CE7:: @ 8267CE7
msgbox FarawayIsland_Entrance_Text_2A6A82, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
FarawayIsland_Entrance_EventScript_267CF1:: @ 8267CF1
msgbox FarawayIsland_Entrance_Text_2C6D5A, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end