EarthBound/Window statistics table: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
m (Made less ugly. We might want to use the other proposed table format anyway.)
m (Moved clear after box.)
Line 1: Line 1:
{{infobox table|name=Window statistics table|game=[[EarthBound]]|start=0x008650|end=0x0088DF|numentries=8 (0x08)|entrylength=82 bytes (0x52)|totallength=656 bytes (0x290)}}
{{infobox table|name=Window statistics table|game=[[EarthBound]]|start=0x008650|end=0x0088DF|numentries=8 (0x08)|entrylength=82 bytes (0x52)|totallength=656 bytes (0x290)}}
The '''window statistics''' table stores information about currently open windows.
{{clear}}
{{clear}}
The '''window statistics''' table stores information about currently open windows.
=Format=
=Format=



Revision as of 23:30, 3 November 2005

Window statistics table
Game [[EarthBound]]
Start Address 0x008650
End Address 0x0088DF
# of Entries 8 (0x08)
Entry Length 82 bytes (0x52)
Total Length 656 bytes (0x290)
Back to the [[EarthBound/{{{loc}}} map|{{{loc}}} map]]

The window statistics table stores information about currently open windows.

Format

Unknown


Position in window existence table


Top left corner X-coordinate


Top left corner Y-coordinate


Box width


Box height


X-coordinate of text-drawing cursor


Y-coordinate of text-drawing cursor


Unknown


Unknown (does bizarre things to text)


Font


The font being used to print text in this window.

  • 0x00 = Normal
  • 0x01 = Saturn
  • 0x02 = Small Font #1
  • 0x03 = Small Font #2 (has some glitching...)
  • 0x04 = Coffee Sequence


Unknown


Control code variables

  • Length: Unknown (likely the rest of the entry)
  • Offset within entry: 23 (0x17)
  • Range of values: Any values


This data is used for storage and variables by the control code parser. This range starts with two two-byte words followed a single byte known respectively as working memory, active memory, and secondary memory, though these names may not be the most accurate. Following these are two words and a byte again to and from which the working, active, and secondary memories can be copied. After these bytes, the rest of this entry seems to be used to store strings.