Ooh
I sort of have the spell file deciphered
1 1 0 "Magic Wand" 0 0 0 0 0 2 0 0 0 0 2 0 0 0 0 2 0 0 0 0 0 ...
First 3 I have no clue, then we have the spell name, then the series of numbers for the custom spell.
It goes like this: A B C D F A B C D F A B C D F, and so on. Since there are 31 materials, there should be 155 values, but there's 242. This probably means there are some super-secret unobtainable materials. I don't know the full order of materials, but so far, I have Illusion Dust, Crystal Ball, Explosive Powder, Lightning Rod, Harpy Feather. Then, there's some kind of base element that is only required and only added if you have no other materials - otherwise, you cannot use your attack. After that, I have no clue what's going on :C
BE SURE TO NOT ADD OR REMOVE NUMBERS - IF YOU DO, YOUR SAVE FILE WILL BECOME CORRUPTED UNTIL YOU FIX IT!