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
(moved from map data to this page)
 
mNo edit summary
Line 1: Line 1:
{{subpage|game=EarthBound Zero:ROM map}}
{{Infobox table|name=Random encounter groups
{{Infobox table|name=Random encounter groups
|game=EarthBound Zero
|game=EarthBound Zero

Revision as of 19:28, 29 May 2023

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.