Zarel/Pokemon-Showdown — pull request #1049 by Relados (2014-07-01 18:35:20+00:00)
Title: Prevent faulty choice locking with Magic Bounce

When a Magic Bounce user with a Choice item is switched in to a reflected status move that the Magic Bounce user has on its moveset, it is locked into the move mistakenly (for example, a Choice Specs Magic Bounce Espeon with Toxic that switches into Toxic would be locked into it before it ever selects a move).