This all works however for one issue, when 5 enemies are killed, I have an event which tells the game to switch a variable to wave 1 and then when 10 enemies die, it tells the variable to switch to wave 2 etc.
The problem Im having is when 5 enemies are dead, the wave will stop but when i click submit, the next wave starts but layer 3 does not become invisible until i kill an enemy so there are 6+ dead enemies and then click the submit button. I know the issue is that the 2 events conflict with each other and i was wondering if anyone knew how to get around this.
Hopefully you understand what i am saying. I have provided a screenshot to hopefully help you understand what im talking about.