summaryrefslogtreecommitdiff
path: root/asm/macros
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-12-18 19:22:39 -0500
committerGriffinR <griffin.richards@comcast.net>2019-12-18 19:22:39 -0500
commit9e08cfe55f632fd749ce64c0e54eb93bd10926dc (patch)
tree56ce19f9a32d7e53dd8ac27bee73115fbebdd464 /asm/macros
parentd137a1a0c11737e1cbe9ca9fbeba74913ad63eab (diff)
Remove uses of compare_var_to
Diffstat (limited to 'asm/macros')
-rw-r--r--asm/macros/event.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/macros/event.inc b/asm/macros/event.inc
index 951e295a6..764dcf054 100644
--- a/asm/macros/event.inc
+++ b/asm/macros/event.inc
@@ -235,7 +235,7 @@
@ Generic compare macro which attempts to deduce argument types based on their values
@ Any values between 0x4000 to 0x40FF and 0x8000 to 0x8015 are considered event variable identifiers
.macro compare var:req, arg:req
- .if (\arg >= VARS_START && \arg <= VARS_END) || (\arg >= SPECIAL_VARS_START && \arg <= SPECIAL_VARS_END)
+ .if ((\arg >= VARS_START && \arg <= VARS_END) || (\arg >= SPECIAL_VARS_START && \arg <= SPECIAL_VARS_END))
compare_var_to_var \var, \arg
.else
compare_var_to_value \var, \arg