Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

EarthBound Beginnings/Item data: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
 
(→‎Items: correct bytes 2-3)
Line 17: Line 17:
*Byte 2: Flags
*Byte 2: Flags
**Bits 0-5: Who can use it
**Bits 0-5: Who can use it
**Bit 6: If set, item disappears after use
**Bit 6: If set, item is edible
**Bit 7: If set, item cannot be dropped
**Bit 7: If set, item cannot be dropped
*Byte 3: Attack power
*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 4: Item action (non-battle)
*Byte 5: Item action (battle)
*Byte 5: Item action (battle)

Revision as of 02:39, 4 May 2006

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-5: Unknown
  • 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