pokeemerald/data/maps/BattleFrontier_BattleArenaC.../scripts.inc

93 lines
2.2 KiB
PHP
Raw Normal View History

.set LOCALID_ATTENDANT, 1
2017-11-10 01:21:31 +00:00
BattleFrontier_BattleArenaCorridor_MapScripts:: @ 82573B9
2019-11-26 22:20:08 +00:00
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleArenaCorridor_OnFrame
2017-11-10 01:21:31 +00:00
.byte 0
2019-11-26 22:20:08 +00:00
BattleFrontier_BattleArenaCorridor_OnFrame: @ 82573BF
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleArenaCorridor_EventScript_WalkToBattleRoom
2017-11-10 01:21:31 +00:00
.2byte 0
2019-11-26 22:20:08 +00:00
BattleFrontier_BattleArenaCorridor_EventScript_WalkToBattleRoom:: @ 82573C9
2017-11-10 01:21:31 +00:00
delay 16
2018-05-19 16:02:43 +00:00
setvar VAR_TEMP_0, 1
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleArenaCorridor_Movement_AttendantWalkToDoor
2019-11-27 17:51:10 +00:00
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleArenaCorridor_Movement_PlayerWalkToDoor
2017-11-10 01:21:31 +00:00
waitmovement 0
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleArenaCorridor_Movement_AttendantFacePlayer
2017-11-10 01:21:31 +00:00
waitmovement 0
2019-11-26 22:20:08 +00:00
msgbox BattleFrontier_BattleArenaCorridor_Text_PleaseStepIn, MSGBOX_SIGN
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleArenaCorridor_Movement_AttendantMoveOutOfWay
2017-11-10 01:21:31 +00:00
waitmovement 0
2019-11-27 17:51:10 +00:00
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleArenaCorridor_Movement_PlayerEnterDoor
2017-11-10 01:21:31 +00:00
waitmovement 0
setvar VAR_0x8006, 0
warp MAP_BATTLE_FRONTIER_BATTLE_ARENA_BATTLE_ROOM, 255, 7, 5
2017-11-10 01:21:31 +00:00
waitstate
end
2019-11-26 22:20:08 +00:00
BattleFrontier_BattleArenaCorridor_Movement_PlayerWalkToDoor: @ 8257417
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 01:21:31 +00:00
step_end
2019-11-26 22:20:08 +00:00
BattleFrontier_BattleArenaCorridor_Movement_PlayerEnterDoor: @ 825742C
walk_right
set_invisible
2017-11-10 01:21:31 +00:00
step_end
2019-11-26 22:20:08 +00:00
BattleFrontier_BattleArenaCorridor_Movement_AttendantWalkToDoor: @ 825742F
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 01:21:31 +00:00
step_end
2019-11-26 22:20:08 +00:00
BattleFrontier_BattleArenaCorridor_Movement_AttendantFacePlayer: @ 8257444
walk_in_place_fastest_left
2017-11-10 01:21:31 +00:00
step_end
2019-11-26 22:20:08 +00:00
BattleFrontier_BattleArenaCorridor_Movement_AttendantMoveOutOfWay: @ 8257446
walk_up
walk_in_place_fastest_down
2017-11-10 01:21:31 +00:00
step_end
2019-11-26 22:20:08 +00:00
BattleFrontier_BattleArenaCorridor_Text_PleaseStepIn: @ 8257449
2017-11-10 01:21:31 +00:00
.string "Your battles shall be waged in\n"
.string "the next room. Please step in!$"