Oblivious (ability)

Effect

Oblivious makes the Pokémon immune to gender-based moves and abilities, specifically Attract, Captivate and Cute Charm.

Game descriptions

Ruby​/​Sapphire
FireRed​/​LeafGreen
Emerald
Prevents attraction.
Diamond​/​Pearl
Platinum
Prevents the Pokémon from becoming infatuated.
HeartGold​/​SoulSilver Prevents it from becoming infatuated.
Black​/​White
Black 2​/​White 2
Prevents it from becoming infatuated.
X​/​Y
O.Ruby​/​A.Sapphire
Keeps the Pokémon from being infatuated or falling for taunts.
Sun​/​Moon
Ultra Sun​/​Ultra Moon
The Pokémon is oblivious, and that keeps it from being infatuated or falling for taunts.