As long as Gloom is in play, Resistance on each player's Active Pokémon only reduces damage by 10.
Both the Defending Pokémon and Gloom are now Asleep (after doing damage).