If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
EarthBound/Dialog Window Attributes Table: Difference between revisions
Jump to navigation
Jump to search
m (changed to use Template:Table el) |
m (Xkeeper moved page EarthBound:Dialog Window Attributes Table to EarthBound/Dialog Window Attributes Table: normalize subpages and titles) |
||
(5 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= | |game=EarthBound | ||
|loc=ROM | |||
|start=0x3E450 | |start=0x3E450 | ||
|end=0x3E5F7 | |end=0x3E5F7 | ||
Line 11: | 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) | ||
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
- Length: 2 bytes (0x2)
- Offset within entry: 0x0-0x1
- Range of values: 0-32 (0x0-0x20)
Horizontal position of the dialog window's upper-left corner.
Y Coordinate
- Length: 2 bytes (0x2)
- Offset within entry: 0x2-0x3
- Range of values: 0-28 (0x0-0x1C)
Vertical position of the dialog window's upper-left corner.
Width
- Length: 2 bytes (0x2)
- Offset within entry: 0x4-0x5
- Range of values: 0-32 (0x0-0x20)
Number of units to extend the dialog box to the right.
Height
- Length: 2 bytes (0x2)
- Offset within entry: 0x6-0x7
- Range of values: 0-28 (0x0-0x1C)
Number of units to extend the dialog box downwards.
See Also
- Text Window Graphics
- Flavored Text Window Graphics
- Text Window Properties Table
- Text Window Flavor Palettes
- Standard Arguments
External Links
- Dialog Window Attributes Table doc (basis for this doc)