summaryrefslogtreecommitdiff
path: root/data/maps/BattleFrontier_BattleFactoryBattleRoom
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-11-15 12:04:54 -0500
committerGriffinR <griffin.g.richards@gmail.com>2021-11-16 10:53:00 -0500
commit04cc923d6c17edae778f14cb431991867a05cf65 (patch)
treeb6e1b5bede12da3f64293dde84b1b09f08d40053 /data/maps/BattleFrontier_BattleFactoryBattleRoom
parentc1130592faa26f4e555142c48bdc02c1378ff1ee (diff)
Handle optional arguments for warp commands, add WARP_ID_NONE
Diffstat (limited to 'data/maps/BattleFrontier_BattleFactoryBattleRoom')
-rw-r--r--data/maps/BattleFrontier_BattleFactoryBattleRoom/scripts.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/maps/BattleFrontier_BattleFactoryBattleRoom/scripts.inc b/data/maps/BattleFrontier_BattleFactoryBattleRoom/scripts.inc
index 24f5ebe10..b0529153e 100644
--- a/data/maps/BattleFrontier_BattleFactoryBattleRoom/scripts.inc
+++ b/data/maps/BattleFrontier_BattleFactoryBattleRoom/scripts.inc
@@ -119,7 +119,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_IncrementBattleNum::
switch VAR_RESULT
case 7, BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyWon
setvar VAR_0x8006, 1
- warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_PRE_BATTLE_ROOM, 255, 8, 8
+ warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_PRE_BATTLE_ROOM, 8, 8
waitstate
BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyWon::
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_WON
@@ -247,12 +247,12 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobby::
copyvar VAR_RESULT, VAR_FRONTIER_BATTLE_MODE
compare VAR_RESULT, FRONTIER_MODE_DOUBLES
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyDoubles
- warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_LOBBY, 255, 4, 8
+ warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_LOBBY, 4, 8
waitstate
end
BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyDoubles::
- warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_LOBBY, 255, 14, 8
+ warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_LOBBY, 14, 8
waitstate
end