Anonymous

Changes

From Final Fantasy Inside

FF7/Weapon data

1,872 bytes removed, 02:42, 9 December 2020
m
KERNEL.BIN - Section 6: Weapon data format: Added switch to usage restriction mask
|style="background:rgb(255,255,255);" align="center" | 0x00
|style="background:rgb(255,255,255);" | 1 byte
|style="background:rgb(255,255,255);" colspan="2" | Weapon Range[[FF7/Battle/Targeting Data|Target Flags]]
|-
|style="background:rgb(204,204,255)" align="center" colspan="2" rowspan="2" |  |style="background:rgb(255,255,255); width: 50px;" | 0x03 |style="background:rgb(255,255,255);" | Long Range|-|style="background:rgb(255,255,255);" | 0x23|style="background:rgb(255,255,255);" | Normal Range|-|style="background:rgb(255,255,204);" align="center" | 0x01|style="background:rgb(255,255,204255);" | 1 byte|style="background:rgb(255,255,204255);" colspan="2" | Unknown [[FF7/Battle/Attack Effect Id List|Attack Effect Id]]. Always 0xFF]. Isn't used for weapon in game.
|-
|style="background:rgb(255,255,255);" align="center" | 0x02
|style="background:rgb(255,255,255);" | 1 byte
|style="background:rgb(255,255,255);" colspan="2" | Special Options (Attack Modifiers)[[FF7/Battle/Damage Calculation|Damage Calculation]]
|-
|style="background:rgb(204,204,255)" align="center" colspan="2" rowspan="10" | &nbsp;|style="background:rgb(255,255,255);" | 0x11 |style="background:rgb(255,255,255);" | Normal|-|style="background:rgb(255,255,255);" | 0xA0|style="background:rgb(255,255,255);" | 1 + Number of Status Effects Tifa has out of following:Near-death, Poison, Sadness, Silence, Slow, Darkness + 2<br /> * Number of Status Effects Tifa has out of following:<br />Death-sentence, Slow-numb|-|style="background:rgb(255,255,255);" | 0xA1|style="background:rgb(255,255,255);" | Power up when near death|-|style="background:rgb(255,255,255);" | 0xA2|style="background:rgb(255,255,255);" | 1 + Number of Allies in Death Status|-|style="background:rgb(255,255,255);" | 0xA3|style="background:rgb(255,255,255);" | (Target's Level / 16) When used against allies, the weapon<br />will act like a physical hit, but will cause not damage (not<br />even a Miss or a 0). The Weapon has no Morph modifier;<br />it does the same damage with or without Morph.<br />(Conformer) |-|style="background:rgb(255,255,255);" | 0xA4|style="background:rgb(255,255,255);" | (1 + [48 * Player's HP / Player's Max HP]) / 16|-|style="background:rgb(255,255,255);" | 0xA5|style="background:rgb(255,255,255);" | (1 + [48 * Player's MP / Player's Max MP]) / 16|-|style="background:rgb(255,255,255);" | 0xA6|style="background:rgb(255,255,255);" | (1 + [Total AP on Weapon / 10000]) / 16 |-|style="background:rgb(255,255,255);" | 0xA7|style="background:rgb(255,255,255);" | (10 + [Player's Kills / 128]) / 16|-|style="background:rgb(255,255,255);" | 0xA8|style="background:rgb(255,255,255);" | (1 + [Player's Limit Level * Player's Limit Units / 16]) / 16 |-|style="background:rgb(255,255,204);" align="center" | 0x03|style="background:rgb(255,255,204255);" | 1 byte|style="background:rgb(255,255,204255);" colspan="2" | Unknown [Not used. Always 0xFF].
|-
|style="background:rgb(255,255,255);" align="center" | 0x04
|style="background:rgb(255,255,255);" | 1 byte
|style="background:rgb(255,255,255);" colspan="2" | Weapon Attackattack strength for damage formula.
|-
|style="background:rgb(255,255,204255);" align="center" | 0x05|style="background:rgb(255,255,204255);" | 1 byte|style="background:rgb(255,255,204255);" colspan="2" | [[FF7/Battle/Status Effects| Status Attack (]]. This is index of status bit).
|-
|style="background:rgb(255,255,255);" align="center" | 0x06
|style="background:rgb(255,255,255);" | 1 byte
|style="background:rgb(255,255,255);" colspan="2" | Materia growth rate(0, 1, 2, 3 for None, Normal, Double, Triple. All other values are "Normal" Growth)
|-
|style="background:rgb(255,255,255);" align="center" | 0x07
|style="background:rgb(255,255,255);" | 1 byte
|style="background:rgb(255,255,255);" colspan="2" | Critical hit percentagechance (%)
|-
|style="background:rgb(255,255,255);" align="center" | 0x08
|style="background:rgb(255,255,255);" | 1 byte
|style="background:rgb(255,255,255);" colspan="2" | Weapon attack percentagehit chance (%)
|-
|style="background:rgb(255,255,255);" align="center" | 0x09
|style="background:rgb(255,255,255);" | 3 bytes1 byte|style="background:rgb(255,255,255);" colspan="2" | Weapon Model ID model|-|style="background:rgb(204,204,255)" align="center" colspan="2" rowspan="2" | &nbsp;|style="background:rgb(255,255,255);" | Upper nybble|style="background:rgb(255,255,255);" | Attack animation modifier (For Barret and Vincent only)|-|style="background:rgb(255,255,255);" | Lower nybble|style="background:rgb(255,255,255);" | Weapon model index|-|style="background:rgb(255,255,204);" align="center" | 0x0A|style="background:rgb(255,255,204);" | 1 byte|style="background:rgb(255,255,204);" colspan="2" | Alignment. Always 0xFF.|-|style="background:rgb(255,255,255);" align="center" | 0x0B|style="background:rgb(255,255,255);" | 1 byte|style="background:rgb(255,255,255);" colspan="2" | Mask for access high sound id (0x100+).
|-
|style="background:rgb(255,255,255);" align="center" | 0x0C
|style="background:rgb(255,255,255);" | 2 bytes
|style="background:rgb(255,255,255);" colspan="2" | Unknown [Aways [FF7/Battle/Camera Movement Id List|Camera Movement Id]]. Used for both single and multiple targeted attacks with this weapon. Always 0xFFFF] .
|-
|style="background:rgb(255,255,255);" align="center" | 0x0E
|style="background:rgb(255,255,255);" align="center" | 0x10
|style="background:rgb(255,255,255);" | 2 bytes
|style="background:rgb(255,255,255);" colspan="2" | [[FF7/Battle/Elemental_Data| Attack Type|-|style="background:rgb(204,204,255)" align="center" colspan="2" rowspan="4" | &nbsp;|style="background:rgb(255,255,255);" | 0x0400|style="background:rgb(255,255,255);" | Cut|-|style="background:rgb(255,255,255);" | 0x0800|style="background:rgb(255,255,255);" | Hit|-|style="background:rgb(255,255,255);" | 0x1000|style="background:rgb(255,255,255);" | Punch|-|style="background:rgb(255,255,255);" | 0x2000|style="background:rgb(255,255,255);" | ShootElement]]
|-
|style="background:rgb(255,255,204);" align="center" | 0x12
|style="background:rgb(255,255,255);" align="center" | 0x18
|style="background:rgb(255,255,255);" | 4 bytes
|style="background:rgb(255,255,255);" colspan="2" | Stat Amount Increased (Based on ITabove)
|-
|style="background:rgb(255,255,255);" align="center" | 0x1C
|style="background:rgb(255,255,255);" colspan="2" | Materia Slots
|-
|style="background:rgb(204,204,255)" align="center" colspan="2" rowspan="67" | &nbsp;
|style="background:rgb(255,255,255);" | 0x00
|style="background:rgb(255,255,255);" | No Slot
|-
|style="background:rgb(255,255,255);" | 0x01
|style="background:rgb(255,255,255);" | Empty Unlinked Slot (no growth-equips)
|-
|style="background:rgb(255,255,255);" | 0x02
|style="background:rgb(255,255,255);" | Empty Left Linked Slot (ultima weapons slotsno growth-equips)
|-
|style="background:rgb(255,255,255);" | 0x03
|style="background:rgb(255,255,255);" | Empty Right Linked Slot (ultima weapons slotsno growth-equips)
|-
|style="background:rgb(255,255,255);" | 0x05
|style="background:rgb(255,255,255);" | Right Linked Slot
|-
|style="background:rgb(255,255,204255);" align="center" | 0x24|style="background:rgb(255,255,204255);" | 1 bytes|style="background:rgb(255,255,255);" colspan="2" | [[FF7/Battle/Sound Effect Id List|Sound Effect Id]] for normal hit.|-|style="background:rgb(255,255,255);" align="center" | 0x25|style="background:rgb(255,255,255);" | 1 bytes|style="background:rgb(255,255,255);" colspan="2" | [[FF7/Battle/Sound Effect Id List|Sound Effect Id]] for critical hit.|-|style="background:rgb(255,255,255);" align="center" | 0x26| 3 style="background:rgb(255,255,255);" | 1 bytes|style="background:rgb(255,255,204255);" colspan="2" | Unknown[[FF7/Battle/Sound Effect Id List|Sound Effect Id]] for missed attack.
|-
|style="background:rgb(255,255,255);" align="center" | 0x27
|style="background:rgb(255,255,255);" | 1 byte
|style="background:rgb(255,255,255);" colspan="2" | Attack texture graphic[[FF7/Battle/Impact Effect Id List|Impact Effect Id]]
|-
|style="background:rgb(255,255,204255);" align="center" | 0x28|style="background:rgb(255,255,204255);" | 2 bytes|style="background:rgb(255,255,204255);" colspan="2" | [[FF7/Battle/Special Attack Flags|Special Attack Flags]]. Always 0xFFFF].
|-
|style="background:rgb(255,255,255);" align="center" | 0x2A
|style="background:rgb(255,255,255);" | 1 byte2 bytes|style="background:rgb(255,255,255);" colspan="2" | Restriction Mask|-|style="background:rgb(204,204,255)" align="center" colspan="2" rowspan="10" | &nbsp;|style="background:rgb(255,255,255);" | 0xFF|style="background:rgb(255,255,255);" | Appears in Item Menu. Does 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 & Item Menu (Not usable at all)|-|style="background:rgb(255,255,255);" | 0xFD|style="background:rgb(255,255,255);" | Appears in Item Menu. Does 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 & Item Menu (Usable in Battle<br />Menu) |-|style="background:rgb(255,255,255);" | 0xFB|style="background:rgb(255,255,255);" | Appears in Item Menu. Does not appear in Battle Menu <br />(Usable in Item MenuIf the following bits are 0)
|-
|style="background:rgb(204,204,255);" colspan="2" rowspan="5" | &nbsp;|style="background:rgb(255,255,255);" | 0xFA01h|style="background:rgb(255,255,255);" | Appears in Battle Menu & Item Menu (Usable in Item <br />Menu) Can be sold
|-
|style="background:rgb(255,255,255);" | 0xF902h|style="background:rgb(255,255,255);" | Appears in Item Menu. Does not appear Can be used in Battle Menu <br />(Usable in Item Menu & Battle Menu)
|-
|style="background:rgb(255,255,255);" | 0xF804h|style="background:rgb(255,255,255);" | Appears Can be used in Battle Menu & Item <br />Menu (Usable in Item Menu & Out of Battle Menu)
|-
|style="background:rgb(255,255,255);" | 0xF708h|style="background:rgb(255,255,255);" | Appears in Item Menu. Does not appear Can be thrown in Battle Menu <br />(Usable in Battle Menu)
|-
|style="background:rgb(255,255,255);" | 0xF6|style="background:rgb(255,255,255);" | Appears in Battle Menu & Item Menu (Usable in Battle <br />Menu) |-|style="background:rgb(255,255,204);" align="center" | 0x2B|style="background:rgb(255,255,204);" | 1 byte|style="background:rgb(255,255,204);" colspan="2" | Unknown [Always 0xFF]Other values have no effect
|}
6
edits