summaryrefslogtreecommitdiff
path: root/data/scripts/safari_zone.inc
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2018-12-23 11:17:30 -0600
committerGitHub <noreply@github.com>2018-12-23 11:17:30 -0600
commit81b38c00e4933f2dea6fbd2e80ae13692a19fa66 (patch)
tree3b33bed743d14b14e855dcb51ac6eb5bc8326a22 /data/scripts/safari_zone.inc
parente874267edb6617759e239da0fb5cb884867aec6d (diff)
parent55005f1588fed924bb86c420458371bf99a88e0e (diff)
Merge pull request #466 from melthelesbian/compare_macros
improve compare macros
Diffstat (limited to 'data/scripts/safari_zone.inc')
-rw-r--r--data/scripts/safari_zone.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/scripts/safari_zone.inc b/data/scripts/safari_zone.inc
index 5a5244f1b..2932401e1 100644
--- a/data/scripts/safari_zone.inc
+++ b/data/scripts/safari_zone.inc
@@ -15,7 +15,7 @@ EventScript_2A4B6F:: @ 82A4B6F
lockall
msgbox Text_2A4BF4, MSGBOX_YESNO
compare VAR_RESULT, 1
- goto_eq EventScript_2A4B85
+ goto_if_eq EventScript_2A4B85
releaseall
end
@@ -44,10 +44,10 @@ EventScript_2A4BAC:: @ 82A4BAC
lockall
special GetPokeblockFeederInFront
compare VAR_RESULT, 65535
- goto_if 5, EventScript_2A4BEB
+ goto_if_ne EventScript_2A4BEB
msgbox Text_2A4C90, MSGBOX_YESNO
compare VAR_RESULT, 1
- goto_eq EventScript_2A4BD0
+ goto_if_eq EventScript_2A4BD0
releaseall
end
@@ -56,7 +56,7 @@ EventScript_2A4BD0:: @ 82A4BD0
special OpenPokeblockCaseOnFeeder
waitstate
compare VAR_RESULT, 65535
- goto_if 5, EventScript_2A4BE2
+ goto_if_ne EventScript_2A4BE2
end
EventScript_2A4BE2:: @ 82A4BE2