When setting NPC trainers AI to advanced, they are able to switch out their pokemon in battle. This works as intended in single battles, but in Double Battles the trainer is able to switch both of their field pokemon out to the same pokemon. For example: Raichu and Kyogre are on the field, and the NPC trainer switched both Raichu and Kyogre with Amonguss. This results in one amonguss being on the field. The battle is completely broken after this point, allowing things to happen such as not being able to see the current pokemon on the field in the U.I due to both being Amonguss.