To give context, I'm trying to beat Noel's Magic Guard Clefable in a fire monotype run. Basically, the only way I can figure out how to do this is pp-stalling and just waiting for struggle, which is pretty easy because the only damaging moves Clefable has is HP-ground and Moonblast. My Talonflame gets 4-hit by Moonblast and has roost, so it basically can't kill it. Once Moonblast ran out of PP, I kept Talonflame in for a while, with me hitting it with acrobatics or whatever and then it soft-boiling back to full (not that I was really doing any damage anyway). However, I realized I could grind out the PP by switching to another of my pokemon on the Clefable's Soft-Boiled turn, and then switching back to Talonflame the next turn when it tried to use HP-ground. This should have worked in such a way that I didn't use any PP and none of my pokemon take damage.
EXCEPT: as soon as I switch my Talonflame out, the Clefable doesn't use Soft-Boil, it uses HP on my Pyroar. Obviously, this is annoying, but I thought it could have just been randomness in the AI's code, so I switch back to Talonflame, HP doesn't effect Talonflame, and Clefable is back to Soft-Boiling. After a bit of this I try it again, and again it predicts my swap out and uses HP on my Growlithe. I try this 2 more times, and each time the AI predicts my swap out. It also never uses HP on Talonflame (which makes sense, that's the way the AI should work).
I generally like the difficulty of this game, but if this is an intended interaction then it seems blatantly against the philosophy of Reborn, and if this is unintended, I guess maybe it should be looked at? Anyway, it's weird and I don't like it.