Well I have messed a little with the attacks in the scenes myself. I never edited the 4th byte (always 0xFF) + byte 6-11 'cause I don't know what they do. I'm not quite sure on the 12th byte either, but I guess it's something to do with targeting like byte 13. So basically I don't know what
"type of attack" does...
When you're talking about Restore apply I guess you mean byte 17 or 18 or both.
There really are just 4 diffrent values for the 17th byte.
0xFF does nothing.
0x00 restores HP.
0x01 Restores MP (I believe).
0x02 Restores status.
The 0x02 seems to be used on Reflect, Despell, Poisona etch.
You probable knew this but the 18th byte is the remove-or-set status byte.
<3F Inflict Status.
0x7F Cure Status.
0x92 Toggle status (frog, mini).
Byte 19 and 20 is kind of tricky. Basically you could say they determine number of times the attack shall be performed.
0x0200 for instance makes the attack effect 2 times. It doesn't repeat the animation though if you alter it like this yourself.
You could say byte 20 decides number of attacks if 19 is 0x00.
Byte 19 have some special traits though. Here are my list:
0x06 = Steal gil (I believe
).
0x07 = Steal Item/Gimme (magic Pot).
0x09 = Goblin Punch.
0x11 = Remove from battle. If this inflicts all it's game over.
0x12 = Same as above but doesn't cause game over (Midgar Zoolom).
0x19 = Changes row.
0x1b = Escape (Throw?).
0x1d = Carry Armor special. releases 1 character from imprisoned status.
Byte 19 and 20:
0x0004 = Hit all targets in battle.
0x0104 = Same as above, only from back row (or was it opposite
). (Perhaps byte 19's value of 0x04 hits all targets??)
0x961C = Dragon Force.
I hope this at least helps a little (perhaps it was old news to you
).