summaryrefslogtreecommitdiff
path: root/constants/palette_constants.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-11-05 10:51:02 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-11-05 10:51:02 -0500
commit6fe56af2cd63abaf30040cc5031e3db5358cf638 (patch)
treeb024aa8480912ebf2667184068466ee7f354012c /constants/palette_constants.asm
parented03fc4f4a3287a01647e528abba27aac1937de0 (diff)
Organize home and macro code
Diffstat (limited to 'constants/palette_constants.asm')
-rwxr-xr-xconstants/palette_constants.asm14
1 files changed, 10 insertions, 4 deletions
diff --git a/constants/palette_constants.asm b/constants/palette_constants.asm
index a16999e7..00b5748d 100755
--- a/constants/palette_constants.asm
+++ b/constants/palette_constants.asm
@@ -1,9 +1,15 @@
; monochrome palette color ids
const_def
- const WHITE
- const LIGHT_GRAY
- const DARK_GRAY
- const BLACK
+ const SHADE_WHITE ; %00
+ const SHADE_LIGHT ; %01
+ const SHADE_DARK ; %10
+ const SHADE_BLACK ; %11
+NUM_PAL_COLORS EQU const_value
+
+PAL_COLOR_SIZE EQU 2
+PALETTE_SIZE EQU NUM_PAL_COLORS * PAL_COLOR_SIZE
+
+NUM_ACTIVE_PALS EQU 4
; pal/blk packets
; SetPalFunctions indexes (see engine/gfx/palettes.asm)