Zarel/Pokemon-Showdown — pull request #348 by Quinella (2013-09-20 20:40:25+00:00)
Title: Fixes Mirror Move so that it uses the target's last move instead of the battle's

In rare cases where the Mirror Move user's target's speed drops a lot (e.g. got paralyzed by Body Slam), Mirror Move would use Mirror Move again instead of the target's move.
... and that's obviously what I fixed.