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.
Mother 3/Gift box table
< Mother 3
Jump to navigation
Jump to search
Gift Box Table | |
Game | MOTHER 3 |
Start Address | 0x1165C10 |
End Address | 0x1169C10 |
# of Entries | 1024 (0x400) |
Entry Length | 4 bytes |
Total Length | 16384 bytes (0x4000) |
Back to the ROM map |
Table overview
This table contains 2 bytes entries for every gift in the game.
It has 7 bits unused, some of them have data.
Gifts are always placed on the bottom right corner of tiles.
Do note that changing 02 and 03 will change where the gift's sprite is, but not its hitbox location.
Table Structure
- [00]-[01]= Map index, since map index hexs go over FF, 02 contains the value that is over FF. Swapping them will give the correct index, so if 01= 5E and 02=03, the map will be 035E.
- [02]=The gift box's sprite's X tileset coordinate.
- [03]=The gift box's sprite's Y tileset coordinate.
- [04]=Changing this from 00 will make the game not show the "X got an item." message.
- [05]=Hex value of the item in the gift box.
- [06-07]=Dummy byte.
- [08]=Unique identifier of the gift box, it's used to check if a box has already been opened, this way an opened box during Flint's Chapter will remain opened during Duster's one because they have the same identifier. 83 is the exception, it's the Wess's Thunder Bomb's gift box.
- [09-0B]=Dummy bits.
- [0C]=Doesn't do anything, but is set for every gift box.(?) (Always set to 01 or 03)
- [0D]=Dummy bits.
- [0E]=Doesn't do anything, but is set for every gift box.(?) (Always set to 10, 30 or 40)
- [0F]=Dummy bits, when changed don't do anything, but it's set for some gift in unused maps.(If set=01)