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/Random encounter groups: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
mNo edit summary
 
(One intermediate revision by one other user not shown)
(No difference)

Latest revision as of 12:15, 26 January 2024

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.