EarthBound/Sprite Palettes

From Data Crystal
< EarthBound
Revision as of 02:41, 24 January 2024 by Xkeeper (talk | contribs) (Xkeeper moved page EarthBound:Sprite Palettes to EarthBound/Sprite Palettes: normalize subpages and titles)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a sub-page of EarthBound.

Sprite Palettes
Game EarthBound
Start Address 0x030200
End Address 0x0302FF
# of Entries 8
Entry Length 32 bytes (0x20)
Total Length 256 bytes (0x100)
Back to the ROM map

Data block of the palette data used for game sprites.

Format

Unknown

The first color of an SNES sprite palette will always be ignored and treated as transparent. EarthBound sometimes uses the entry in a palette to stash extra information about the usage of the palette, e.g. the map palette Alternate Palette Flag. Most sprite palettes in the EarthBound ROM have non-zero values in this position, but it is unknown if it is used for anything.

Color Data

15-color subpalette. Combined with Unknown as the first ignored transparent "color" to create a 16-color subpalette.

Colors are each stored as little endian (2 bytes):

gggrrrrr 0bbbbbgg

The subpalette is formatted as 15 colors in a row.