Different trainers have different AI “sets” that analyze what is going on and decides what to do off of them- coded into the logic of the game. I may try to find a list of such decisions for every game, but it may take a while. Also, why no Gen 3? If this question becomes useful, having all games, even if you don’t need their info, would help a lot of other people. :P