summaryrefslogtreecommitdiff
path: root/data/scripts/maps/Route113.inc
diff options
context:
space:
mode:
authorscnorton <scnorton@biociphers.org>2017-10-16 14:12:59 -0400
committerscnorton <scnorton@biociphers.org>2017-10-16 14:12:59 -0400
commita6d2bfaebd16940fc0ac1be3ca29caf0888296ca (patch)
tree7ec979bc8481b2c2d55874aef3e9004ddb715781 /data/scripts/maps/Route113.inc
parent96ebc5d46287e33df7bda74a6fb340281cdaa4c5 (diff)
parent7d657ef56716fd01bacf4a47df50ad0ec3d03b10 (diff)
Merge branch 'master' into secret_base
Diffstat (limited to 'data/scripts/maps/Route113.inc')
-rw-r--r--data/scripts/maps/Route113.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/data/scripts/maps/Route113.inc b/data/scripts/maps/Route113.inc
index c07f537d1..2eb34cdf3 100644
--- a/data/scripts/maps/Route113.inc
+++ b/data/scripts/maps/Route113.inc
@@ -15,9 +15,9 @@ Route113_MapScript1_1505DA:: @ 81505DA
Route113_EventScript_1505E5:: @ 81505E5
getplayerxy 0x4000, 0x4001
compare 0x4000, 19
- jumpif 0, Route113_EventScript_150604
+ goto_if 0, Route113_EventScript_150604
compare 0x4000, 84
- jumpif 2, Route113_EventScript_150604
+ goto_if 2, Route113_EventScript_150604
setweather 7
return
@@ -60,9 +60,9 @@ Route113_EventScript_150652:: @ 8150652
Route113_EventScript_150669:: @ 8150669
trainerbattle 0, OPPONENT_MADELINE_1, 0, Route113_Text_1BBB27, Route113_Text_1BBB7A
- specialval RESULT, 57
+ specialvar RESULT, sub_8082C68
compare RESULT, 1
- jumpeq Route113_EventScript_150690
+ goto_if_eq Route113_EventScript_150690
msgbox Route113_Text_1BBB9A, 6
end
@@ -73,9 +73,9 @@ Route113_EventScript_150690:: @ 8150690
Route113_EventScript_1506A7:: @ 81506A7
trainerbattle 0, OPPONENT_LAO_1, 0, Route113_Text_1BBC59, Route113_Text_1BBC90
- specialval RESULT, 57
+ specialvar RESULT, sub_8082C68
compare RESULT, 1
- jumpeq Route113_EventScript_1506CE
+ goto_if_eq Route113_EventScript_1506CE
msgbox Route113_Text_1BBCAB, 6
end