The current URL is datacrystal.tcrf.net.
Mother 3/Item data: Difference between revisions
Lorenzooone (talk | contribs) (→Format) |
Lorenzooone (talk | contribs) No edit summary |
||
Line 20: | Line 20: | ||
* <tt>00-03 (04)</tt> = <tt>{{color2|#000000|#87CEEB|[ A ]}}</tt> Item number | * <tt>00-03 (04)</tt> = <tt>{{color2|#000000|#87CEEB|[ A ]}}</tt> Item number | ||
* <tt>04-07 (04)</tt> = <tt>{{color2|#000000|#90EE90|[ B ]}}</tt> [[#Item type|Item type]] | * <tt>04-07 (04)</tt> = <tt>{{color2|#000000|#90EE90|[ B ]}}</tt> [[#Item type|Item type]] | ||
* <tt>08- | * <tt>08-09 (02)</tt> = <tt>{{color2|#000000|#FFB6C1|[ C ]}}</tt> [[#Key item flag|Key item flag]] | ||
* <tt>0A-0B (02)</tt> = <tt>{{color2|#000000|#FAFAD2|[ D ]}}</tt> Sell price | * <tt>0A-0B (02)</tt> = <tt>{{color2|#000000|#FAFAD2|[ D ]}}</tt> Sell price | ||
* <tt>0C- | * <tt>0C-0F (04)</tt> = <tt>{{color2|#000000|#FFFFE0|[ E ]}}</tt> [[#Equip flags|Equip flags]] | ||
* <tt>10-13 (04)</tt> = <tt>{{color2|#000000|#B0C4DE|[ F ]}}</tt> HP increase (signed) | * <tt>10-13 (04)</tt> = <tt>{{color2|#000000|#B0C4DE|[ F ]}}</tt> HP increase (signed) | ||
* <tt>14-17 (04)</tt> = <tt>{{color2|#000000|#D3D3D3|[ G ]}}</tt> PP increase (signed) | * <tt>14-17 (04)</tt> = <tt>{{color2|#000000|#D3D3D3|[ G ]}}</tt> PP increase (signed) | ||
Line 34: | Line 32: | ||
* <tt>20-35 (16)</tt> = <tt>{{color2|#FFFFFF|#006400|[ M ]}}</tt> [[#Status ailment protection|Status ailment protection]] | * <tt>20-35 (16)</tt> = <tt>{{color2|#FFFFFF|#006400|[ M ]}}</tt> [[#Status ailment protection|Status ailment protection]] | ||
* <tt>36-3A (05)</tt> = <tt>{{color2|#FFFFFF|#8B0000|[ N ]}}</tt> [[#Elemental protection|Elemental protection]] | * <tt>36-3A (05)</tt> = <tt>{{color2|#FFFFFF|#8B0000|[ N ]}}</tt> [[#Elemental protection|Elemental protection]] | ||
* <tt>3B-3F (05)</tt> = | * <tt>3B-3F (05)</tt> = <tt>{{color2|#FFFFFF|#435678|[ O ]}}</tt> [[#Attacking type|Attacking type]] | ||
* <tt>40-67 (28)</tt> = <tt>{{color2|#FFFFFF|#053656|[ | * <tt>40-67 (28)</tt> = <tt>{{color2|#FFFFFF|#053656|[ P ]}}</tt> [[#Info chunk|PSI/Item/Actions Info Chunk]] | ||
* <tt>68 | * <tt>68-6B (04)</tt> = <tt>{{color2|#000000|#27D378|[ Q ]}}</tt> [[#Item uses|Item uses in-battle]] | ||
===Table view=== | ===Table view=== | ||
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F | 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F | ||
+-------------------------------------------------------------------------------- | +-------------------------------------------------------------------------------- | ||
00 | {{color2|#000000|#87CEEB|[ A ]}} {{color2|#000000|#90EE90|[ B ]}} {{color2|#000000|#FFB6C1|[ C]}} | 00 | {{color2|#000000|#87CEEB|[ A ]}} {{color2|#000000|#90EE90|[ B ]}} {{color2|#000000|#FFB6C1|[ C ]}} {{color2|#000000|#FAFAD2|[ D ]}} {{color2|#000000|#FFFFE0|[ E ]}} | ||
10 | {{color2|#000000|#B0C4DE|[ F ]}} {{color2|#000000|#D3D3D3|[ G ]}} {{color2|#000000|#F08080|[ H]}} {{color2|#000000|#FFA07A|[ I]}} {{color2|#000000|#ADD8E6|[ J]}} {{color2|#FFFFFF|#00008B|[ K]}} {{color2|#FFFFFF|#065545|[ L ]}} | 10 | {{color2|#000000|#B0C4DE|[ F ]}} {{color2|#000000|#D3D3D3|[ G ]}} {{color2|#000000|#F08080|[ H]}} {{color2|#000000|#FFA07A|[ I]}} {{color2|#000000|#ADD8E6|[ J]}} {{color2|#FFFFFF|#00008B|[ K]}} {{color2|#FFFFFF|#065545|[ L ]}} | ||
20 | {{color2|#FFFFFF|#006400|[ M ->}} | 20 | {{color2|#FFFFFF|#006400|[ M ->}} | ||
30 | {{color2|#FFFFFF|#006400|<- M ]}} {{color2|#FFFFFF|#8B0000|[ N ]}} [ | 30 | {{color2|#FFFFFF|#006400|<- M ]}} {{color2|#FFFFFF|#8B0000|[ N ]}} {{color2|#FFFFFF|#435678|[ O ]}} | ||
40 | {{color2|#FFFFFF|#053656|[ | 40 | {{color2|#FFFFFF|#053656|[ P ->}} | ||
50 | {{color2|#FFFFFF|#053656|<- | 50 | {{color2|#FFFFFF|#053656|<- P ->}} | ||
60 | {{color2|#FFFFFF|#053656|<- | 60 | {{color2|#FFFFFF|#053656|<- P ]}} {{color2|#000000|#27D378|[ Q ]}} | ||
===About PP increase (signed)=== | ===About PP increase (signed)=== | ||
Line 138: | Line 135: | ||
| <tt>04</tt>: Bombs | | <tt>04</tt>: Bombs | ||
|} | |} | ||
==Attacking type== | |||
These bytes are only considered if the item is a Weapon.<br> | |||
The first byte detemines what battle action the normal "Bash" one should become.<br> | |||
This is used to make the battle action name change to "Kick", "Shoot" and other names.<br> | |||
By modifying this value, one can make characters who aren't supposed to use PSI or the battle action Consider. | |||
==Info chunk== | ==Info chunk== | ||
Line 144: | Line 147: | ||
==Item uses== | ==Item uses== | ||
If value is 01, the item will be usable only one time, in battle, before disappearing. | If the third byte value is 01, the item will be usable only one time, in battle, before disappearing.<br> | ||
If the third byte value is 00, the item won't disappear after the use. | |||
[[Category:MOTHER 3|Item data]] | [[Category:MOTHER 3|Item data]] |
Revision as of 15:07, 22 October 2016
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
- 00-03 (04) = [ A ] Item number
- 04-07 (04) = [ B ] Item type
- 08-09 (02) = [ C ] Key item flag
- 0A-0B (02) = [ D ] Sell price
- 0C-0F (04) = [ E ] Equip flags
- 10-13 (04) = [ F ] HP increase (signed)
- 14-17 (04) = [ G ] PP increase (signed)
- 18-18 (01) = [ H ] Offense increase (signed)
- 19-19 (01) = [ I ] Defense increase (signed)
- 1A-1A (01) = [ J ] IQ increase (signed)
- 1B-1B (01) = [ K ] Speed increase (signed)
- 1C-1F (04) = [ L ] Kindness increase (signed)
- 20-35 (16) = [ M ] Status ailment protection
- 36-3A (05) = [ N ] Elemental protection
- 3B-3F (05) = [ O ] Attacking type
- 40-67 (28) = [ P ] PSI/Item/Actions Info Chunk
- 68-6B (04) = [ Q ] Item uses in-battle
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: Nausea (In battle throwable item?) |
07: Fleas (Key item usable in battle?) |
08: Burned |
09: Solidified |
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.
This is used to make the battle action name change to "Kick", "Shoot" and other names.
By modifying this value, one can make characters who aren't supposed to use PSI or the battle action Consider.
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.