You can make a double battle combo with 1 of your partner's Pokémon if they're a type weak to Ground moves. Let them use Protect, Magnet Rise, or anything protecting them from ground moves and then use Earthquake. It should hit the opponents Pokémon hard, and your partner will stay protected.