Difference between revisions of "Object Tables"

From BindingForce Wiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
{| class="wikitable"
 
{| class="wikitable"
 +
![[ROM Addressing|Bank]]
 
!Game Area
 
!Game Area
 
!Table
 
!Table
 
![[ROM Addressing|ROM Offset]]
 
![[ROM Addressing|ROM Offset]]
![[ROM Addressing|Bank]]
 
 
![[ROM Addressing|Offset]]
 
![[ROM Addressing|Offset]]
 
!Details
 
!Details
 
|-
 
|-
 +
|1
 
|[[Western Hyrule|Western]]  
 
|[[Western Hyrule|Western]]  
 
|Hit Points
 
|Hit Points
 
|0x5430
 
|0x5430
|1
 
 
|0x1420
 
|0x1420
 
|-
 
|-
 +
|2
 
|[[Eastern Hyrule|Eastern]]  
 
|[[Eastern Hyrule|Eastern]]  
 
|Hit Points
 
|Hit Points
 
|0x9431
 
|0x9431
|2
 
 
|0x1420
 
|0x1420
 
|-
 
|-
 +
|3
 +
|[[Towns]]
 +
|Hit Points
 +
|0xD420
 +
|0x1420
 +
|-
 +
|4
 
|[[Palace Group A|Palaces 1,2,5]]  
 
|[[Palace Group A|Palaces 1,2,5]]  
 
|Hit Points
 
|Hit Points
 
|0x11431
 
|0x11431
|4
 
 
|0x1420
 
|0x1420
 
|-
 
|-
 +
|4
 
|[[Palace Group B|Palaces 3,4,6]]  
 
|[[Palace Group B|Palaces 3,4,6]]  
 
|Hit Points
 
|Hit Points
 
|0x12431
 
|0x12431
|4
 
 
|0x2420
 
|0x2420
 
|-
 
|-
 +
|5
 
|[[Great Palace]]  
 
|[[Great Palace]]  
 
|Hit Points
 
|Hit Points
 
|0x15431
 
|0x15431
|5
 
|0x1420
 
|-
 
|[[Towns]]
 
|Hit Points
 
|0xD420
 
|3
 
 
|0x1420
 
|0x1420
 
|}
 
|}

Revision as of 05:24, 15 April 2021

Information about in-game objects (Enemies, Collectables, Other Objects) is stored in tables in the game's ROM. These tables are indexed by an object ID that can be found in the pages above. The most relevant tables are:

Bank Game Area Table ROM Offset Offset Details
1 Western Hit Points 0x5430 0x1420
2 Eastern Hit Points 0x9431 0x1420
3 Towns Hit Points 0xD420 0x1420
4 Palaces 1,2,5 Hit Points 0x11431 0x1420
4 Palaces 3,4,6 Hit Points 0x12431 0x2420
5 Great Palace Hit Points 0x15431 0x1420