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/Store Inventories Table: Difference between revisions
Jump to navigation
Jump to search
m (Infobox table change.) |
m (Xkeeper moved page EarthBound:Store Inventories Table to EarthBound/Store Inventories Table: normalize subpages and titles) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{subpage|game=EarthBound:ROM map}} | |||
{{Infobox table|name=Store Inventories Table | {{Infobox table|name=Store Inventories Table | ||
|game=EarthBound | |game=EarthBound |
Latest revision as of 02:41, 24 January 2024
This is a sub-page of EarthBound.
Store Inventories Table | |
Game | EarthBound |
Start Address | 0x1578B9 |
End Address | 0x157A86 |
# of Entries | 66 |
Entry Length | 7 bytes (0x07) |
Total Length | 462 bytes (0x1CE) |
Back to the ROM map |
The Store Inventories Table stores what items are sold by the various stores in EarthBound. It is essientially a list of indexes in the Item Properties Table, seven for each store.
Format
Item #N
- Length: 1 byte
- Offset within entry: 0x0N
- Range of values: 0-255 (0x00-0xFF), but it must be a valid index in the Item Properties Table
The index in the Item Properties Table of the Nth item sold by this store or 0 for no item. N can be 0-6 for up to 7 items per store. Note that the cost of an item is controlled by the Item Properties Table and will be the same at every store which sells that item.