pokeemerald/data/maps/SouthernIsland_Exterior/scripts.inc

56 lines
1.5 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
SouthernIsland_Exterior_MapScripts:: @ 82429C8
2019-04-05 01:28:37 +02:00
map_script MAP_SCRIPT_ON_TRANSITION, SouthernIsland_Exterior_OnTransition
2017-11-10 02:21:31 +01:00
.byte 0
2019-04-05 01:28:37 +02:00
SouthernIsland_Exterior_OnTransition: @ 82429CE
2017-12-27 04:20:29 +01:00
setflag FLAG_LANDMARK_SOUTHERN_ISLAND
2017-11-10 02:21:31 +01:00
end
SouthernIsland_Exterior_EventScript_2429D2:: @ 82429D2
lock
faceplayer
msgbox EventTicket_Text_SouthernIslandSailBack, MSGBOX_YESNO
compare VAR_RESULT, 0
2018-12-22 02:28:24 +01:00
goto_if_eq SouthernIsland_Exterior_EventScript_242A17
msgbox EventTicket_Text_SailHome, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
2019-10-06 19:55:30 +02:00
applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFastestDown
2017-11-10 02:21:31 +01:00
waitmovement 0
delay 30
hideobjectat 1, MAP_SOUTHERN_ISLAND_EXTERIOR
2017-11-10 02:21:31 +01:00
setvar VAR_0x8004, 2
call SouthernIsland_Exterior_EventScript_272250
warp MAP_LILYCOVE_CITY_HARBOR, 255, 8, 11
2017-11-10 02:21:31 +01:00
waitstate
release
end
SouthernIsland_Exterior_EventScript_242A17:: @ 8242A17
msgbox EventTicket_Text_AsYouLike, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
BattleFrontier_OutsideWest_EventScript_242A21:: @ 8242A21
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_OutsideWest_Movement_242A37
2017-11-10 02:21:31 +01:00
waitmovement 0
return
BattleFrontier_OutsideWest_EventScript_242A2C:: @ 8242A2C
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_OutsideWest_Movement_242A39
2017-11-10 02:21:31 +01:00
waitmovement 0
return
2017-11-10 00:40:08 +01:00
BattleFrontier_OutsideWest_Movement_242A37: @ 8242A37
walk_down
2017-11-10 00:40:08 +01:00
step_end
BattleFrontier_OutsideWest_Movement_242A39: @ 8242A39
walk_left
walk_in_place_fastest_down
2017-11-10 00:40:08 +01:00
step_end
SouthernIsland_Exterior_EventScript_242A3C:: @ 8242A3C
msgbox SouthernIsland_Exterior_Text_Sign, MSGBOX_SIGN
2017-11-10 00:40:08 +01:00
end