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.