Zarel/Pokemon-Showdown — pull request #59 by RisingDusk (2012-05-28 17:31:39+00:00)
Title: Two-turn moves exploit fixed

bmelts told me that I shouldn't work on this only after I finished working on it, but either way I am submitting it because there is a major Prankster Copycat/Assist + Sky Attack Rayquaza team-style being exploited in (Balanced) Hackmons right now, and the metagame has become unplayable because of it. This, at the very least, fixes that metagame-relevant bug now even if bmelts / aeo want to completely redo two-turn moves in the future.

I don't consider my solution that bad, either. It's isolated to movedex.js and has appropriate behavior for locking the Pokemon into the two-turn move even when the two-turn move isn't present on your set (ie. Assist + Sky Attack). I'm open to further discussion on the matter, though.