EarthBound/Text Window Properties Table: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(Create and document)
 
(Correct the indexing formula to an offset)
Line 11: Line 11:
}}
}}


Properties for each of the window "flavors". Indexed by [[EarthBound:Palette_Memory#$7E99CD|Current Window Flavor value]] (<tt>$7e99cd</tt>) via <code>entry_pointer = ($7e99cd - 1) * 3</code>.
Properties for each of the window "flavors". Indexed by [[EarthBound:Palette_Memory#$7E99CD|Current Window Flavor value]] (<tt>$7e99cd</tt>) via <code>entry_offset = ($7e99cd - 1) * 3</code>.


==Format==
==Format==

Revision as of 03:07, 14 August 2023

This is a sub-page of EarthBound.

Text Window Properties Table
Game EarthBound
Start Address 0x2021B9
End Address 0x2021C7
# of Entries 5
Entry Length 3 bytes (0x3)
Total Length 15 bytes (0xf)
Back to the ROM map

Properties for each of the window "flavors". Indexed by Current Window Flavor value ($7e99cd) via entry_offset = ($7e99cd - 1) * 3.

Format

Palette Pointer

Pointer (in bank E0) to the palette for the window "flavor". In unmodified EarthBound, this will always be in the range #$1FC8 to #$2187 to point into the Text Window Flavor Palettes data.

Unclassified