summaryrefslogtreecommitdiff
path: root/data/scripts/maps/Route125.inc
diff options
context:
space:
mode:
authorgolem galvanize <golemgalvanize@github.com>2018-01-09 16:48:01 -0500
committergolem galvanize <golemgalvanize@github.com>2018-01-09 16:48:01 -0500
commitc7722a492017dbd8a5fb3bb216062eb62129daf5 (patch)
tree2a5c0ba6a6b9364aa93eb4a9a89b35153954ab63 /data/scripts/maps/Route125.inc
parent2d141bc612ffecc984f6b4238c2791ba8419a192 (diff)
parent85174ad6193d3d58b92deaaedf8c510440ed85ee (diff)
fixing merge conflicts
Diffstat (limited to 'data/scripts/maps/Route125.inc')
-rw-r--r--data/scripts/maps/Route125.inc7
1 files changed, 3 insertions, 4 deletions
diff --git a/data/scripts/maps/Route125.inc b/data/scripts/maps/Route125.inc
index a5d2457d5..a1495ac83 100644
--- a/data/scripts/maps/Route125.inc
+++ b/data/scripts/maps/Route125.inc
@@ -3,8 +3,7 @@ Route125_MapScripts:: @ 8151F1E
.byte 0
Route125_MapScript1_151F24:: @ 8151F24
- checkflag 2090
- callif 1, Route125_EventScript_1A02C1
+ call_if_set FLAG_SYS_WEATHER_CTRL, Route125_EventScript_1A02C1
end
Route125_EventScript_151F2E:: @ 8151F2E
@@ -29,9 +28,9 @@ Route125_EventScript_151F73:: @ 8151F73
Route125_EventScript_151F8A:: @ 8151F8A
trainerbattle 0, OPPONENT_ERNEST_1, 0, Route125_Text_1C11AF, Route125_Text_1C11ED
- specialval RESULT, sub_8082C68
+ specialvar RESULT, ShouldTryRematchBattle
compare RESULT, 1
- jumpeq Route125_EventScript_151FB1
+ goto_if_eq Route125_EventScript_151FB1
msgbox Route125_Text_1C1208, 6
end