summaryrefslogtreecommitdiff
path: root/data/maps/SlateportCity_Harbor
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-11-02 12:34:53 -0400
committerhuderlem <huderlem@gmail.com>2019-11-02 16:36:43 -0500
commit033c6cea3bbd982b7c60ee4fe5bee477e8d8773e (patch)
tree973d57f63ac5dfcd2cde5e59e6fd7c2fa22a3219 /data/maps/SlateportCity_Harbor
parenta90b828bb8838f4500a4d91899bce2bc946e847b (diff)
Use YES/NO constants for MSGBOX_YESNO
Diffstat (limited to 'data/maps/SlateportCity_Harbor')
-rw-r--r--data/maps/SlateportCity_Harbor/scripts.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/maps/SlateportCity_Harbor/scripts.inc b/data/maps/SlateportCity_Harbor/scripts.inc
index aa0eaab77..83f4b8011 100644
--- a/data/maps/SlateportCity_Harbor/scripts.inc
+++ b/data/maps/SlateportCity_Harbor/scripts.inc
@@ -198,7 +198,7 @@ SlateportCity_Harbor_EventScript_20CB88:: @ 820CB88
SlateportCity_Harbor_EventScript_20CB92:: @ 820CB92
msgbox SlateportCity_Harbor_Text_20CF93, MSGBOX_YESNO
- compare VAR_RESULT, 0
+ compare VAR_RESULT, NO
goto_if_eq SlateportCity_Harbor_EventScript_20CBDD
setvar VAR_PORTHOLE_STATE, 1
call SlateportCity_Harbor_EventScript_20CBE9
@@ -209,7 +209,7 @@ SlateportCity_Harbor_EventScript_20CB92:: @ 820CB92
SlateportCity_Harbor_EventScript_20CBBA:: @ 820CBBA
msgbox SlateportCity_Harbor_Text_20CFAE, MSGBOX_YESNO
- compare VAR_RESULT, 0
+ compare VAR_RESULT, NO
goto_if_eq SlateportCity_Harbor_EventScript_20CBDD
call SlateportCity_Harbor_EventScript_20CBE9
warp MAP_BATTLE_FRONTIER_OUTSIDE_WEST, 255, 19, 67
@@ -354,7 +354,7 @@ SlateportCity_Harbor_EventScript_20CD44:: @ 820CD44
SlateportCity_Harbor_EventScript_20CD7B:: @ 820CD7B
msgbox SlateportCity_Harbor_Text_20D8BC, MSGBOX_YESNO
- compare VAR_RESULT, 0
+ compare VAR_RESULT, NO
goto_if_eq SlateportCity_Harbor_EventScript_20CE05
giveitem_std ITEM_DEEP_SEA_TOOTH
compare VAR_RESULT, 0
@@ -367,7 +367,7 @@ SlateportCity_Harbor_EventScript_20CD7B:: @ 820CD7B
SlateportCity_Harbor_EventScript_20CDBB:: @ 820CDBB
msgbox SlateportCity_Harbor_Text_20D8F1, MSGBOX_YESNO
- compare VAR_RESULT, 0
+ compare VAR_RESULT, NO
goto_if_eq SlateportCity_Harbor_EventScript_20CE05
giveitem_std ITEM_DEEP_SEA_SCALE
compare VAR_RESULT, 0