Document legendary scripts

This commit is contained in:
GriffinR
2019-10-31 17:00:37 -04:00
committed by huderlem
parent 67ce8c9cc2
commit 8055548fa4
55 changed files with 439 additions and 446 deletions
+2 -2
View File
@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SouthernIsland_Exterior_EventScript_2429D2",
"script": "SouthernIsland_Exterior_EventScript_Sailor",
"flag": "0"
},
{
@@ -65,7 +65,7 @@
"y": 7,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "SouthernIsland_Exterior_EventScript_242A3C"
"script": "SouthernIsland_Exterior_EventScript_Sign"
}
]
}
+11 -11
View File
@@ -6,12 +6,12 @@ SouthernIsland_Exterior_OnTransition: @ 82429CE
setflag FLAG_LANDMARK_SOUTHERN_ISLAND
end
SouthernIsland_Exterior_EventScript_2429D2:: @ 82429D2
SouthernIsland_Exterior_EventScript_Sailor:: @ 82429D2
lock
faceplayer
msgbox EventTicket_Text_SouthernIslandSailBack, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq SouthernIsland_Exterior_EventScript_242A17
goto_if_eq SouthernIsland_Exterior_EventScript_AsYouLike
msgbox EventTicket_Text_SailHome, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFastestDown
@@ -19,37 +19,37 @@ SouthernIsland_Exterior_EventScript_2429D2:: @ 82429D2
delay 30
hideobjectat 1, MAP_SOUTHERN_ISLAND_EXTERIOR
setvar VAR_0x8004, 2
call SouthernIsland_Exterior_EventScript_272250
call Common_EventScript_FerryDepartIsland
warp MAP_LILYCOVE_CITY_HARBOR, 255, 8, 11
waitstate
release
end
SouthernIsland_Exterior_EventScript_242A17:: @ 8242A17
SouthernIsland_Exterior_EventScript_AsYouLike:: @ 8242A17
msgbox EventTicket_Text_AsYouLike, MSGBOX_DEFAULT
release
end
BattleFrontier_OutsideWest_EventScript_242A21:: @ 8242A21
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_OutsideWest_Movement_242A37
Ferry_EventScript_DepartIslandSouth:: @ 8242A21
applymovement EVENT_OBJ_ID_PLAYER, Ferry_EventScript_DepartIslandBoardSouth
waitmovement 0
return
BattleFrontier_OutsideWest_EventScript_242A2C:: @ 8242A2C
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_OutsideWest_Movement_242A39
Ferry_EventScript_DepartIslandWest:: @ 8242A2C
applymovement EVENT_OBJ_ID_PLAYER, Ferry_EventScript_DepartIslandBoardWest
waitmovement 0
return
BattleFrontier_OutsideWest_Movement_242A37: @ 8242A37
Ferry_EventScript_DepartIslandBoardSouth: @ 8242A37
walk_down
step_end
BattleFrontier_OutsideWest_Movement_242A39: @ 8242A39
Ferry_EventScript_DepartIslandBoardWest: @ 8242A39
walk_left
walk_in_place_fastest_down
step_end
SouthernIsland_Exterior_EventScript_242A3C:: @ 8242A3C
SouthernIsland_Exterior_EventScript_Sign:: @ 8242A3C
msgbox SouthernIsland_Exterior_Text_Sign, MSGBOX_SIGN
end