Zarel/Pokemon-Showdown — pull request #183 by Joimer (2013-03-10 17:24:26+00:00)
Title: Doubles: Fix bug of resist berries working on Sub

Damage halving Berries were being used on Substitute being hit.
This was not correct, so if the user has a Substitue volatile
the berry will not be consumed.