2020-06-21 07:56:57 +02:00
|
|
|
.set LOCALID_ATTENDANT, 1
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_BattleArenaCorridor_MapScripts::
|
2019-11-26 23:20:08 +01:00
|
|
|
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleArenaCorridor_OnFrame
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_BattleArenaCorridor_OnFrame:
|
2019-11-26 23:20:08 +01:00
|
|
|
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleArenaCorridor_EventScript_WalkToBattleRoom
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte 0
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_BattleArenaCorridor_EventScript_WalkToBattleRoom::
|
2017-11-10 02:21:31 +01:00
|
|
|
delay 16
|
2018-05-19 18:02:43 +02:00
|
|
|
setvar VAR_TEMP_0, 1
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleArenaCorridor_Movement_AttendantWalkToDoor
|
2019-11-27 18:51:10 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleArenaCorridor_Movement_PlayerWalkToDoor
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleArenaCorridor_Movement_AttendantFacePlayer
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-26 23:20:08 +01:00
|
|
|
msgbox BattleFrontier_BattleArenaCorridor_Text_PleaseStepIn, MSGBOX_SIGN
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleArenaCorridor_Movement_AttendantMoveOutOfWay
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-27 18:51:10 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleArenaCorridor_Movement_PlayerEnterDoor
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
setvar VAR_0x8006, 0
|
2021-11-15 18:04:54 +01:00
|
|
|
warp MAP_BATTLE_FRONTIER_BATTLE_ARENA_BATTLE_ROOM, 7, 5
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_BattleArenaCorridor_Movement_PlayerWalkToDoor:
|
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_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_BattleArenaCorridor_Movement_PlayerEnterDoor:
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
|
|
|
set_invisible
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_BattleArenaCorridor_Movement_AttendantWalkToDoor:
|
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_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
|
|
|
walk_right
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_BattleArenaCorridor_Movement_AttendantFacePlayer:
|
2021-11-04 19:22:28 +01:00
|
|
|
walk_in_place_faster_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_BattleArenaCorridor_Movement_AttendantMoveOutOfWay:
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
2021-11-04 19:22:28 +01:00
|
|
|
walk_in_place_faster_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
BattleFrontier_BattleArenaCorridor_Text_PleaseStepIn:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Your battles shall be waged in\n"
|
|
|
|
.string "the next room. Please step in!$"
|
|
|
|
|