summaryrefslogtreecommitdiff
path: root/data/maps/MtPyre_3F
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-11-18 23:06:30 -0500
committerGriffinR <griffin.g.richards@gmail.com>2021-11-18 23:06:51 -0500
commite66ea0cb996c70093fe3f250cafb7f1f87e84d4d (patch)
tree162e07afa059e7683e4aa991a1a82205c16b3025 /data/maps/MtPyre_3F
parentc57efdba5d3cc475f75c5909c31f96bbce6190b8 (diff)
Reformat compare + goto_if/call_if to single statements
Diffstat (limited to 'data/maps/MtPyre_3F')
-rw-r--r--data/maps/MtPyre_3F/scripts.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/data/maps/MtPyre_3F/scripts.inc b/data/maps/MtPyre_3F/scripts.inc
index b91a589bc..ff15f9939 100644
--- a/data/maps/MtPyre_3F/scripts.inc
+++ b/data/maps/MtPyre_3F/scripts.inc
@@ -14,8 +14,7 @@ MtPyre_3F_EventScript_Kayla::
MtPyre_3F_EventScript_Gabrielle::
trainerbattle_single TRAINER_GABRIELLE_1, MtPyre_3F_Text_GabrielleIntro, MtPyre_3F_Text_GabrielleDefeat, MtPyre_3F_EventScript_RegisterGabrielle
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, TRUE
- goto_if_eq MtPyre_3F_EventScript_RematchGabrielle
+ goto_if_eq VAR_RESULT, TRUE, MtPyre_3F_EventScript_RematchGabrielle
msgbox MtPyre_3F_Text_GabriellePostBattle, MSGBOX_DEFAULT
release
end