FF7/Attack data

From Final Fantasy Inside
< FF7
Revision as of 21:52, 6 November 2008 by my_wiki>NFITC1 (KERNEL.BIN - Section 2: Attack data format)
Jump to navigation Jump to search

KERNEL.BIN - Section 2: Attack data format

(Note: Akari and NFITC1 have some minor differences with respect to information on this page. Most of this page comes from NFITC1's work on WallMarket)

This section contains the data for the different attacks. Each record is 28 bytes long.

Offset Length Description
0x00 1 byte Attack %
0x01 1 byte Impact Animation Index
0x02 2 byte Target Animation Index
0x04 2 byte Casting cost
0x06 2 bytes Impact Sound
0x08 2 bytes Single Target Camera Movement Index
0x0A 2 bytes Multiple Targets Camera Movement Index
0x0C 1 byte Targeting Information
0x0D 1 byte Animation Index
0x0E 1 byte Damage Calculation (more details soon)
0x0F 1 byte Attack Strength
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 (more details soon)
0x13 1 byte Additional Effects Modifier
0x14 4 bytes Status
0x18 2 bytes Element
0x1A 2 bytes Special Attack Properties (more details soon)