Problem making enemy spawn on certain levels

im having trouble stopping enemys from spawning at certain levels. https://arcade.makecode.com/S54843-89948-08494-07363 heres the code to check it out but they spawn just about at every level except the starting level

Are you using arrays?

Sorry I eventually figured it out but thanks for responding. :3