I will take this time right now to explain the 3 types of effects:
Active, Defending, and Mutual
First is Active. This is an effect that is done by an active Pokemon that effects only the active Pokemon. Examples of this type of effect is Swords Dance, Agility, and Scrunch. They are all effects where it does not matter what does on with the opponent's side of the board as long as your Pokemon remains active.
Next we have Defending. The best example of defending is Smokescreen. It is an attack that will place an effect on the defending Pokemon. The conditions here are similar to active. It does not matter what happens to YOUR Pokemon as long as your opponent's Pokemon does not change active. So, as long the Pokemon that was Smokescreened does not go to the bench, then smokescreen is still in effect, regardless of what happens to the Pokemon who used Smokescreen. As a side note, all 4 status conditions are also examples of Defending effects.
Finally, we have mutual. Examples of mutual are Pounce (Persian), Tail Wag, and Leer. In these effects, if either Pokemon goes to the bench, the effects of the attack are nullified.
I hope this answers your questions as to the type of effects.