summaryrefslogtreecommitdiff
path: root/src/constants/deck_constants.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/constants/deck_constants.asm')
-rw-r--r--src/constants/deck_constants.asm7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/constants/deck_constants.asm b/src/constants/deck_constants.asm
index 6b16d63..4105242 100644
--- a/src/constants/deck_constants.asm
+++ b/src/constants/deck_constants.asm
@@ -1,3 +1,10 @@
+deck_const: MACRO
+if const_value >= 2
+\1_ID EQU const_value + -2
+endc
+ const \1
+ENDM
+
; Both *_DECK and *_DECK_ID constants are defined here.
; *_DECK constants are to be used with LoadDeck and related routines.
; *_DECK_ID constants are specific to be loaded into wOpponentDeckID.