In the enemy step event I have this:

And in the Alarm 0 event I have this:

Now when obj_snuri is near obj_player (distance to object less than 10), the health has to decrease every 10 steps, but it doesn't work, it only happens when obj_player first gets in the less than 10 distance and then leaves the less than 10 distance.
Can anyone solve this?











