Difference between revisions of "Value:Target"
Jump to navigation
Jump to search
m (Adding category) |
Squall FF8 (talk | contribs) |
||
Line 1: | Line 1: | ||
Targeting using a spell can take one of the following values: | Targeting using a spell can take one of the following values: | ||
− | {{Table bitwise | | + | {{Table bitwise | Delay*| | Roulette | Target enemy (by default) | Side selectable | Target selectable | Hits all targets | Multi-target optional}} |
+ | |||
+ | Delay uses lowest 2 bits as index in a table with values 0, 10, 20, 30. The actual delay is calculated as Delay * 10 | ||
[[Category:Bitwise]] | [[Category:Bitwise]] | ||
[[Category:SNES]] | [[Category:SNES]] | ||
[[Category:Needs work]] | [[Category:Needs work]] |
Revision as of 12:49, 3 October 2022
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 | |
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