Zarel/Pokemon-Showdown — pull request #180 by Joimer (2013-03-08 20:19:49+00:00)
Title: Fix Gen 1 bug, Sub being attacked on first turn

Fix Substitute being attacked on the first turn, lastAttackedBy
object of BattlePokemon was not set yet and crashed.