summaryrefslogtreecommitdiff
path: root/data/scripts/maps/DewfordTown_Gym.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/scripts/maps/DewfordTown_Gym.inc')
-rw-r--r--data/scripts/maps/DewfordTown_Gym.inc38
1 files changed, 19 insertions, 19 deletions
diff --git a/data/scripts/maps/DewfordTown_Gym.inc b/data/scripts/maps/DewfordTown_Gym.inc
index a3f996f25..6acd67792 100644
--- a/data/scripts/maps/DewfordTown_Gym.inc
+++ b/data/scripts/maps/DewfordTown_Gym.inc
@@ -11,17 +11,17 @@ DewfordTown_Gym_EventScript_1FC648:: @ 81FC648
goto_eq DewfordTown_Gym_EventScript_1FC6A2
call DewfordTown_Gym_EventScript_1FC768
copyvar VAR_0x8001, VAR_0x8000
- compare_var_to_value VAR_0x8000, 0
+ compare VAR_0x8000, 0
goto_eq DewfordTown_Gym_EventScript_1FC6BE
- compare_var_to_value VAR_0x8000, 1
+ compare VAR_0x8000, 1
goto_eq DewfordTown_Gym_EventScript_1FC6BA
- compare_var_to_value VAR_0x8000, 2
+ compare VAR_0x8000, 2
goto_eq DewfordTown_Gym_EventScript_1FC6B6
- compare_var_to_value VAR_0x8000, 3
+ compare VAR_0x8000, 3
goto_eq DewfordTown_Gym_EventScript_1FC6B2
- compare_var_to_value VAR_0x8000, 4
+ compare VAR_0x8000, 4
goto_eq DewfordTown_Gym_EventScript_1FC6AE
- compare_var_to_value VAR_0x8000, 5
+ compare VAR_0x8000, 5
goto_eq DewfordTown_Gym_EventScript_1FC6AA
goto DewfordTown_Gym_EventScript_1FC6A6
@@ -60,20 +60,20 @@ DewfordTown_Gym_EventScript_1FC6BE:: @ 81FC6BE
DewfordTown_Gym_EventScript_1FC6C2:: @ 81FC6C2
call DewfordTown_Gym_EventScript_1FC768
nop1
- compare_var_to_var VAR_0x8000, VAR_0x8001
+ compare VAR_0x8000, VAR_0x8001
goto_eq DewfordTown_Gym_EventScript_1FC71A
copyvar VAR_0x8001, VAR_0x8000
- compare_var_to_value VAR_0x8000, 1
+ compare VAR_0x8000, 1
goto_eq DewfordTown_Gym_EventScript_1FC71B
- compare_var_to_value VAR_0x8000, 2
+ compare VAR_0x8000, 2
goto_eq DewfordTown_Gym_EventScript_1FC726
- compare_var_to_value VAR_0x8000, 3
+ compare VAR_0x8000, 3
goto_eq DewfordTown_Gym_EventScript_1FC731
- compare_var_to_value VAR_0x8000, 4
+ compare VAR_0x8000, 4
goto_eq DewfordTown_Gym_EventScript_1FC73C
- compare_var_to_value VAR_0x8000, 5
+ compare VAR_0x8000, 5
goto_eq DewfordTown_Gym_EventScript_1FC747
- compare_var_to_value VAR_0x8000, 6
+ compare VAR_0x8000, 6
goto_eq DewfordTown_Gym_EventScript_1FC752
DewfordTown_Gym_EventScript_1FC71A:: @ 81FC71A
@@ -157,8 +157,8 @@ DewfordTown_Gym_EventScript_1FC7C1:: @ 81FC7C1
DewfordTown_Gym_EventScript_1FC7C2:: @ 81FC7C2
trainerbattle 1, TRAINER_BRAWLY_1, 0, DewfordTown_Gym_Text_1FCF44, DewfordTown_Gym_Text_1FD008, DewfordTown_Gym_EventScript_1FC7F7
- specialvar VAR_RESULT, sub_80B226C
- compare_var_to_value VAR_RESULT, 1
+ specialvar VAR_RESULT, ShouldTryRematchBattle
+ compare VAR_RESULT, 1
goto_eq DewfordTown_Gym_EventScript_1FC89C
checkflag FLAG_0x0A6
goto_if 0, DewfordTown_Gym_EventScript_1FC878
@@ -175,14 +175,14 @@ DewfordTown_Gym_EventScript_1FC7F7:: @ 81FC7F7
setflag FLAG_0x4F1
setflag FLAG_BADGE02_GET
addvar VAR_0x4085, 1
- compare_var_to_value VAR_0x4085, 6
+ compare VAR_0x4085, 6
call_if 1, DewfordTown_Gym_EventScript_271E84
setvar VAR_0x8008, 2
call DewfordTown_Gym_EventScript_271F43
call DewfordTown_Gym_EventScript_1FC855
closemessage
delay 30
- playfanfare BGM_ME_MATCH_CALL
+ playfanfare MUS_ME_TORE_EYE
msgbox DewfordTown_Gym_Text_1FD1E0, 4
waitfanfare
closemessage
@@ -195,7 +195,7 @@ DewfordTown_Gym_EventScript_1FC7F7:: @ 81FC7F7
DewfordTown_Gym_EventScript_1FC855:: @ 81FC855
giveitem_std ITEM_TM08
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
goto_eq DewfordTown_Gym_EventScript_27205E
msgbox DewfordTown_Gym_Text_1FD181, 4
setflag FLAG_0x0A6
@@ -203,7 +203,7 @@ DewfordTown_Gym_EventScript_1FC855:: @ 81FC855
DewfordTown_Gym_EventScript_1FC878:: @ 81FC878
giveitem_std ITEM_TM08
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
goto_eq DewfordTown_Gym_EventScript_272054
msgbox DewfordTown_Gym_Text_1FD181, 4
setflag FLAG_0x0A6