EarthBound/Dialog Window Attributes Table

From Data Crystal
< EarthBound
Revision as of 01:39, 5 October 2005 by Mr. Tenda (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Dialog Window Attributes Table
Game [[EarthBound]]
Start Address 0x3E450
End Address 0x3E5F7
# of Entries 53
Entry Length 8 (0x8)
Total Length 424 bytes (0x1A8)
Back to the [[EarthBound/{{{loc}}} map|{{{loc}}} map]]

The Dialog Window Attributes Table stores the coordinates and dimensions which each dialog window will use in EarthBound. The coordinates and dimensions of dialog windows in this table are stored in units of 8 PPU. It is important to note that the size of the screen in pixels is 256x224 (or 32x28, in units of 8 PPU), because the dialog window should not extend past the boundary of the screen.

Format

X Coordinate

  • Length: 2 bytes (0x2)
  • Range: 00-20

Horizontal position of the dialog window's upper-left corner.

Y Coordinate

  • Length: 2 bytes (0x2)
  • Range: 00-1C

Vertical position of the dialog window's upper-left corner.

Width

  • Length: 2 bytes (0x2)
  • Range: 00-20

Number of units to extend the dialog box to the right.

Height

  • Length: 2 bytes (0x2)
  • Range: 00-1C

Number of units to extend the dialog box downwards.

See Also

External Links