This is happening on Ultra Sun. Every time I randomize the trainers in pk3ds they all have at least 1 pokemon with its mega stone. When I kill those mega pokemon in-game, the trainers try to send out the pokemon the same pokemon that just got fainted, and it bugs out the game. What I am left...