pub const PALETTES: u8 = 8;
cgb
Palettes of each kind: this many for the background, and as many again for objects.