2020-06-21 07:56:57 +02:00
|
|
|
.set LOCALID_ATTENDANT, 1
|
|
|
|
|
2017-11-10 02:21:31 +01:00
|
|
|
BattleFrontier_BattleDomeCorridor_MapScripts:: @ 824B0FE
|
2019-12-18 08:32:52 +01:00
|
|
|
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleDomeCorridor_OnFrame
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2019-12-18 08:32:52 +01:00
|
|
|
BattleFrontier_BattleDomeCorridor_OnFrame: @ 824B104
|
|
|
|
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleDomeCorridor_EventScript_EnterCorridor
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte 0
|
|
|
|
|
2019-12-18 08:32:52 +01:00
|
|
|
BattleFrontier_BattleDomeCorridor_EventScript_EnterCorridor:: @ 824B10E
|
2017-11-10 02:21:31 +01:00
|
|
|
delay 16
|
2018-05-19 18:02:43 +02:00
|
|
|
setvar VAR_TEMP_0, 1
|
2019-11-24 22:58:40 +01:00
|
|
|
frontier_get FRONTIER_DATA_LVL_MODE
|
|
|
|
compare VAR_RESULT, FRONTIER_LVL_OPEN
|
2019-12-18 08:32:52 +01:00
|
|
|
goto_if_eq BattleFrontier_BattleDomeCorridor_EventScript_WalkToBattleRoomLvOpen
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleDomeCorridor_Movement_AttendantWalkToDoorLv50
|
2020-01-13 04:42:43 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleDomeCorridor_Movement_PlayerWalkToDoorLv50
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
opendoor 13, 3
|
|
|
|
waitdooranim
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleDomeCorridor_Movement_AttendantEnterDoorLv50
|
2020-01-13 04:42:43 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleDomeCorridor_Movement_PlayerEnterDoorLv50
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
closedoor 13, 3
|
|
|
|
waitdooranim
|
2019-12-18 08:32:52 +01:00
|
|
|
goto BattleFrontier_BattleDomeCorridor_EventScript_WarpToPreBattleRoom
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-12-18 08:32:52 +01:00
|
|
|
BattleFrontier_BattleDomeCorridor_EventScript_WalkToBattleRoomLvOpen:: @ 824B161
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleDomeCorridor_Movement_AttendantWalkToDoorLvOpen
|
2020-01-13 04:42:43 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleDomeCorridor_Movement_PlayerWalkToDoorLvOpen
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
opendoor 37, 3
|
|
|
|
waitdooranim
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleDomeCorridor_Movement_AttendantEnterDoorLvOpen
|
2020-01-13 04:42:43 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleDomeCorridor_Movement_PlayerEnterDoorLvOpen
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
closedoor 37, 3
|
|
|
|
waitdooranim
|
2019-12-18 08:32:52 +01:00
|
|
|
BattleFrontier_BattleDomeCorridor_EventScript_WarpToPreBattleRoom:: @ 824B18F
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
setvar VAR_0x8006, 0
|
2018-06-15 05:00:09 +02:00
|
|
|
warp MAP_BATTLE_FRONTIER_BATTLE_DOME_PRE_BATTLE_ROOM, 255, 5, 7
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
|
|
|
end
|
|
|
|
|
2019-12-18 08:32:52 +01:00
|
|
|
BattleFrontier_BattleDomeCorridor_Movement_PlayerWalkToDoorLv50: @ 824B1A1
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_in_place_fastest_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-12-18 08:32:52 +01:00
|
|
|
BattleFrontier_BattleDomeCorridor_Movement_PlayerEnterDoorLv50: @ 824B1AE
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
set_invisible
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-12-18 08:32:52 +01:00
|
|
|
BattleFrontier_BattleDomeCorridor_Movement_AttendantWalkToDoorLv50: @ 824B1B2
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-12-18 08:32:52 +01:00
|
|
|
BattleFrontier_BattleDomeCorridor_Movement_AttendantEnterDoorLv50: @ 824B1BE
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
set_invisible
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-12-18 08:32:52 +01:00
|
|
|
BattleFrontier_BattleDomeCorridor_Movement_PlayerWalkToDoorLvOpen: @ 824B1C1
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_in_place_fastest_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-12-18 08:32:52 +01:00
|
|
|
BattleFrontier_BattleDomeCorridor_Movement_PlayerEnterDoorLvOpen: @ 824B1D2
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
set_invisible
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-12-18 08:32:52 +01:00
|
|
|
BattleFrontier_BattleDomeCorridor_Movement_AttendantWalkToDoorLvOpen: @ 824B1D6
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-12-18 08:32:52 +01:00
|
|
|
BattleFrontier_BattleDomeCorridor_Movement_AttendantEnterDoorLvOpen: @ 824B1E6
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
set_invisible
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-12-18 08:32:52 +01:00
|
|
|
@ Unused
|
|
|
|
BattleFrontier_BattleDomeCorridor_Movement_WalkToBattleRoomMidRight: @ 824B1E9
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
set_invisible
|
2017-11-10 00:40:08 +01:00
|
|
|
step_end
|