EarthBound/Map Data/Decompressed Map Animation Palette Pointer Table: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(Create page)
 
 
(No difference)

Latest revision as of 02:41, 24 January 2024

This is a sub-page of EarthBound/Map Data.

Decompressed Map Animation Palette Pointer Table
Game EarthBound
Start Address 0x00A40C
End Address 0x00A41C
# of Entries 8
Entry Length 2 bytes (0x02)
Total Length 16 bytes (0x10)
Back to the ROM map

Precomputed pointers into the Decompressed Map Animation Palettes RAM table.

Format

Each entry is a 2-byte pointer for the start of an animation palette in the Decompressed Map Animation Palettes RAM table. Bank for the pointer is always $7E. Table is indexed by Map Animation Palette Number.

Because the Decompressed Map Animation Palettes are all 0xC0 bytes and indexed by the same Map Animation Palette Number, this table serves only to precompute the values of palette_pointer = #$B800 + #$C0 * palette_number.