EarthBound:Door Destinations Table
|Door Destinations Table|
|# of Entries||841|
|Entry Length||11 (0xB)|
|Total Length||9807 bytes (0x264F)|
|Back to the ROM map|
The Door Destinations Table stores the details on where each door in the game leads, including any code that it calls the the direction you face after going through.
There are some gaps in the door data containing Sign pointers or unknown data at the following locations:
- Length: 4 bytes (0x4)
- Offset within entry: 0x0-0x3
- Range of values: 0x0-0x00FFFFFF, but it must point to valid text; may or may not require a pointer to the ROM as opposed to RAM
The code to call when entering this door
Y Coordinate and Direction
These bytes control both the Y-Coordinate of the destination and the direction you face after entering. The highest 2 bits of the second byte control the direction, with the remaining 6 bits controlling being the upper byte for the Y-Coordinate
Controls the X-Coordinate of the destination.
Determines the style of the transition, using the same list as the [1F 21 XX} warps