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.
Merge pull request #180 from Joimer/patch-2

Fix Gen 1 bug, Sub being attacked on first turn