Difference between revisions of "EarthBound Zero:Item data"

From Data Crystal
Jump to: navigation, search
(Removing category)
Line 55: Line 55:
 
*Byte 6: Unused
 
*Byte 6: Unused
 
*Byte 7: PP required
 
*Byte 7: PP required
 
[[Category:EarthBound Zero|Item data]]
 

Revision as of 23:12, 28 March 2013

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