The problem was that I was too impatient and I made mistakes as a result. I don't have a video of what happened in the battle, but what I did first was Sub with Salamence because I predicted the Confuse Ray (Salamence always seems to attract status first), which turned out to be correct and then...