Actually, scratch that-I managed to pull it out. I was down to my last pokemon; my Gastly, Rythm. I'd all but given up, as distraught as I was at my other four pokemon, and Rythm was at a mere 4 hp. I simply ordered him to lick the opposing Kakuna, but he survived not one-but two poison...