Mother 3/Item data

From Data Crystal
Jump to navigation Jump to search

This is a sub-page of Mother 3.

Item data table
Game Mother 3
Start Address 0xE5108
End Address 0xEBD07
# of Entries 256 (0x100)
Entry Length 108 bytes (0x6C)
Total Length 27648 bytes (0x6C00)
Back to the ROM map

Overview

The item data table contains the stats and parameters for each item in the game. It does not include the item names; for that, see the item names table.

Format

Each entry in the table uses 108 bytes.

Field listing

Table view

       00   01   02   03   04   05   06   07   08   09   0A   0B   0C   0D   0E   0F
    +--------------------------------------------------------------------------------
00  | [        A        ] [        B        ] [   C   ] [   D   ] [        E        ]
10  | [        F        ] [        G        ] [ H] [ I] [ J] [ K] [        L        ]
20  | [                                      M                                     ->
30  | <-             M            ] [           N          ] [           O          ]
40  | [                                      P                                     ->
50  | <-                                     P                                     ->
60  | <-                P                   ] [        Q        ]

About PP increase (signed)

Even though the game considers only the first two bytes of PP increase, the developers left two more bytes.
This was probably done so the table has the same structure as the Level-up stats table.

Item type

Not fully known. Values range from 0 to 9:

00: Weapon
01: Body armor
02: Headgear
03: Armgear
04: Food
05: Status healer
06: Damaging Item
07: Special Effect Item
08: Key Item
09: Unused Key Item

Key item flag

Seems to be 01 for non-key items, 00 for key items.

Equip flags

This is a bitfield indicating who can equip this item:

  • 01 = ?
  • 02 = Flint
  • 04 = Lucas
  • 08 = Duster
  • 10 = Kumatora
  • 20 = Boney
  • 40 = Salsa
  • 80 = ?

Status ailment protection

Indicates how much to protect against certain status ailments. A more negative value means more protection. Each value is a 16-bit signed integer. There are 11 values, corresponding to the table below:

00: Poison
01: Paralysis
02: Sleep
03: Strange
04: Cry
05: Forgetful
06: Nausea
07: Fleas
08: Burned
09: Solidified
0A: Numbness?

Elemental protection

Similar to the status ailment protection, an item may also protect from elemental damage taken from PSI or Bomb items. Each value is an 8-bit signed integer. There are 5 values, corresponding to the table below:

00: Neutral (PK Love, Starstorm, Ground)
01: PK Fire
02: PK Freeze
03: PK Thunder
04: Bombs

Attacking type

These bytes are only considered if the item is a Weapon.
The first byte detemines what battle action the normal "Bash" one should become when the weapon is equipped.
This is used to make the battle action name change to "Kick", "Shoot" and other such names.
By modifying this value, one can make characters who aren't supposed to use PSI use them or use the battle action Consider.
The battle action name pointers to the Battle text are obtained by adding 0x9D to the value of the first byte.
Boney's battle action won't change name if it's an attack, but it will change name if the action becomes a skill.

Info chunk

PSI data, Item data, Battle skills table and Battle actions table all share this group of 0x28 (40) bytes.

It is called Battle Info chunk.

Item uses

If the third byte value is 01, the item will be usable only one time, in battle, before disappearing.
If the third byte value is 00, the item won't disappear after the use.