summaryrefslogtreecommitdiff
path: root/src/constants/deck_constants.asm
diff options
context:
space:
mode:
authorxCrystal <rgr.crystal@gmail.com>2018-08-13 14:54:31 +0200
committerGitHub <noreply@github.com>2018-08-13 14:54:31 +0200
commitf5330d15daed2d77ff48360554a36162843fe199 (patch)
treef8142591ea01c720be6d6b979b2fadb84e3018f0 /src/constants/deck_constants.asm
parent783f5fe610c69006742b4976ab4f183f39512d89 (diff)
parent3581a4baed71f596eedb9c234b910f1d6a7736be (diff)
Merge pull request #48 from xCrystal/master
More home and bank1 progress
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.