summaryrefslogtreecommitdiff
path: root/data/scripts/maps/Route102.inc
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2018-01-18 12:55:48 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2018-01-18 12:55:48 -0500
commit75a32c9dc54e32dd8c87af98dd0d3def658f7b02 (patch)
treee14c28dfd6de59cef7771ccb9d6ef239f8093023 /data/scripts/maps/Route102.inc
parentcfb0e233eebd172ce9131f4e4b940b18db6eb1d0 (diff)
parentc6ff1a6ce39cb67c6de21f2e4938ea62c97ee7e5 (diff)
Merge branch 'link' of github.com:pikalaxalt/pokeemerald into link
Diffstat (limited to 'data/scripts/maps/Route102.inc')
-rw-r--r--data/scripts/maps/Route102.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/data/scripts/maps/Route102.inc b/data/scripts/maps/Route102.inc
index 00c8c309f..ae82ea0b4 100644
--- a/data/scripts/maps/Route102.inc
+++ b/data/scripts/maps/Route102.inc
@@ -19,12 +19,12 @@ Route102_EventScript_1EC0FC:: @ 81EC0FC
Route102_EventScript_1EC105:: @ 81EC105
trainerbattle 2, TRAINER_CALVIN_1, 0, Route102_Text_294513, Route102_Text_29457C, Route102_EventScript_1EC146
- specialvar VAR_RESULT, sub_80B226C
- compare_var_to_value VAR_RESULT, 1
+ specialvar VAR_RESULT, ShouldTryRematchBattle
+ compare VAR_RESULT, 1
goto_eq Route102_EventScript_1EC19C
setvar VAR_0x8004, 318
specialvar VAR_RESULT, sub_813B4E0
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
goto_eq Route102_EventScript_1EC170
msgbox Route102_Text_2945AC, 4
release
@@ -33,7 +33,7 @@ Route102_EventScript_1EC105:: @ 81EC105
Route102_EventScript_1EC146:: @ 81EC146
special sub_80B4808
waitmovement 0
- checkflag FLAG_0x12F
+ checkflag FLAG_HAS_MATCH_CALL
goto_eq Route102_EventScript_1EC157
release
end
@@ -48,7 +48,7 @@ Route102_EventScript_1EC157:: @ 81EC157
end
Route102_EventScript_1EC170:: @ 81EC170
- checkflag FLAG_0x12F
+ checkflag FLAG_HAS_MATCH_CALL
goto_eq Route102_EventScript_1EC183
msgbox Route102_Text_2945AC, 4
release