I have little problem. I am absolutely beginner so I am sorry if this sounds stupid.
I have a global variable called enemies_number. The value of it is set to 5.
And then when I hit some enemies I do like: enemies_number-1 and in conditions I also have this:
What I am trying to do is that until enemies_number is not 0 I can generate this "sprite 4" every 8 seconds. But what happened is that when my enemies_number is 0 sprite4 is still spawning even it should not. How come?