EarthBound/Dialog Window Attributes Table: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
m (Infobox table change.)
(use internal link to standard arguments now)
Line 12: Line 12:
{{clear}}
{{clear}}


=Format=
==Format==


==X Coordinate==
===X Coordinate===
{{table el|len=2 bytes (0x2)|loc=0x0-0x1|valrange=0-32 (0x0-0x20)}}
{{table el|len=2 bytes (0x2)|loc=0x0-0x1|valrange=0-32 (0x0-0x20)}}
Horizontal position of the dialog window's upper-left corner.
Horizontal position of the dialog window's upper-left corner.


==Y Coordinate==
===Y Coordinate===
{{table el|len=2 bytes (0x2)|loc=0x2-0x3|valrange=0-28 (0x0-0x1C)}}
{{table el|len=2 bytes (0x2)|loc=0x2-0x3|valrange=0-28 (0x0-0x1C)}}
Vertical position of the dialog window's upper-left corner.
Vertical position of the dialog window's upper-left corner.


==Width==
===Width===
{{table el|len=2 bytes (0x2)|loc=0x4-0x5|valrange=0-32 (0x0-0x20)}}
{{table el|len=2 bytes (0x2)|loc=0x4-0x5|valrange=0-32 (0x0-0x20)}}
Number of units to extend the dialog box to the right.
Number of units to extend the dialog box to the right.


==Height==
===Height===
{{table el|len=2 bytes (0x2)|loc=0x6-0x7|valrange=0-28 (0x0-0x1C)}}
{{table el|len=2 bytes (0x2)|loc=0x6-0x7|valrange=0-28 (0x0-0x1C)}}
Number of units to extend the dialog box downwards.
Number of units to extend the dialog box downwards.


=See Also=
==See Also==
*[[EarthBound:Text Window Graphics|Text Window Graphics]]
*[[EarthBound:Text Window Graphics|Text Window Graphics]]
*[[EarthBound:Flavored Text Window Graphics|Flavored Text Window Graphics]]
*[[EarthBound:Flavored Text Window Graphics|Flavored Text Window Graphics]]
*[[EarthBound:Text Window Properties Table|Text Window Properties Table]]
*[[EarthBound:Text Window Properties Table|Text Window Properties Table]]
*[[EarthBound:Text Window Flavor Palettes|Text Window Flavor Palettes]]
*[[EarthBound:Text Window Flavor Palettes|Text Window Flavor Palettes]]
*[[EarthBound:Standard arguments]]


=External Links=
==External Links==
*[http://pkhack.fobby.net/misc/txt/windows.txt Dialog Window Attributes Table doc] (basis for this doc)
*[http://pkhack.fobby.net/misc/txt/windows.txt Dialog Window Attributes Table doc] (basis for this doc)
*[http://pkhack.fobby.net/misc/stdarg.htm Standard Argument Listing] (includes descriptions of all default dialog window types)


[[Category:EarthBound|Dialog Window Attributes Table]]
[[Category:EarthBound|Dialog Window Attributes Table]]

Revision as of 05:05, 16 February 2008

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 ROM 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