DisplayListItem.paletteSel

Selects the palette of the sprite. Amount of accessable color depends on the palette access shifting value. A value of 8 enables 256 * 256 color palettes, and a value of 4 enables 4096 * 16 color palettes. paletteSh can be set lower than what the bitmap is capable of storing at its maximum, this can enable the packing of more palettes within the main one, e.g. a paletteSh value of 7 means 512 * 128 color palettes, while the bitmaps are still stored in the 8 bit "chunky" mode instead of 7 bit planar that would require way more processing power. However this doesn't limit the bitmap's ability to access 256 colors, and this can result in memory leakage if the developer isn't careful enough.

struct DisplayListItem
ushort paletteSel;

Meta