Here is my game if you need it. https://flowlab.io/game/view/1380322
Create a ‘global’ variable (should be 0), then, on each enemy, when they are defeated, increase that global by 1. Use a filter to state 'if the global is equal to [the number of enemies], then go to the next level.