summaryrefslogtreecommitdiff
path: root/data/sgb
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2021-03-25 17:39:44 -0500
committerdannye <33dannye@gmail.com>2021-03-25 17:39:44 -0500
commiteb47bda8ee5c1f002236200df36012de9e243a97 (patch)
treefc69fc5435582efebd36fc54414673dd8ac7f646 /data/sgb
parentd07a66662728225c1422fed1072281dee71a2c9e (diff)
parent95ec2cf039f0efdc6dadfb6fe766ace231a1b6b1 (diff)
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'data/sgb')
-rw-r--r--data/sgb/sgb_palettes.asm4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/sgb/sgb_palettes.asm b/data/sgb/sgb_palettes.asm
index 5ddca002..aa8c0b7e 100644
--- a/data/sgb/sgb_palettes.asm
+++ b/data/sgb/sgb_palettes.asm
@@ -1,4 +1,5 @@
SuperPalettes:
+ table_width 2 * 4, SuperPalettes
; entries correspond to PAL_* constants
RGB 31,31,30, 23,26,19, 23,27,31, 06,06,06 ; PAL_ROUTE
RGB 31,31,30, 28,27,31, 23,27,31, 06,06,06 ; PAL_PALLET
@@ -40,8 +41,10 @@ SuperPalettes:
RGB 31,31,30, 31,30,22, 23,27,31, 06,06,06 ; PAL_25
RGB 31,31,30, 28,23,09, 18,14,10, 06,06,06 ; PAL_26
RGB 31,31,30, 16,16,16, 31,25,09, 06,06,06 ; PAL_27
+ assert_table_length NUM_SGB_PALS
GBCBasePalettes:
+ table_width 2 * 4, GBCBasePalettes
RGB 31,31,31, 16,31,04, 11,23,31, 03,03,03 ; PAL_ROUTE
RGB 31,31,31, 23,17,31, 11,23,31, 03,03,03 ; PAL_PALLET
RGB 31,31,31, 19,31,00, 11,23,31, 03,03,03 ; PAL_VIRIDIAN
@@ -82,3 +85,4 @@ GBCBasePalettes:
RGB 31,31,31, 31,31,00, 11,23,31, 03,03,03 ; PAL_25
RGB 31,31,31, 31,18,00, 19,07,01, 03,03,03 ; PAL_26
RGB 31,31,31, 09,09,09, 31,21,00, 03,03,03 ; PAL_27
+ assert_table_length NUM_SGB_PALS