diff options
author | Marcus Huderle <huderlem@gmail.com> | 2018-01-04 15:24:19 -0800 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2018-01-04 15:24:19 -0800 |
commit | c748287725a01561ba9f972b094d7b297cea2d8e (patch) | |
tree | 886f40554754b1bacd2a9d263aa0c9979de7dd67 /data/scripts/mauville_man.inc | |
parent | 88c42ade4bfb4a285444c327663e72c7f438adea (diff) |
Use -1 instead of 65535 for compare macro
Diffstat (limited to 'data/scripts/mauville_man.inc')
-rw-r--r-- | data/scripts/mauville_man.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/scripts/mauville_man.inc b/data/scripts/mauville_man.inc index 58dacb2f3..0e1835ae4 100644 --- a/data/scripts/mauville_man.inc +++ b/data/scripts/mauville_man.inc @@ -141,7 +141,7 @@ do_trader_menu_get: waitstate compare VAR_SPECIAL_4, 0 goto_if_eq cancelled_get_menu - compare VAR_SPECIAL_4, 65535 + compare VAR_SPECIAL_4, -1 goto_if_eq rare_item_cant_trade_away msgbox gTextTrader_ItemOnceBelongedTo, MSGBOX_YESNO compare RESULT, NO @@ -178,7 +178,7 @@ do_trader_menu_give: waitstate compare VAR_SPECIAL_6, 0 goto_if_eq cancelled_give_menu - compare VAR_SPECIAL_6, 65535 + compare VAR_SPECIAL_6, -1 goto_if_eq decoration_is_in_use special ScrSpecial_IsDecorationFull compare RESULT, 1 |