I think it has something to do with the all the overworld pokemon being shiny. Normally without any cheat codes your pokemon wont auto battle shiny pokemon, it's built in the game so you wont accidentally kill shiny pokemon. Try disabling every cheat then starting the game without them, save...