If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
EarthBound/Battle Group BG Association Table: Difference between revisions
Jump to navigation
Jump to search
(Added game to Infobox) |
(Fixed category) |
||
Line 27: | Line 27: | ||
[[Category:EarthBound: | [[Category:EarthBound:Battle data|Battle data]] |
Revision as of 09:52, 13 August 2017
This is a sub-page of EarthBound.
This is a sub-page of EarthBound.
Battle Group BG Association Table | |
Game | EarthBound |
Start Address | 0x0BDA9A |
End Address | 0x0BE229 |
# of Entries | 484 |
Entry Length | 4 bytes (0x4) |
Total Length | 1936 bytes (0x790) |
Back to the ROM map |
The Battle Group BG Association Table stores, for every enemy group, two indices for the battle background layers to use during battle. The entry at index i corresponds to the ith enemy group stored in the Enemy Battle Groups Table.
Format
First layer index
- Length: 2 bytes (0x2)
- Offset within entry: 0x00-0x1
- Range of values: 0-326 (0x00-0x147)
The background index for the first background layer.
Second layer index
- Length: 2 bytes (0x2)
- Offset within entry: 0x02-0x3
- Range of values: 0-326 (0x00-0x147)
The background index for the second background layer.