EarthBound Beginnings/Random encounter groups

From Data Crystal
< EarthBound Beginnings
Revision as of 22:49, 27 May 2023 by MOTHERrocks (talk | contribs) (moved from map data to this page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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.