summaryrefslogtreecommitdiff
path: root/data/scripts/maps/BattleFrontier_BattleFactoryBattleRoom.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/scripts/maps/BattleFrontier_BattleFactoryBattleRoom.inc')
-rw-r--r--data/scripts/maps/BattleFrontier_BattleFactoryBattleRoom.inc40
1 files changed, 20 insertions, 20 deletions
diff --git a/data/scripts/maps/BattleFrontier_BattleFactoryBattleRoom.inc b/data/scripts/maps/BattleFrontier_BattleFactoryBattleRoom.inc
index 2d21f080c..7d1c57f66 100644
--- a/data/scripts/maps/BattleFrontier_BattleFactoryBattleRoom.inc
+++ b/data/scripts/maps/BattleFrontier_BattleFactoryBattleRoom.inc
@@ -8,14 +8,14 @@ BattleFrontier_BattleFactoryBattleRoom_MapScript1_25ADBB: @ 825ADBB
setvar VAR_0x8004, 5
special sub_81A1780
checkplayergender
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
call_if 1, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE25
- compare_var_to_value VAR_RESULT, 1
+ compare VAR_RESULT, 1
call_if 1, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE2B
setvar VAR_0x8004, 9
special sub_81A1780
copyvar VAR_0x400F, VAR_RESULT
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25ADF3
end
@@ -31,7 +31,7 @@ BattleFrontier_BattleFactoryBattleRoom_MapScript2_25AE00: @ 825AE00
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE0A:: @ 825AE0A
setvar VAR_0x4001, 1
hideobjectat 255, BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM
- compare_var_to_value VAR_0x400F, 0
+ compare VAR_0x400F, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE24
hideobjectat 2, BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM
@@ -62,7 +62,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE3B:: @ 825AE3B
end
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE67:: @ 825AE67
- compare_var_to_value VAR_0x400F, 0
+ compare VAR_0x400F, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE3B
applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B
applymovement 255, BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B
@@ -77,7 +77,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE67:: @ 825AE67
waitmovement 0
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEA7:: @ 825AEA7
- compare_var_to_value VAR_0x400F, 0
+ compare VAR_0x400F, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF9C
setvar VAR_0x8004, 5
special sub_8195960
@@ -89,7 +89,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEA7:: @ 825AEA7
setvar VAR_0x8005, 6
setvar VAR_0x8006, 0
special sub_81A1780
- special sp000_heal_pokemon
+ special HealPlayerParty
setvar VAR_0x8004, 6
setvar VAR_0x8005, 0
special sub_8163AC4
@@ -110,7 +110,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF0F:: @ 825AF0F
setvar VAR_0x8004, 1
setvar VAR_0x8005, 3
special sub_81A5E74
- compare_var_to_value VAR_RESULT, 9999
+ compare VAR_RESULT, 9999
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF3E
addvar VAR_RESULT, 1
setorcopyvar VAR_0x8006, VAR_RESULT
@@ -151,7 +151,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF9C:: @ 825AF9C
setvar VAR_0x8004, 1
setvar VAR_0x8005, 7
special sub_81A1780
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AFEF
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B1FB, 4
setvar VAR_0x8004, 2
@@ -161,20 +161,20 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF9C:: @ 825AF9C
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AFEF:: @ 825AFEF
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B3F1, 4
call BattleFrontier_BattleFactoryBattleRoom_EventScript_25B0E0
- compare_var_to_value VAR_RESULT, 1
+ compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B00C
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEF8
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B00C:: @ 825B00C
setvar VAR_0x8004, 12
special sub_81A1780
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B42D, 4
closemessage
applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_25B182
waitmovement 0
- playfanfare BGM_ME_BATTLE_SYMBOL
+ playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattleFactoryBattleRoom_Text_25B460
waitmessage
waitfanfare
@@ -187,7 +187,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B051:: @ 825B051
setvar VAR_0x8004, 1
setvar VAR_0x8005, 7
special sub_81A1780
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
goto_if 5, BattleFrontier_BattleFactoryBattleRoom_EventScript_25B07E
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B517, 4
setvar VAR_0x8004, 2
@@ -197,20 +197,20 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B051:: @ 825B051
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B07E:: @ 825B07E
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B5CF, 4
call BattleFrontier_BattleFactoryBattleRoom_EventScript_25B0E0
- compare_var_to_value VAR_RESULT, 1
+ compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B09B
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEF8
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B09B:: @ 825B09B
setvar VAR_0x8004, 12
special sub_81A1780
- compare_var_to_value VAR_RESULT, 2
+ compare VAR_RESULT, 2
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B5E7, 4
waitmessage
applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_25B182
waitmovement 0
- playfanfare BGM_ME_BATTLE_SYMBOL
+ playfanfare MUS_ME_SYMBOLGET
message BattleFrontier_BattleFactoryBattleRoom_Text_25B640
waitmessage
waitfanfare
@@ -225,7 +225,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B0E0:: @ 825B0E0
setvar VAR_0x8005, 6
setvar VAR_0x8006, 0
special sub_81A1780
- special sp000_heal_pokemon
+ special HealPlayerParty
setvar VAR_0x8004, 6
setvar VAR_0x8005, 0
special sub_8163AC4
@@ -236,7 +236,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105:: @ 825B105
setvar VAR_0x8004, 1
setvar VAR_0x8005, 3
special sub_81A5E74
- compare_var_to_value VAR_RESULT, 9999
+ compare VAR_RESULT, 9999
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF3E
addvar VAR_RESULT, 1
setorcopyvar VAR_0x8006, VAR_RESULT
@@ -246,7 +246,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105:: @ 825B105
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
special sub_81A5E74
- compare_var_to_value VAR_RESULT, 9999
+ compare VAR_RESULT, 9999
goto_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF43
addvar VAR_RESULT, 1
setvar VAR_0x8004, 2
@@ -292,7 +292,7 @@ BattleFrontier_BattleFactoryBattleRoom_Movement_25B18B: @ 825B18B
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B190:: @ 825B190
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25B190:: @ 825B190
copyvar VAR_RESULT, VAR_0x40CE
- compare_var_to_value VAR_RESULT, 1
+ compare VAR_RESULT, 1
goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25B1AA
warp BATTLE_FRONTIER_BATTLE_FACTORY_LOBBY, 255, 4, 8
waitstate