>This Pokemon restores 1/3 of its maximum HP, rounded down, when it switches out.
It applied after you switch out and is unaffected by Heal Block. As for the ability change, well it doesn't say anything about it.
EDIT: It activates only if you switch out, not when you win a battle.
>It obviously wont work if your ability is changed, otherwise what's the point of ability-changing moves?
commented 8 minutes ago by Kawaii Terlor