Enemy resets attack on getting hit (SOLVED)