>>55912290Making a smart AI for Pokemon actually sounds near impossible. The current AI is actually already very good at picking the right move, the problem is that it almost never switches. But there are so many factors that go into a switch that it seems near impossible to program.
As an example, say you have Luxray against Cynthia's Togekiss? Should the AI switch to Garchomp predicting an electric attack? If the AI always switches to avoid bad matchups then the player could just click Ice Fang understanding that and cripple the Garchomp and the AI has become no less exploitable. If it just has a random chance to switch or not then you're going to run into all sorts situations where the AI constantly switches predicting attacks that never come.
What if instead of Luxray you have Mismagius, a pokemon that can still use Electric attacks but not as obviously? Is it fair for the AI to read your moveset and learn that you have Thunderbolt so that it can react accordingly?
There's a reason even difficulty hacks and fangames designed to emphasize difficulty just focus on level caps and team building rather than changing the AI, and this is also how basically every other RPG does difficulty. Pokemon is unique in that the enemy and player are usually on a mostly even playing field in terms of what Pokemon, moves, and items they can use as opposed to say Final Fantasy or Dragon Quest where the AI isn't even playing the same game as the player.