While playing the game I encountered a bug that let's you win every Npc match except for gym leaders, elite four and bosses. To do this you have to be in combat with a Npc then exit the game completely and run it again when your back you will be transported to the Pokemon center when you come back on the previous npc you battled it won't battle you again. But there is a drawback to this you won't gain any experience or money from the npc you have battled before. I wish you guys fix this weird bug