Change your preferences here.
If an attack with a secondary effect that affects this Pokemon is used, the secondary effect will not trigger. If the effect instead has an affect on the user of the move, it will still go into effect.