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
(Created page with "{{subpage|game=EarthBound:ROM map}} {{subpage|game=EarthBound:RAM map}} {{Infobox table|name=Battle Group BG Association Table |loc=ROM |start=0x0BDA9A |end=0x0BE229 |numentr...") |
(Added game to Infobox) |
||
Line 3: | Line 3: | ||
{{Infobox table|name=Battle Group BG Association Table | {{Infobox table|name=Battle Group BG Association Table | ||
|game=EarthBound | |||
|loc=ROM | |loc=ROM | ||
|start=0x0BDA9A | |start=0x0BDA9A |
Revision as of 09:50, 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.