2017-11-10 02:21:31 +01:00
|
|
|
BattleFrontier_BattlePikeCorridor_MapScripts:: @ 825C771
|
2019-02-22 08:28:32 +01:00
|
|
|
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePikeCorridor_MapScript2_25C77C
|
|
|
|
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePikeCorridor_MapScript2_25C7F7
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
|
|
|
BattleFrontier_BattlePikeCorridor_MapScript2_25C77C: @ 825C77C
|
2018-05-19 18:02:43 +02:00
|
|
|
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeCorridor_EventScript_25C786
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte 0
|
|
|
|
|
|
|
|
BattleFrontier_BattlePikeCorridor_EventScript_25C786:: @ 825C786
|
|
|
|
delay 16
|
2019-11-10 02:40:25 +01:00
|
|
|
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
|
2017-11-10 02:21:31 +01:00
|
|
|
setvar VAR_0x8005, 2
|
|
|
|
setvar VAR_0x8006, 1
|
2018-11-01 21:31:10 +01:00
|
|
|
special CallFrontierUtilFunc
|
2019-10-07 02:04:30 +02:00
|
|
|
setvar VAR_0x8004, BATTLE_PIKE_FUNC_CLEAR_TRAINER_IDS
|
2018-11-12 14:35:56 +01:00
|
|
|
special CallBattlePikeFunction
|
2019-10-07 02:04:30 +02:00
|
|
|
setvar VAR_0x8004, BATTLE_PIKE_FUNC_SET_HEALING_ROOMS_DISABLED
|
2017-11-10 02:21:31 +01:00
|
|
|
setvar VAR_0x8005, 1
|
2018-11-12 14:35:56 +01:00
|
|
|
special CallBattlePikeFunction
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePikeCorridor_Movement_25C80B
|
2017-11-10 02:21:31 +01:00
|
|
|
applymovement 1, BattleFrontier_BattlePikeCorridor_Movement_25C812
|
|
|
|
waitmovement 0
|
|
|
|
lockall
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox BattleFrontier_BattlePikeCorridor_Text_25C817, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
|
|
|
releaseall
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePikeCorridor_Movement_25C80E
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-10 02:40:25 +01:00
|
|
|
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
|
2017-11-10 02:21:31 +01:00
|
|
|
setvar VAR_0x8005, 0
|
|
|
|
setvar VAR_0x8006, 99
|
2018-11-01 21:31:10 +01:00
|
|
|
special CallFrontierUtilFunc
|
2017-11-10 02:21:31 +01:00
|
|
|
call BattleFrontier_BattlePikeCorridor_EventScript_25BB49
|
2018-06-15 05:00:09 +02:00
|
|
|
warpsilent MAP_BATTLE_FRONTIER_BATTLE_PIKE_THREE_PATH_ROOM, 255, 6, 10
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
|
|
|
end
|
|
|
|
|
|
|
|
BattleFrontier_BattlePikeCorridor_MapScript2_25C7F7: @ 825C7F7
|
2018-05-19 18:02:43 +02:00
|
|
|
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePikeCorridor_EventScript_25C801
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte 0
|
|
|
|
|
|
|
|
BattleFrontier_BattlePikeCorridor_EventScript_25C801:: @ 825C801
|
2018-05-19 18:02:43 +02:00
|
|
|
setvar VAR_TEMP_1, 1
|
2019-09-16 05:47:07 +02:00
|
|
|
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
BattleFrontier_BattlePikeCorridor_Movement_25C80B: @ 825C80B
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
BattleFrontier_BattlePikeCorridor_Movement_25C80E: @ 825C80E
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
set_invisible
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
BattleFrontier_BattlePikeCorridor_Movement_25C812: @ 825C812
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_left
|
|
|
|
face_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
BattleFrontier_BattlePikeCorridor_Text_25C817: @ 825C817
|
|
|
|
.string "Your Battle Choice challenge\n"
|
|
|
|
.string "has now begun…$"
|
|
|
|
|