If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
EarthBound Beginnings/Enemy data: Difference between revisions
Jump to navigation
Jump to search
(add resistance byte and final action) |
No edit summary |
||
Line 12: | Line 12: | ||
=Format= | =Format= | ||
* | *Byte 0: Unknown (probably unused) | ||
*Byte 1: Initial status | |||
*Byte 2: Flags | *Byte 2: Flags | ||
**Bit 0: Vulnerable to sprays | **Bit 0: Vulnerable to sprays | ||
Line 24: | Line 25: | ||
*Bytes 3-4: | *Bytes 3-4: | ||
**Bits 0-9: HP | **Bits 0-9: HP | ||
**Bits 10-11: | **Bits 10-11: Sub-palette | ||
**Bits 12-15: Graphic tile arrangement | **Bits 12-15: Graphic tile arrangement | ||
*Bytes 5-6: | *Bytes 5-6: | ||
Line 32: | Line 33: | ||
**Bits 0-9: Offense | **Bits 0-9: Offense | ||
**Bits 10-12: Final action (1=explode, 2=burst into flames) | **Bits 10-12: Final action (1=explode, 2=burst into flames) | ||
**Bits 13-15: | **Bits 13-15: Altitude | ||
*Bytes 9-10: | *Bytes 9-10: | ||
**Bits 0-9: Defense | **Bits 0-9: Defense | ||
**Bits 10- | **Bits 10-12: Defeat message | ||
**Bits 13-15: Unknown (probably unused) | |||
*Bytes 11-15: Stats | *Bytes 11-15: Stats | ||
*Bytes 16-23: Attacks | *Bytes 16-23: Attacks |
Revision as of 18:28, 29 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
- 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)
- 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