Difference between revisions of "FF7/Accessory data"

From Final Fantasy Inside
< FF7
Jump to navigation Jump to search
my_wiki>Halkun
 
m (16 revisions imported)
 
(15 intermediate revisions by 5 users not shown)
Line 1: Line 1:
=== Accessory data format ===
+
== KERNEL.BIN - Section 8: Accessory data format ==
  
This contains the accessory data. Each record is 16 bytes long.  
+
This section contains the accessory data. Each record is 16 bytes long.  
  
 
{| border="0" cellpadding="3" cellspacing="1" style="background: rgb(0,0,0)" align="center"
 
{| border="0" cellpadding="3" cellspacing="1" style="background: rgb(0,0,0)" align="center"
Line 42: Line 42:
 
|style="background:rgb(255,255,255);" colspan="2" | Elemental Strength
 
|style="background:rgb(255,255,255);" colspan="2" | Elemental Strength
 
|-
 
|-
|style="background:rgb(204,204,255);" colspan="2" rowspan="2" | &nbsp;
+
|style="background:rgb(204,204,255);" colspan="2" rowspan="3" | &nbsp;
 
|style="background:rgb(255,255,255);" | 0x00
 
|style="background:rgb(255,255,255);" | 0x00
|style="background:rgb(255,255,255);" | Drains
+
|style="background:rgb(255,255,255);" | Absorb
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x01
 
|style="background:rgb(255,255,255);" | 0x01
|style="background:rgb(255,255,255);" | Nullifies
+
|style="background:rgb(255,255,255);" | Nullify
 +
|-
 +
|style="background:rgb(255,255,255);" | 0x02
 +
|style="background:rgb(255,255,255);" | Halve
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x05
 
|style="background:rgb(255,255,255);" | 0x05
Line 53: Line 56:
 
|style="background:rgb(255,255,255);" colspan="2" | Special Effect
 
|style="background:rgb(255,255,255);" colspan="2" | Special Effect
 
|-
 
|-
|style="background:rgb(204,204,255);" colspan="2" rowspan="7" | &nbsp;
+
|style="background:rgb(204,204,255);" colspan="2" rowspan="8" | &nbsp;
 +
|style="background:rgb(255,255,255);" | 0xFF
 +
|style="background:rgb(255,255,255);" | None
 +
|-
 
|style="background:rgb(255,255,255);" | 0x00
 
|style="background:rgb(255,255,255);" | 0x00
 
|style="background:rgb(255,255,255);" | Haste
 
|style="background:rgb(255,255,255);" | Haste
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x01
 
|style="background:rgb(255,255,255);" | 0x01
|style="background:rgb(255,255,255);" | Fury
+
|style="background:rgb(255,255,255);" | Berserk
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x02
 
|style="background:rgb(255,255,255);" | 0x02
Line 78: Line 84:
 
|style="background:rgb(255,255,255);" | 0x06
 
|style="background:rgb(255,255,255);" | 0x06
 
|style="background:rgb(255,255,255);" | 2 bytes
 
|style="background:rgb(255,255,255);" | 2 bytes
|style="background:rgb(255,255,255);" colspan="2" | Elemental Type
+
|style="background:rgb(255,255,255);" colspan="2" | [[FF7/Battle/Elemental_Data|Elements Affected]]
|-
 
|style="background:rgb(204,204,255);" colspan="2" rowspan="10" | &nbsp;
 
|style="background:rgb(255,255,255);" | 0x01
 
|style="background:rgb(255,255,255);" | Fire
 
|-
 
|style="background:rgb(255,255,255);" | 0x02
 
|style="background:rgb(255,255,255);" | Ice
 
|-
 
|style="background:rgb(255,255,255);" | 0x04
 
|style="background:rgb(255,255,255);" | Lightning
 
|-
 
|style="background:rgb(255,255,255);" | 0x08
 
|style="background:rgb(255,255,255);" | Earth
 
|-
 
|style="background:rgb(255,255,255);" | 0x10
 
|style="background:rgb(255,255,255);" | Poison
 
|-
 
|style="background:rgb(255,255,255);" | 0x20
 
|style="background:rgb(255,255,255);" | Gravity
 
|-
 
|style="background:rgb(255,255,255);" | 0x40
 
|style="background:rgb(255,255,255);" | Water
 
|-
 
|style="background:rgb(255,255,255);" | 0x80
 
|style="background:rgb(255,255,255);" | Wind
 
|-
 
|style="background:rgb(255,255,255);" | 0x0001
 
|style="background:rgb(255,255,255);" | Holy
 
|-
 
|style="background:rgb(255,255,255);" | 0xFF01
 
|style="background:rgb(255,255,255);" | All of the above
 
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x08
 
|style="background:rgb(255,255,255);" | 0x08
 
|style="background:rgb(255,255,255);" | 4 bytes
 
|style="background:rgb(255,255,255);" | 4 bytes
|style="background:rgb(255,255,255);" colspan="2" | Status Protect
+
|style="background:rgb(255,255,255);" colspan="2" | [[FF7/Battle/Status Effects|Status Protect]]
|-
 
|style="background:rgb(204,204,255);" colspan="2" rowspan="18" | &nbsp;
 
|style="background:rgb(255,255,255);" | 0x00
 
|style="background:rgb(255,255,255);" | None
 
|-
 
|style="background:rgb(255,255,255);" | 0x01
 
|style="background:rgb(255,255,255);" | Death
 
|-
 
|style="background:rgb(255,255,255);" | 0x02
 
|style="background:rgb(255,255,255);" | Near Death
 
|-
 
|style="background:rgb(255,255,255);" | 0x04
 
|style="background:rgb(255,255,255);" | Sleep
 
|-
 
|style="background:rgb(255,255,255);" | 0x08
 
|style="background:rgb(255,255,255);" | Poison
 
|-
 
|style="background:rgb(255,255,255);" | 0x10
 
|style="background:rgb(255,255,255);" | Sadness
 
|-
 
|style="background:rgb(255,255,255);" | 0x20
 
|style="background:rgb(255,255,255);" | Fury
 
|-
 
|style="background:rgb(255,255,255);" | 0x40
 
|style="background:rgb(255,255,255);" | Confusion
 
|-
 
|style="background:rgb(255,255,255);" | 0x80
 
|style="background:rgb(255,255,255);" | Silence
 
|-
 
|style="background:rgb(255,255,255);" | 0x0010
 
|style="background:rgb(255,255,255);" | Haste
 
|-
 
|style="background:rgb(255,255,255);" | 0x0020
 
|style="background:rgb(255,255,255);" | Slow
 
|-
 
|style="background:rgb(255,255,255);" | 0x0040
 
|style="background:rgb(255,255,255);" | Stop
 
|-
 
|style="background:rgb(255,255,255);" | 0x0080
 
|style="background:rgb(255,255,255);" | Frog
 
|-
 
|style="background:rgb(255,255,255);" | 0x0001
 
|style="background:rgb(255,255,255);" | Small
 
|-
 
|style="background:rgb(255,255,255);" | 0x0002
 
|style="background:rgb(255,255,255);" | Slow-numb
 
|-
 
|style="background:rgb(255,255,255);" | 0x0004
 
|style="background:rgb(255,255,255);" | Petrify
 
|-
 
|style="background:rgb(255,255,255);" | 0x0008
 
|style="background:rgb(255,255,255);" | Regen
 
|-
 
|style="background:rgb(255,255,255);" | 0xFFFF
 
|style="background:rgb(255,255,255);" | All of the above
 
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x0C
 
|style="background:rgb(255,255,255);" | 0x0C
Line 209: Line 129:
 
|-
 
|-
 
|style="background:rgb(255,255,255);" | 0x0E
 
|style="background:rgb(255,255,255);" | 0x0E
|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
+
|style="background:rgb(255,255,255);" colspan="2" | Restriction Mask (If the following bits are 0)
|-
 
|style="background:rgb(204,204,255);" colspan="2" rowspan="10" | &nbsp;
 
|style="background:rgb(255,255,255);" | 0xFF
 
|style="background:rgb(255,255,255);" | Appears in Item Menu. Does<br />not appear in Battle Menu <br />(Not usable at all)
 
|-
 
|style="background:rgb(255,255,255);" | 0xFE
 
|style="background:rgb(255,255,255);" | Appears in Battle Menu & <br />Item Menu (Not usable at all)
 
|-
 
|style="background:rgb(255,255,255);" | 0xFD
 
|style="background:rgb(255,255,255);" | Appears in Item Menu. Does <br />not appear in Battle Menu <br />(Usable in Battle Menu)
 
|-
 
|style="background:rgb(255,255,255);" | 0xFC
 
|style="background:rgb(255,255,255);" | Appears in Battle Menu & <br />Item Menu (Usable in Battle Menu)
 
|-
 
|style="background:rgb(255,255,255);" | 0xFB
 
|style="background:rgb(255,255,255);" | Appears in Item Menu. Does <br />not appear in Battle Menu <br />(Usable in Item Menu)
 
|-
 
|style="background:rgb(255,255,255);" | 0xFA
 
|style="background:rgb(255,255,255);" | Appears in Battle Menu & <br />Item Menu (Usable in Item <br />Menu)
 
|-
 
|style="background:rgb(255,255,255);" | 0xF9
 
|style="background:rgb(255,255,255);" | Appears in Item Menu. <br />Does not appear in Battle Menu (Usable<br /> in Item Menu & Battle Menu)  
 
 
|-
 
|-
|style="background:rgb(255,255,255);" | 0xF8
+
|style="background:rgb(204,204,255);" colspan="2" rowspan="4" | &nbsp;
|style="background:rgb(255,255,255);" | Appears in Battle Menu & <br />Item Menu (Usable in Item <br />Menu & Battle Menu)
+
|style="background:rgb(255,255,255);" | 01h
 +
|style="background:rgb(255,255,255);" | Can be sold
 
|-
 
|-
|style="background:rgb(255,255,255);" | 0xF7
+
|style="background:rgb(255,255,255);" | 02h
|style="background:rgb(255,255,255);" | Appears in Item Menu. Does <br />not appear in Battle Menu <br />(Usable in Battle Menu)
+
|style="background:rgb(255,255,255);" | Can be used in Battle
 
|-
 
|-
|style="background:rgb(255,255,255);" | 0xF6
+
|style="background:rgb(255,255,255);" | 04h
|style="background:rgb(255,255,255);" | Appears in Battle Menu & <br />Item Menu (Usable in Battle <br />Menu)
+
|style="background:rgb(255,255,255);" | Can be used in Menu Out of Battle
 
|-
 
|-
|style="background:rgb(255,255,255);" | 0x0F
+
|style="background:rgb(255,255,255);" colspan="2" | Other values have no effect
|style="background:rgb(255,255,255);" | 1 byte
 
|style="background:rgb(255,255,255);" | Unknown
 
|style="background:rgb(255,255,255);" | [Always 0xFF]
 
 
|}
 
|}

