Difference between revisions of "FF7/Item data"

From Final Fantasy Inside
< FF7
Jump to navigation Jump to search
my_wiki>Akari
(KERNEL.BIN - Section 5: Item data format)
my_wiki>Akari
(KERNEL.BIN - Section 5: Item data format)
Line 18: Line 18:
 
|-
 
|-
 
|style="background:rgb(255,255,255);" align="center" | 0x0A
 
|style="background:rgb(255,255,255);" align="center" | 0x0A
|style="background:rgb(255,255,255);" | 1 byte
+
|style="background:rgb(255,255,255);" | 2 bytes
 
|style="background:rgb(255,255,255);" colspan="2" | Restriction Mask (If the following bits are 0)
 
|style="background:rgb(255,255,255);" colspan="2" | Restriction Mask (If the following bits are 0)
 
|-
 
|-
Line 31: Line 31:
 
|style="background:rgb(255,255,255);" | Can be used in Menu Out of Battle
 
|style="background:rgb(255,255,255);" | Can be used in Menu Out of Battle
 
|-
 
|-
|style="background:rgb(255,255,255);" align="center" | 0x0B
+
|style="background:rgb(255,255,255);" align="center" | 0x0C
 
|style="background:rgb(255,255,255);" | 1 bytes
 
|style="background:rgb(255,255,255);" | 1 bytes
|style="background:rgb(255,255,255);" colspan="2" | [[FF7/Targeting_Data|Item Target]]
+
|style="background:rgb(255,255,255);" colspan="2" | [[FF7/Battle/Targeting Data|Target Flags]]
 
|-
 
|-
 
|style="background:rgb(255,255,255);" align="center" | 0x0D
 
|style="background:rgb(255,255,255);" align="center" | 0x0D

Revision as of 12:40, 11 August 2009

KERNEL.BIN - Section 5: Item data format

This section contains the item data. Each item record is 28 bytes long.

Offset Length Description
0x00 8 bytes Unknown Always 0xFFFFFFFF
0x08 2 bytes Camera Movement Id for single and multiple target attack.
0x0A 2 bytes Restriction Mask (If the following bits are 0)
  01h Can be sold
02h Can be used in Battle
04h Can be used in Menu Out of Battle
0x0C 1 bytes Target Flags
0x0D 1 byte Attack Effect Id
0x0E 1 byte Damage Calculation
0x0F 1 byte Item power for damage calculation.
0x10 1 byte Restore Type
  0x00 Restore HP
0x01 Restore MP
0x02 Restore Ailment
0xFF None
0x11 1 byte Status Effect Change
  3Fh Chance to Inflict/Heal status (out of 63)
40h Cure if inflicted
80h Cure if inflicted, Inflict if not
0x12 1 byte Additional Effects
0x13 1 byte Additional Effects Modifier
0x14 4 bytes Status effects
0x18 2 bytes Attack Element
0x1A 2 bytes Special Attack Flags