this is Something need to be confirmed , cause i heard ability out of battle only works when pokemon is not dead , if u kill the pokemon , its true the abiltiy keep showing its active but its kinda a bug
this is what i heard after the new update came out , need confirmation from staff