Hi, if you're still here ABZB, this is really helpful to know, as I was trying to figure out why something kept spamming Substitute while it already had one up - however, I changed the trainer's AI to 7, and the pokemon started spamming another status move it knows - Lucky Chant. Is there something wrong with Lucky Chant, or should I set it to something else? If your desciption for 2 is right, it shouldn't use Lucky Chant while it's already active.
The trainer was Calem in XY, the battle at the tower or mastery, and he was using a Florges - moveset Lucky Chant / Acid Armour (never used this at all) / Light of Ruin / Substitute.
After this I tried setting him to 5, and he didn't spam it, he barely used it at all. The only thing I can think of with the 7 is that I had a Fire-type out, which resists Light of Ruin, so he didn't want to use that, but then surely he should have gone for Acid Armour instead?