Latest revision as of 05:10, 23 May 2019

KERNEL.BIN - Section 8: Accessory data format

This section contains the accessory data. Each record is 16 bytes long.

Offset Length Description
0x00 2 bytes Stat Bonus
  0xFF None
0x00 Strength
0x01 Vitality
0x02 Magic
0x03 Spirit
0x04 Dexterity
0x05 Luck
0x02 2 bytes Bonus Amount
0x04 1 byte Elemental Strength
  0x00 Absorb
0x01 Nullify
0x02 Halve
0x05 1 byte Special Effect
  0xFF None
0x00 Haste
0x01 Berserk
0x02 Curse Ring
0x03 Reflect
0x04 Increase Stealing Rate
0x05 Increase Manipulation Rate
0x06 Barrier / MBarrier
0x06 2 bytes Elements Affected
0x08 4 bytes Status Protect
0x0C 2 bytes Equip Mask
  0x0001 Equipable on Cloud
0x0002 Equipable on Barret
0x0004 Equipable on Tifa
0x0008 Equipable on Aeris
0x0010 Equipable on Red XIII
0x0020 Equipable on Yuffie
0x0040 Equipable on Cait Sith
0x0080 Equipable on Vincent
0x0100 Equipable on Cid
0x0200 Equipable on Young Cloud
0x0400 Equipable on Sephiroth
0x0E 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
Other values have no effect