This is an old TAS in 923693 frames by Catastrophe from 2006, never submitted to TASVideos. This run uses the sketch glitch as opposed to the currently published run
01 (Allies or enemies, single): Safe, Haste, Bserk, Rflect, Shell, Vanish, Life, Life 2 03 (Allies, single target): Antdot, Remedy, Regen, Life 3 04 (Allies and enemies, multi target): Quake, W Wind, Merton 21 (Allies or enemies, single or multi target): Float, Cure, Cure 2, Cure 3 29 (Allies or enemies, multi or single target): Haste 2 41 (Enemies or allies, single target): Poison, Drain, Break, Doom, Pearl, Flare, Scan, Slow, Rasp, Mute, Sleep, Muddle, Stop, Imp, Osmose, Dispel 61 (Enemies or allies, single or multi target): Fire, Ice, Bolt, Fire 2, Ice 2, Bolt 2, Bio, Fire 3, Ice 3, Bolt 3 6A (Enemies, multi target): X-Zone
Bit 0-6: Past values. Every time the character is casting a spell, or get Imped/Deimped, the game checks if the spell is castable, and push bit 0 to the queue if castable, 1 if not. Inited as FF
08: Is a shield 10: Is a weapon 20: Can be thrown 40: Is a tool 80: Not usable as an item in battle
01: Affects single ally or enemy 02: Affects enemies or allies only 04: Affects all allies and enemies 08: Affects all allies or all enemies 10: Auto-accept default selection 20: Multiple selection possible 40: Enemy selected by default 80: Random selection among all enemies and allies
01: Onscreen character 0 can't equip item 02: Onscreen character 1 can't equip item 04: Onscreen character 2 can't equip item 08: Onscreen character 3 can't equip item