EarthBound/Map Data/Compressed Palette Animation Data

From Data Crystal
< EarthBound
Revision as of 02:41, 24 January 2024 by Xkeeper (talk | contribs) (Xkeeper moved page EarthBound:Map Data:Compressed Palette Animation Data to EarthBound/Map Data/Compressed Palette Animation Data: 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/Map Data.

Map Data: Compressed Palette Animation Data
Game EarthBound
Start Address 0x1FE81B
End Address 0x1FEE45
# of Entries 8
Entry Length Variable
Total Length 1579 bytes (0x62B)
Back to the ROM map

Data block of compressed map animation palettes. Entries are found via lookups to the Palette Animation Secondary Pointer/Data Table.

Format

Each entry is individually compressed. See Compression Format.

Decompressed Format

Each entry contains 1 to 8 full map palettes (number specified by the Palette_Animation_Secondary_Pointer/Data_Table). The map palettes are formatted similarly to non-animated map palettes.

Unknown

The SNES generally ignores the first color in any palette, always treating it as transparent. Unknown if EarthBound is using these bytes to store additional information about the palette because the value is non-zero for some animated palettes.

Subpalette 0

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.

Unknown

The SNES generally ignores the first color in any palette, always treating it as transparent. Unknown if EarthBound is using these bytes to store additional information about the palette because the value is non-zero for some animated palettes.

Subpalette 1

15-color subpalette. Same format as Subpalette 0.

Unknown

The SNES generally ignores the first color in any palette, always treating it as transparent. Unknown if EarthBound is using these bytes to store additional information about the palette because the value is non-zero for some animated palettes.

Subpalette 2

15-color subpalette. Same format as Subpalette 0.

Unknown

The SNES generally ignores the first color in any palette, always treating it as transparent. Unknown if EarthBound is using these bytes to store additional information about the palette because the value is non-zero for some animated palettes.

Subpalette 3

15-color subpalette. Same format as Subpalette 0.

Unknown

The SNES generally ignores the first color in any palette, always treating it as transparent. Unknown if EarthBound is using these bytes to store additional information about the palette because the value is non-zero for some animated palettes.

Subpalette 4

15-color subpalette. Same format as Subpalette 0.

Unused

Unused zero color that will always be treated as transparent, no matter its value. Always 0x0000 in unmodified EarthBound.

Subpalette 5

15-color subpalette. Same format as Subpalette 0.