EarthBound Beginnings/Random encounter groups

From Data Crystal
Jump to navigation Jump to search

This is a sub-page of EarthBound Beginnings.

Random encounter groups
Game EarthBound Zero
Start Address 0x29210
End Address 0x2940F
# of Entries 32
Entry Length 16
Total Length 512 bytes (0x200)
Back to the ROM map

The random encounter group table determines all the possible random battles. Whenever a random encounter starts, a random byte out of the appropriate group of 16 is picked. If it is 0, another byte is picked until a nonzero one is found; in this way there may be fewer than 16 possible battles. The byte refers not to an enemy, but to an enemy group.