added flashing when health decreases