EarthBound Beginnings/Enemy groups: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
mNo edit summary
(add link to the music table)
Line 22: Line 22:
*Byte 9:
*Byte 9:
**Bits 0-3: Palette
**Bits 0-3: Palette
**Bits 4-7: Music
**Bits 4-7: Music (see [[EarthBound Zero:Music table|music table]] for the values)
 
===Music===
Changing the group's music byte to any value 0-F will set it's music to one of the following:
 
* 0 = No music
* 1 = 8 Melodies
* 2 = Battle With a Flippant Foe
* 3 = Battle With a Dangerous Foe
* 4 = Hippie Battle
* 5 = Versus Giegue
* 6 = Bein' Friends
* 7 = Bein' Friends
* 8 = Yucca Desert
* 9 = Magicant
* A = Snowman
* B = Mt. Itoi
* C = Factory
* D = Cemetery
* E = Twinkle Elementary School
* F = Department Store

Revision as of 14:07, 24 May 2023

This is a sub-page of EarthBound Beginnings.

Enemy groups
Game EarthBound Zero
Start Address 2CFA8
End Address 2D619
# of Entries 165
Entry Length 10 (0x0A)
Total Length 1650 bytes (0x672)
Back to the ROM map

Format

  • Byte 0: First enemy type, or FF for none
  • Byte 1:
    • Bits 0-6: First enemy letter: (0=none, 1=A, 2=B, 3=C, 4=D)
    • Bit 7: If set, enemy doesn't appear until called
  • Bytes 2-7: Same as 0-1, for second, third, and fourth enemies
  • Byte 8:
    • Bits 0-4: Positioning
    • Bits 5-7: Set for special encounters: (1=B.B.'s Boss, 2=R7037, 3=R7038, 4=R7038XX, 5=Giegue)
  • Byte 9:
    • Bits 0-3: Palette
    • Bits 4-7: Music (see music table for the values)