Make sure that when there is 1 invader left, you shoot just one bullet, if you don't you won't be able to pass the next level because the variable hasn't accounted for the ones you accidentally killed. Basically, there will be less than 21 invaders, making you unable to pass the level.
this took me many hours so love and fav?