   resetPlayer();
   isBossAlive = false;
   byte spawnedBoss = 0;
+  byte currentIteration = 1;
 
   resetEnemies();
   resetBoss();

      break;
      case 5 : 
        music = titleMusic;
      break;
    }
    

        } else {
          stopSpawningEnemies = true;
        }
      } else if ((score >= (12000 * currentIteration)) && (spawnedBoss < 2)) { // 12000
        if (!enemiesAlive) {
          boss.set(129, 24, 129);
          spawnedBoss = 2;
