Change your preferences here.
Pokémon with this ability cure themselves of all status when they leave the battlefield.