diff options
author | GriffinR <griffin.richards@comcast.net> | 2019-11-02 12:34:53 -0400 |
---|---|---|
committer | huderlem <huderlem@gmail.com> | 2019-11-02 16:36:43 -0500 |
commit | 033c6cea3bbd982b7c60ee4fe5bee477e8d8773e (patch) | |
tree | 973d57f63ac5dfcd2cde5e59e6fd7c2fa22a3219 /data/maps/SlateportCity/scripts.inc | |
parent | a90b828bb8838f4500a4d91899bce2bc946e847b (diff) |
Use YES/NO constants for MSGBOX_YESNO
Diffstat (limited to 'data/maps/SlateportCity/scripts.inc')
-rw-r--r-- | data/maps/SlateportCity/scripts.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/maps/SlateportCity/scripts.inc b/data/maps/SlateportCity/scripts.inc index d7fab0171..ee9c0c176 100644 --- a/data/maps/SlateportCity/scripts.inc +++ b/data/maps/SlateportCity/scripts.inc @@ -852,7 +852,7 @@ SlateportCity_EventScript_1DD54A:: @ 81DD54A SlateportCity_EventScript_1DD557:: @ 81DD557 msgbox SlateportCity_Text_1DEE90, MSGBOX_YESNO - compare VAR_RESULT, 0 + compare VAR_RESULT, NO goto_if_eq SlateportCity_EventScript_1DD3CA copyvar VAR_0x8004, VAR_0x8009 specialvar VAR_RESULT, HasEnoughBerryPowder @@ -865,7 +865,7 @@ SlateportCity_EventScript_1DD557:: @ 81DD557 special TakeBerryPowder special PrintPlayerBerryPowderAmount msgbox SlateportCity_Text_1DEEF7, MSGBOX_YESNO - compare VAR_RESULT, 1 + compare VAR_RESULT, YES goto_if_eq SlateportCity_EventScript_1DD3CA msgbox SlateportCity_Text_1DEF79, MSGBOX_DEFAULT special RemoveBerryPowderVendorMenu |