I was battling with a Swampert and an Ocario and when i used Earthquake it hit the Ocario. The only move that had been used on it so far had been low sweep, which doesn't knock Pokemon to the ground. I still won the match but the Earthquake shouldn't have hit my partner