EarthBound Beginnings/Item data

From Data Crystal
Jump to navigation Jump to search

This is a sub-page of EarthBound Beginnings.

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

The information that used to be here was incorrect.

Check out this page instead: https://datacrystal.romhacking.net/wiki/EarthBound_Zero:Teleport_targets

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