struct spell {u16 index;u16 type;// 1-6 for White/Black/Summon/Ninja/Bard/Blueu16 element;u16 targets;u16 skill;u16 mp_cost;u8 casting_time;// in quarter of secondsu8 recast_delay;// in quarter of secondsu8 level[24];// 1 byte per job, 0xxFF if not learnable, first slot is NONE job so always 0xFFu16 id;// 0 for "unused" spells; often, but not always, equal to indexu8 unknown;u8 jp_name[20]= sjis;u8 en_name[20]= ascii;u8 jp_description[128]= sjis;u8 en_description[128]= ascii;u8 padding[687]= pad;};