   isBossAlive = false;
   byte spawnedBoss = 0;
   byte currentIteration = 0;
+  boolean iterationEnding = false;
 
   resetEnemies();
   resetBoss();

    updateStarFieldVals();

    if (handlePlayerBullets()) {
      playerWinsScreen();

      // Reset which boss spawns for next iteration

      // Set them on the next iteration
      currentIteration = (currentIteration == 254 ? 0 : currentIteration + 1);
      currentKills = 0;
      iterationEnding = false;
      stopSpawningEnemies = false;
    }
    
    handleEnemyBullets();
    handleBossBullets();

    if (! iterationEnding) {
      playMusic(isBossAlive ? 3 : 2);
    }
  }

  stopMusic();
