aboutsummaryrefslogtreecommitdiffstats
path: root/macros
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2023-10-11 20:12:25 -0500
committerGitHub <noreply@github.com>2023-10-11 20:12:25 -0500
commitb302e93674f376f2881cbd931a698345ad27bec3 (patch)
tree7091cec7b54cbea58969cfb1759a6a3b297e9df2 /macros
parentUse PSN constant in PoisonEffect routine (#426) (diff)
downloadpokeyellow-b302e93674f376f2881cbd931a698345ad27bec3.tar.gz
pokeyellow-b302e93674f376f2881cbd931a698345ad27bec3.tar.xz
pokeyellow-b302e93674f376f2881cbd931a698345ad27bec3.zip
Use map object consts in data/maps/hide_show_data.asm (#432)
Diffstat (limited to 'macros')
-rw-r--r--macros/const.asm5
1 files changed, 5 insertions, 0 deletions
diff --git a/macros/const.asm b/macros/const.asm
index e0a84404..fa2f0753 100644
--- a/macros/const.asm
+++ b/macros/const.asm
@@ -18,6 +18,11 @@ MACRO const
DEF const_value += const_inc
ENDM
+MACRO const_export
+ const \1
+ EXPORT \1
+ENDM
+
MACRO shift_const
DEF \1 EQU 1 << const_value
DEF const_value += const_inc