Added flashing animations when enemy or player takes damage