Having Spikes or Stealth Rock on the field when a new wild battle starts no longer crashes the game.
Theoretically implemented for all use cases but only tested for regular damage so far.