Difference between revisions of "EarthBound:Dialog Window Attributes Table"

From Data Crystal
Jump to: navigation, search
 
m (changed to use Template:Table el)
Line 14: Line 14:
  
 
==X Coordinate==
 
==X Coordinate==
* '''Length:''' 2 bytes (0x2)
+
{{table el|len=2 bytes (0x2)|loc=0x0-0x1|valrange=0-32 (0x0-0x20)}}
* '''Range:''' 00-20
 
 
Horizontal position of the dialog window's upper-left corner.
 
Horizontal position of the dialog window's upper-left corner.
  
 
==Y Coordinate==
 
==Y Coordinate==
* '''Length:''' 2 bytes (0x2)
+
{{table el|len=2 bytes (0x2)|loc=0x2-0x3|valrange=0-28 (0x0-0x1C)}}
* '''Range:''' 00-1C
 
 
Vertical position of the dialog window's upper-left corner.
 
Vertical position of the dialog window's upper-left corner.
  
 
==Width==
 
==Width==
* '''Length:''' 2 bytes (0x2)
+
{{table el|len=2 bytes (0x2)|loc=0x4-0x5|valrange=0-32 (0x0-0x20)}}
* '''Range:''' 00-20
 
 
Number of units to extend the dialog box to the right.
 
Number of units to extend the dialog box to the right.
  
 
==Height==
 
==Height==
* '''Length:''' 2 bytes (0x2)
+
{{table el|len=2 bytes (0x2)|loc=0x6-0x7|valrange=0-28 (0x0-0x1C)}}
* '''Range:''' 00-1C
 
 
Number of units to extend the dialog box downwards.
 
Number of units to extend the dialog box downwards.
  

Revision as of 18:10, 5 October 2005

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

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

Y Coordinate

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

Width

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

Height

Number of units to extend the dialog box downwards.

See Also

External Links