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

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

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