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
No edit summary |
m (changed to use Template:Table el) |
||
Line 14: | Line 14: | ||
==X Coordinate== | ==X Coordinate== | ||
{{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)}} | |||
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)}} | |||
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)}} | |||
Number of units to extend the dialog box downwards. | Number of units to extend the dialog box downwards. | ||
Revision as of 22: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
- 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
External Links
- Dialog Window Attributes Table doc (basis for this doc)
- Standard Argument Listing (includes descriptions of all default dialog window types)