Describe the bug you experienced here.
While battling with my Slowbro I noticed that his ability regenerator did not activate while switching out of battle.
What I expected to happen:
Slowbro to regain up to 33.3% of its maximum hit points when switching out of battle.
What actually happened:
Slowbro received no HP when switching
Steps to reproduce:
Battle with a Pokémon that knows the ability regenerator. Take damage in battle then switch that Pokémon out.
The first pic is showing that Slowbro does have the ability regenerator
Second pic is just before Slowbro switched out of battle
Third pic shows that Slowbro did not receive any HP
(Add a crash log here if available and enclose it in the code tag with this button:
)

While battling with my Slowbro I noticed that his ability regenerator did not activate while switching out of battle.
What I expected to happen:
Slowbro to regain up to 33.3% of its maximum hit points when switching out of battle.
What actually happened:
Slowbro received no HP when switching
Steps to reproduce:
Battle with a Pokémon that knows the ability regenerator. Take damage in battle then switch that Pokémon out.
The first pic is showing that Slowbro does have the ability regenerator
Second pic is just before Slowbro switched out of battle
Third pic shows that Slowbro did not receive any HP
(Add a crash log here if available and enclose it in the code tag with this button:
