If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
EarthBound/Sprite Palettes: Difference between revisions
Jump to navigation
Jump to search
(Create page) |
m (Xkeeper moved page EarthBound:Sprite Palettes to EarthBound/Sprite Palettes: normalize subpages and titles) |
(No difference)
|
Latest revision as of 02:41, 24 January 2024
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
- Length: 2 bytes (0x2)
- Offset within entry: 0x00
- Range of values: ???
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
- Length: 30 bytes (0x1e)
- Offset within entry: 0x02
- Range of values: color values
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.