EarthBound/Dialog Window Attributes Table: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
m (Infobox table change.)
m (Xkeeper moved page EarthBound:Dialog Window Attributes Table to EarthBound/Dialog Window Attributes Table: normalize subpages and titles)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{subpage|game=EarthBound:ROM map}}
{{Infobox table|name=Dialog Window Attributes Table
{{Infobox table|name=Dialog Window Attributes Table
|game=EarthBound
|game=EarthBound
Line 12: Line 14:
{{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|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]]

Latest revision as of 02:41, 24 January 2024

This is a sub-page of EarthBound.

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