Hi.
I discovered a bug when battling in the Hackmons tier.
I had a Protean Torkoal. I used Curse, which changed my typing to Ghost and put a curse on my opponent (or so I thought). At the end of the turn, it was my Torkoal that was afflicted by the curse, fainting it. Screenshot is attached below.