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

        } else {
          stopSpawningEnemies = true;
        }
      } else if ((score >= 20000) && (spawnedBoss < 3)) {
        if (!enemiesAlive) {
          boss.set(129, 10, 130);
          spawnedBoss = 3;

    }

    if (!isBossAlive) {
      if ((score >= (5000 * currentIteration)) && (spawnedBoss < 1)) { // 5000
        if (!enemiesAlive) {
          boss.set(129, 28, 128);
          spawnedBoss = 1;
