Enemy changes hen enemy changes its state