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 Beginnings/Item data: Difference between revisions
Jump to navigation
Jump to search
(→Items: correct bytes 2-3) |
No edit summary |
||
Line 34: | Line 34: | ||
==Train destinations== | ==Train destinations== | ||
*Bytes 0-1: Pointer to name | *Bytes 0-1: Pointer to name | ||
*Bytes 2-5: | *Bytes 2-3: | ||
**Bits 0-5: Music to play | |||
**Bits 6-15: Train start location X | |||
*Bytes 4-5: | |||
**Bits 0-5: Start direction | |||
**Bits 6-15: Train start location Y | |||
*Bytes 6-7: Price | *Bytes 6-7: Price | ||
Revision as of 03:30, 11 September 2012
Item data | |
Game | EarthBound Zero |
Start Address | 1810 |
End Address | 200F |
# of Entries | 256 |
Entry Length | 8 (0x8) |
Total Length | 2048 bytes (0x800) |
Back to the ROM map |
The Item data table contains data for items (entries 00-7F), teleport locations (80-87), train destinations (90-9B), items you can "buy" but can't actually have such as the plane flight plans (9C-A7), character levelup data (B8-BF), and PSI (C0-FF).
Format
Items
- Bytes 0-1: Pointer to name
- Byte 2: Flags
- Bits 0-5: Who can use it
- Bit 6: If set, item is edible
- Bit 7: If set, item cannot be dropped
- Byte 3: Equipment
- Bits 0-5: Attack (weapon), defense (coin/ring), or resistance (pendant)
- Bits 6-7: Type (0=weapon, 1=coin, 2=ring, 3=pendant)
- Byte 4: Item action (non-battle)
- Byte 5: Item action (battle)
- Bytes 6-7: Price
Teleport locations
- Bytes 0-1: Pointer to name
- Bytes 2-3: X location
- Bytes 4-5: Y location
- Bytes 6-7: Unused
Train destinations
- Bytes 0-1: Pointer to name
- Bytes 2-3:
- Bits 0-5: Music to play
- Bits 6-15: Train start location X
- Bytes 4-5:
- Bits 0-5: Start direction
- Bits 6-15: Train start location Y
- Bytes 6-7: Price
Character levelup table
- Byte 0: Experience requirement constant
- Bytes 1-2: Unknown
- Bytes 3-7: Stat growth rates
PSI
- Bytes 0-1: Pointer to name
- Byte 2: Level for Ninten to learn
- Byte 3: Level for Ana to learn
- Byte 4: Action (non-battle)
- Byte 5: Action (battle)
- Byte 6: Unused
- Byte 7: PP required