Final Fantasy I & II: Dawn of Souls:Spell Data Table

From Data Crystal
Jump to: navigation, search


FF1 Spell Data Table
Game Final Fantasy I & II: Dawn of Souls
Start Address 0x1A1980
End Address 0x1A20BF
# of Entries 116
Entry Length 16 (0x10)
Total Length 1856 bytes (0x740)
Back to the ROM map

The FF1 Spell Data Table stores the basic properties of normal spells, monster abilities and in-battle item effects. What classes may use which spells is defined in a separate table.

The spells Exit and Teleport have special-case coding attached to them, and ignore several of the parameters of their entries in this table; in the field, they may only be cast in certain maps, and will always warp the party regardless of their stated spell effect.

Format

Usage

Indicates when this spell may be cast:

0x0 = Never
0x1 = Battle Only
0x2 = Field Only
0x4 = Anytime

Exit and Teleport have special-case coding attached to their spell IDs which allow them to be used only in certain dungeon maps outside of battle.

Targeting

Indicates which units this spell will target inside and outside of battle; see the list of targeting parameters.

Power

The exact purpose of this value depends on the spell type. Damage spells treat it as a multiplier for INT/10; status ailment spells treat it as a bitfield of status effects to set; stat buffing spells as how much to increase the chosen stat by, etc.

Element

Each bit corresponds to an element, though the top two bits are unused. A spell's elemental affinity influences its accuracy for offensive spells as well as damaging spells' base damage depending on whether the targets are weak or resistant to the spell's element(s).

Spell Type

Determines what sort of spell this is in the first place, which in turn determines how the Power and Accuracy parameters are read.

Animation Index

Determines what animation this spell uses, but only when cast by a party member. Monsters will instead use the spell's ID to index to the spell animation settings table.

Accuracy

For offensive spells, this is the chance out of 200 for the spell to hit (or add small bonus damage). Some spell types use it as a secondary Power byte.

Spell Level (unused)

This corresponds to the spell's spell level, but it is never read. Instead, the spell's ID or position in the caster's spell list is usually used to determine what its level is.

MP Cost

How much MP must be consumed to cast this spell.

Price

Gil cost of buying this spell.

See Also