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: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
mNo edit summary
(add resistance byte and final action)
Line 13: Line 13:
=Format=
=Format=
*Bytes 0-1: Unknown
*Bytes 0-1: Unknown
*Byte 2: Unknown
*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:
*Bytes 3-4:
**Bits 0-9: HP
**Bits 0-9: HP
Line 23: Line 31:
*Bytes 7-8:
*Bytes 7-8:
**Bits 0-9: Offense
**Bits 0-9: Offense
**Bits 10-15: Unknown
**Bits 10-12: Final action (1=explode, 2=burst into flames)
**Bits 13-15: Unknown
*Bytes 9-10:
*Bytes 9-10:
**Bits 0-9: Defense
**Bits 0-9: Defense

Revision as of 22:06, 18 December 2006

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

  • Bytes 0-1: Unknown
  • 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: Unknown
    • 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: Unknown
  • Bytes 9-10:
    • Bits 0-9: Defense
    • Bits 10-15: Defeat message
  • Bytes 11-15: Stats
  • 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