how do i make the last one explode?

Blitz3D Forums/Blitz3D Beginners Area/how do i make the last one explode?

well the problem is that i need to check when all the aliens are shot. on the line in the gameover function where the check is, alien=0, when this routine is tested and true the last invader does not explode. How can i run the level to the end until all the invaders have exploded and still run the check for gameover?