Difference between revisions of "FF7/Item data"
< FF7
Jump to navigation
Jump to search
my_wiki>NFITC1 (→KERNEL.BIN - Section 5: Item data format) |
my_wiki>NFITC1 (→KERNEL.BIN - Section 5: Item data format) |
||
Line 8: | Line 8: | ||
! style="background:rgb(204,204,204); width:350px;" colspan="2" | Description | ! style="background:rgb(204,204,204); width:350px;" colspan="2" | Description | ||
|- | |- | ||
− | |style="background:rgb(255,255, | + | |style="background:rgb(255,255,204);" align="center" | 0x00 |
− | |style="background:rgb(255,255, | + | |style="background:rgb(255,255,204);" | 8 bytes |
− | |style="background:rgb(255,255, | + | |style="background:rgb(255,255,204); width: 110px;" | Unknown |
− | |style="background:rgb(255,255, | + | |style="background:rgb(255,255,204);" | Always 0xFFFFFFFF |
|- | |- | ||
− | |style="background:rgb(255,255, | + | |style="background:rgb(255,255,255);" align="center" | 0x08 |
− | |style="background:rgb(255,255, | + | |style="background:rgb(255,255,255);" | 2 bytes |
− | |style="background:rgb(255,255, | + | |style="background:rgb(255,255,255);" colspan="2" | Camera Movement Index |
|- | |- | ||
|style="background:rgb(255,255,255);" align="center" | 0x0A | |style="background:rgb(255,255,255);" align="center" | 0x0A | ||
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | 1 byte |
− | |style="background:rgb(255,255,255);" colspan="2" | Restriction Mask | + | |style="background:rgb(255,255,255);" colspan="2" | Restriction Mask (If the following bits are 0) |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(204,204,255);" colspan="2" rowspan="3" | |
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | 01h |
+ | |style="background:rgb(255,255,255);" | Can be sold | ||
|- | |- | ||
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | 02h |
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | Can be used in Battle |
|- | |- | ||
− | |style="background:rgb(255,255,255);" | | + | |style="background:rgb(255,255,255);" | 04h |
− | |style="background:rgb(255,255,255);" | | + | |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" | 0x0B | ||
|style="background:rgb(255,255,255);" | 1 bytes | |style="background:rgb(255,255,255);" | 1 bytes | ||
− | |style="background:rgb(255,255,255);" colspan="2" | | + | |style="background:rgb(255,255,255);" colspan="2" | [[FF7/Targeting_Data|Item Target]] |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|style="background:rgb(255,255,255);" align="center" | 0x0D | |style="background:rgb(255,255,255);" align="center" | 0x0D | ||
Line 78: | Line 41: | ||
|style="background:rgb(255,255,255);" align="center" | 0x0E | |style="background:rgb(255,255,255);" align="center" | 0x0E | ||
|style="background:rgb(255,255,255);" | 1 byte | |style="background:rgb(255,255,255);" | 1 byte | ||
− | |style="background:rgb(255,255,255);" colspan="2 | + | |style="background:rgb(255,255,255);" colspan="2" | Damage Calculation Method (More soon) |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|style="background:rgb(255,255,255);" align="center" | 0x0F | |style="background:rgb(255,255,255);" align="center" | 0x0F | ||
Line 132: | Line 64: | ||
|style="background:rgb(255,255,255);" | None | |style="background:rgb(255,255,255);" | None | ||
|- | |- | ||
− | |style="background:rgb(255,255, | + | |style="background:rgb(255,255,255)" align="center" | 0x11 |
− | |style="background:rgb(255,255, | + | |style="background:rgb(255,255,255)" | 1 byte |
− | |style="background:rgb(255,255,204) | + | |style="background:rgb(255,255,255)" colspan="2" | Status Effect Change |
+ | |- | ||
+ | |style="background:rgb(204,204,255)" align="center" colspan="2" rowspan="3" | | ||
+ | |style="background:rgb(255,255,255)" | 3Fh | ||
+ | |style="background:rgb(255,255,255)" | Chance to Inflict/Heal status (out of 63) | ||
+ | |- | ||
+ | |style="background:rgb(255,255,255)" | 40h | ||
+ | |style="background:rgb(255,255,255)" | Cure if inflicted | ||
+ | |- | ||
+ | |style="background:rgb(255,255,255)" | 80h | ||
+ | |style="background:rgb(255,255,255)" | Cure if inflicted, Inflict if not | ||
|- | |- | ||
|style="background:rgb(255,255,255);" align="center" | 0x12 | |style="background:rgb(255,255,255);" align="center" | 0x12 |
Revision as of 18:54, 7 November 2008
KERNEL.BIN - Section 5: Item data format
This section contains the item data. Each item record is 27 bytes long.
Offset | Length | Description | |
---|---|---|---|
0x00 | 8 bytes | Unknown | Always 0xFFFFFFFF |
0x08 | 2 bytes | Camera Movement Index | |
0x0A | 1 byte | 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 | ||
0x0B | 1 bytes | Item Target | |
0x0D | 1 byte | Item ID | |
0x0E | 1 byte | Damage Calculation Method (More soon) | |
0x0F | 1 byte | Amount Multiplier | |
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 | Element | |
0x1A | 2 bytes | Item Special Properties |