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/Enemy data

From Data Crystal
Jump to navigation Jump to search

This is a sub-page of EarthBound Beginnings.

Enemy data
Game EarthBound Zero
Start Address 2C010
End Address 2CF4F
# of Entries 122
Entry Length 32 (0x20)
Total Length 3904 bytes (0xF40)
Back to the ROM map

The enemy data table contains data for enemies.

Format

  • Byte 0: Unknown (probably unused)
  • Byte 1: Initial status
  • Byte 2: Flags
    • Bit 0: Vulnerable to sprays
    • Bit 1: Resist PK Beam
    • Bit 2: Immune to confusion/sleep, resist Def.Down
    • Bit 3: Unknown
    • Bit 4: Resist PK Thunder
    • Bit 5: Resist PK Freeze
    • Bit 6: Resist PK Fire
    • Bit 7: Immune to status effects, PK Beam γ, and offense/defense effects
  • Bytes 3-4:
    • Bits 0-9: HP
    • Bits 10-11: Sub-palette
    • Bits 12-15: Graphic tile arrangement
  • Bytes 5-6:
    • Bits 0-9: PP
    • Bits 10-15: Extra graphics
  • Bytes 7-8:
    • Bits 0-9: Offense
    • Bits 10-12: Final action (1=explode, 2=burst into flames)
    • Bits 13-15: Altitude
  • Bytes 9-10:
    • Bits 0-9: Defense
    • Bits 10-12: Defeat message
    • Bits 13-15: Unknown (probably unused)
  • Byte 11: Fight
  • Byte 12: Speed
  • Byte 13: Wisdom
  • Byte 14: Strength
  • Byte 15: Force
  • Bytes 16-23: Attacks
  • Bytes 24-25: Pointer to name
  • Bytes 26-27: Experience
  • Bytes 28-29: Money
  • Byte 30: Item dropped
  • Byte 31: Graphic tileset