summaryrefslogtreecommitdiff
path: root/constants
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-01-22 19:57:35 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2018-01-22 19:57:35 -0500
commit14ef9d3066ddf48f392b8afb698d85f0a7583f6f (patch)
tree538154be8b70d72332d43af772cf55220d92e675 /constants
parenta73c532738d055bb3d28a46b59f7fc87d2c998d4 (diff)
PALETTE_SIZE
Diffstat (limited to 'constants')
-rw-r--r--constants/gfx_constants.asm1
1 files changed, 1 insertions, 0 deletions
diff --git a/constants/gfx_constants.asm b/constants/gfx_constants.asm
index bfa2140e7..584a62cda 100644
--- a/constants/gfx_constants.asm
+++ b/constants/gfx_constants.asm
@@ -4,6 +4,7 @@ LEN_2BPP_TILE EQU 2 * TILE_WIDTH ; bytes
NUM_PAL_COLORS EQU 4
PAL_COLOR_SIZE EQU 2
+PALETTE_SIZE EQU NUM_PAL_COLORS * PAL_COLOR_SIZE
PALRGB_WHITE EQUS "palred 31 + palgreen 31 + palblue 31" ; $7fff