Updated
Start by checking the type chart
A Ground attack does no damage to a Flying Pokémon by type. Combining Flying with Fire still gives 0× for Ground: 2× against Fire multiplied by 0× against Flying. This is what the type calculator shows for an ordinary Charizard. Mega Charizard X loses the Flying type, so run the calculation again with Fire and Dragon for that form.
Example 1: why Earthquake misses Rotom Wash
Select Ground against Electric and Water in the calculator. The result is 2× because Ground is super effective against Electric and neutral against Water. Rotom Wash with active Levitate is immune to Earthquake in normal conditions. If you are choosing a regular attack against that Rotom form, Grass hits it for 2× by type and does not rely on bypassing Levitate.
Example 2: when Water boosts Gastrodon
Water is neutral against Water/Ground Gastrodon because ½× and 2× cancel. If Gastrodon has active Storm Drain, a Water move instead deals no damage and raises its Special Attack. Check its ability before planning repeated Water attacks. A Grass move hits both of Gastrodon’s normal types super effectively, producing 4× by type.
Example 3: what Mold Breaker changes
An attacker with active Mold Breaker can ignore the defender’s Levitate while its move is resolved. In the Rotom Wash example, an ordinary Earthquake from that attacker can use the underlying 2× type matchup. Mold Breaker bypasses applicable abilities. A Flying type still has its underlying Ground immunity in the absence of a separate effect.
Apply the result to a team
Use the team builder to compare your members by type first. Next, check the exact form and ability in your game. When only an ability covers a dangerous attack, keep a second answer on the team if you expect an ability that ignores it, or a change to the defender’s type. Treat a 0× from typing and a 0× from an ability as different switching decisions.
Reproduce the type matchups → Compare Rotom forms → Check Gastrodon’s defensive types → Check the whole team →