Unfortunately, I don't have WallMarket available right now either, but I've been told his AI first chooses targets with the "GreatestElementalDamage" address, but then just throws that plan out the window and directly chooses its actions depending on the Formation ID. They also said that sometimes if they used Sephiroth outside of the flashback, he used spells the enemies absorbed. So it doesn't seem like Sephiroth's AI holds the answer, sadly.