summaryrefslogtreecommitdiff
path: root/macros/enum.asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-07-13 00:16:35 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2015-07-13 00:18:01 -0400
commit249bad9551b1c9c29fd64bc36486eb6612427c3b (patch)
treeaacf2ba7dec9373ff53ae23ff244cfa27ecb3e6c /macros/enum.asm
parentd282fe479994cb84980604706510ae0b03664c9c (diff)
Replace EVENT_ALWAYS_THERE with -1
Diffstat (limited to 'macros/enum.asm')
-rw-r--r--macros/enum.asm5
1 files changed, 5 insertions, 0 deletions
diff --git a/macros/enum.asm b/macros/enum.asm
index 0a72d49d8..aee6ee530 100644
--- a/macros/enum.asm
+++ b/macros/enum.asm
@@ -29,3 +29,8 @@ const: MACRO
\1 EQU const_value
const_value = const_value + 1
ENDM
+
+shift_const: MACRO
+\1 EQU 1 << const_value
+const_value = const_value + 1
+ENDM