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
< EarthBound(Redirected from EarthBound:Store Inventories Table)
Jump to navigation
Jump to search
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.