>>48577876A couple of times, in Sword, I mean. Inteleon to Piers, Weavile to Leon, I can’t recall any other time.
As for earlier games, I played Yellow, which I didn’t like and quit after Surge, so I can’t remember. I played Silver, which I actually liked, and I was a 6 year old then, so I definitely had some Pokémon faint due to silly mistakes, same applies to my favorite childhood game Emerald, which was available in my country yet R/S weren’t for some reason.