Crash in battle

Game crashes at end of battle.
Attack purple npc near hero.
Reproducible.
save.zip (481 KB)