Erika winced as she heard the crash of her opponent's fist against the barrier she had constructed. It held firm against the powerful attack, leaving Erika relieved. Protect, however, was an exhausting move, and Erika knew she couldn't keep it up throughout the battle- and she hoped either she or her trainer could think up a plan soon. "Erika! Keep going defensive! Dodge and protect against the attacks, and attack if you get an opening!"
Dodge~Protect~Dodge
IF Magesh uses dragon dance, endure, double team, substitute, hone claws, or chill on one of these turns, THEN use Hidden Power Rock on that turn instead.
Edit: A user commented on my profile and told me that I can't blanket these all together in one sub, and that I can only blanket moves of the same category. So I'll try breaking up my subs to fit that- some of them fit self-targeted stat-enhancing moves, so I think I could blanket those. I'm not changing the command so much as rewriting it to fit the rules I was alerted to by this helpful user.
IF Magesh uses dragon dance, double team, hone claws, or chill on one of these turns, THEN use Hidden Power Rock on that turn instead.
IF Magesh uses endure on one of these turns, THEN use Hidden Power Rock on that turn instead.
IF Magesh uses substitute on one of these turns, THEN use Hidden Power Rock on that turn instead.