Value:Target

From FF5 Hacking Wiki
Jump to navigation Jump to search

Targeting using a spell can take one of the following values:

Bit Bin Hex Status
7 10000000 0x80 Multi-target optional
6 01000000 0x40 Hits all targets
5 00100000 0x20 Target selectable
4 00010000 0x10 Side selectable
3 00001000 0x08 Target enemy (by default)
2 00000100 0x04 Roulette
1 00000010 0x02 Delay*
0 00000001 0x01 Delay*

Delay uses lowest 2 bits as index in a table with values 0, 10, 20, 30. The actual delay is calculated as Delay * 10