Program: 84030
Project: 84030
Buggy source:
public void tick(){
  delta=Gdx.graphics.getDeltaTime();
  GameInstance.getInstance().update(delta);
  Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
  ra.update();
{
    for (    NoteJumper nj : noteJumpers) {
      if (!nj.bofNote.isPlayedAt(ra.getTick())) {
        nj.alive=false;
      }
    }
    boolean found;
    do {
      found=false;
      for (int i=0; i < noteJumpers.size; i++) {
        if (noteJumpers.get(i) != null && noteJumpers.get(i).alive == false) {
          noteJumpers.removeIndex(i);
          found=true;
          break;
        }
      }
    }
 while (found);
  }
  angleXBack+=MathUtils.sin(startTime) * delta * 10f;
  angleYBack+=MathUtils.cos(startTime) * delta * 5f;
  angleXFront+=MathUtils.sin(startTime) * delta * 10f;
  angleYFront+=MathUtils.cos(startTime) * delta * 5f;
  if (GameInstance.getInstance().player.position.y < -1185.0) {
    cam.position.set(cam.position.x,-1185.0f,29);
  }
 else {
    cam.position.set(cam.position.x,GameInstance.getInstance().player.position.y,29);
  }
  if (shakeCam > 0) {
    cam.rotate(MathUtils.sin(shakeCam) / 10.f,0,0,1);
    shakeCam=Math.max(0,shakeCam - (delta * 100f));
  }
 else {
    cam.up.set(0,1,0);
  }
  cam.update();
  for (int i=0; i < GameInstance.getInstance().bullets.size; ++i) {
    Ammo bullet=GameInstance.getInstance().bullets.get(i);
    bulletSplash=false;
    if (bullet instanceof Rocket) {
      if (((Rocket)bullet).hit) {
        disortFactor=1;
        bulletSplash=true;
        if (shakeCam == 0) {
          shakeCam=20;
        }
      }
    }
    if (bullet instanceof Mine) {
      if (((Mine)bullet).hit) {
        disortFactor=1;
        bulletSplash=true;
        if (shakeCam == 0) {
          shakeCam=20;
        }
      }
    }
  }
  if (bulletSplash) {
    disortFactor=Math.max(0,disortFactor - (delta * 5.f));
  }
  bloomFactor=Math.max(0,bloomFactor - delta);
  disortFactor=Math.max(0,disortFactor - delta);
  highlightTimer-=delta;
  if (highlightTimer < 0) {
    highlightCnt++;
    highlightTimer=0.0001f;
  }
  if (GameInstance.getInstance().showWeaponTextYAnimate < Gdx.graphics.getHeight() + 100) {
    GameInstance.getInstance().showWeaponTextYAnimate=Math.min(Gdx.graphics.getHeight() + 100,GameInstance.getInstance().showWeaponTextYAnimate + (delta * 300f));
  }
  animateFont=Math.max(1.0f,animateFont - (delta * 10.f));
  for (int i=0; i < GameInstance.getInstance().blocks.size; ++i) {
    Block block=GameInstance.getInstance().blocks.get(i);
    if (block.id == highlightCnt) {
      block.highlightAnimate=0.4f;
    }
    block.highlightAnimate=Math.max(0,block.highlightAnimate - delta);
    if (block instanceof JumpBlock) {
      JumpBlock jumbBlock=(JumpBlock)block;
      jumbBlock.update();
{
        float jani=jumpani;
        model.idt();
        tmp.setToTranslation(jumbBlock.position.x,jumbBlock.position.y + (jani),0);
        model.mul(tmp);
        tmp.setToScaling(0.90f,0.95f * (1 - jani),0.95f);
        model.mul(tmp);
        transShader.setUniformMatrix("String_Node_Str",model);
        transShader.setUniformf("String_Node_Str",Resources.getInstance().jumpBlockColor[0],Resources.getInstance().jumpBlockColor[1],Resources.getInstance().jumpBlockColor[2],Resources.getInstance().jumpBlockColor[3] + jumbBlock.jumpAnim + block.highlightAnimate);
        blockModel.render(transShader,GL20.GL_TRIANGLES);
        transShader.setUniformf("String_Node_Str",Resources.getInstance().jumpBlockEdgeColor[0],Resources.getInstance().jumpBlockEdgeColor[1],Resources.getInstance().jumpBlockEdgeColor[2],Resources.getInstance().jumpBlockEdgeColor[3] + jumbBlock.jumpAnim);
        wireCubeModel.render(transShader,GL20.GL_LINE_STRIP);
      }
    }
 else {
      if (oldSongCounter != songCounter) {
        oldSongCounter=songCounter;
        colorMix=0;
      }
      colorMix=Math.min(1,colorMix + delta / 50.f);
      if (songCounter == 0) {
        Resources.getInstance().blockColor[0]=Resources.getInstance().blockColor1[0] * colorMix + (Resources.getInstance().blockColor2[0] * (1 - colorMix));
        Resources.getInstance().blockColor[1]=Resources.getInstance().blockColor1[1] * colorMix + (Resources.getInstance().blockColor2[1] * (1 - colorMix));
        Resources.getInstance().blockColor[2]=Resources.getInstance().blockColor1[2] * colorMix + (Resources.getInstance().blockColor2[2] * (1 - colorMix));
        Resources.getInstance().blockColor[3]=Resources.getInstance().blockColor1[3] * colorMix + (Resources.getInstance().blockColor2[3] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[0]=Resources.getInstance().blockEdgeColor1[0] * colorMix + (Resources.getInstance().blockEdgeColor2[0] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[1]=Resources.getInstance().blockEdgeColor1[1] * colorMix + (Resources.getInstance().blockEdgeColor2[1] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[2]=Resources.getInstance().blockEdgeColor1[2] * colorMix + (Resources.getInstance().blockEdgeColor2[2] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[3]=Resources.getInstance().blockEdgeColor1[3] * colorMix + (Resources.getInstance().blockEdgeColor2[3] * (1 - colorMix));
      }
 else       if (songCounter == 1) {
        Resources.getInstance().blockColor[0]=Resources.getInstance().blockColor2[0] * colorMix + (Resources.getInstance().blockColor3[0] * (1 - colorMix));
        Resources.getInstance().blockColor[1]=Resources.getInstance().blockColor2[1] * colorMix + (Resources.getInstance().blockColor3[1] * (1 - colorMix));
        Resources.getInstance().blockColor[2]=Resources.getInstance().blockColor2[2] * colorMix + (Resources.getInstance().blockColor3[2] * (1 - colorMix));
        Resources.getInstance().blockColor[3]=Resources.getInstance().blockColor2[3] * colorMix + (Resources.getInstance().blockColor3[3] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[0]=Resources.getInstance().blockEdgeColor2[0] * colorMix + (Resources.getInstance().blockEdgeColor3[0] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[1]=Resources.getInstance().blockEdgeColor2[1] * colorMix + (Resources.getInstance().blockEdgeColor3[1] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[2]=Resources.getInstance().blockEdgeColor2[2] * colorMix + (Resources.getInstance().blockEdgeColor3[2] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[3]=Resources.getInstance().blockEdgeColor2[3] * colorMix + (Resources.getInstance().blockEdgeColor3[3] * (1 - colorMix));
      }
 else       if (songCounter == 2) {
        Resources.getInstance().blockColor[0]=Resources.getInstance().blockColor3[0] * colorMix + (Resources.getInstance().blockColor4[0] * (1 - colorMix));
        Resources.getInstance().blockColor[1]=Resources.getInstance().blockColor3[1] * colorMix + (Resources.getInstance().blockColor4[1] * (1 - colorMix));
        Resources.getInstance().blockColor[2]=Resources.getInstance().blockColor3[2] * colorMix + (Resources.getInstance().blockColor4[2] * (1 - colorMix));
        Resources.getInstance().blockColor[3]=Resources.getInstance().blockColor3[3] * colorMix + (Resources.getInstance().blockColor4[3] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[0]=Resources.getInstance().blockEdgeColor3[0] * colorMix + (Resources.getInstance().blockEdgeColor4[0] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[1]=Resources.getInstance().blockEdgeColor3[1] * colorMix + (Resources.getInstance().blockEdgeColor4[1] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[2]=Resources.getInstance().blockEdgeColor3[2] * colorMix + (Resources.getInstance().blockEdgeColor4[2] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[3]=Resources.getInstance().blockEdgeColor3[3] * colorMix + (Resources.getInstance().blockEdgeColor4[3] * (1 - colorMix));
      }
 else       if (songCounter == 3) {
        Resources.getInstance().blockColor[0]=Resources.getInstance().blockColor4[0] * colorMix + (Resources.getInstance().blockColor5[0] * (1 - colorMix));
        Resources.getInstance().blockColor[1]=Resources.getInstance().blockColor4[1] * colorMix + (Resources.getInstance().blockColor5[1] * (1 - colorMix));
        Resources.getInstance().blockColor[2]=Resources.getInstance().blockColor4[2] * colorMix + (Resources.getInstance().blockColor5[2] * (1 - colorMix));
        Resources.getInstance().blockColor[3]=Resources.getInstance().blockColor4[3] * colorMix + (Resources.getInstance().blockColor5[3] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[0]=Resources.getInstance().blockEdgeColor4[0] * colorMix + (Resources.getInstance().blockEdgeColor5[0] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[1]=Resources.getInstance().blockEdgeColor4[1] * colorMix + (Resources.getInstance().blockEdgeColor5[1] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[2]=Resources.getInstance().blockEdgeColor4[2] * colorMix + (Resources.getInstance().blockEdgeColor5[2] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[3]=Resources.getInstance().blockEdgeColor4[3] * colorMix + (Resources.getInstance().blockEdgeColor5[3] * (1 - colorMix));
      }
 else       if (songCounter == 4) {
        Resources.getInstance().blockColor[0]=Resources.getInstance().blockColor5[0] * colorMix + (Resources.getInstance().blockColor6[0] * (1 - colorMix));
        Resources.getInstance().blockColor[1]=Resources.getInstance().blockColor5[1] * colorMix + (Resources.getInstance().blockColor6[1] * (1 - colorMix));
        Resources.getInstance().blockColor[2]=Resources.getInstance().blockColor5[2] * colorMix + (Resources.getInstance().blockColor6[2] * (1 - colorMix));
        Resources.getInstance().blockColor[3]=Resources.getInstance().blockColor5[3] * colorMix + (Resources.getInstance().blockColor6[3] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[0]=Resources.getInstance().blockEdgeColor5[0] * colorMix + (Resources.getInstance().blockEdgeColor6[0] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[1]=Resources.getInstance().blockEdgeColor5[1] * colorMix + (Resources.getInstance().blockEdgeColor6[1] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[2]=Resources.getInstance().blockEdgeColor5[2] * colorMix + (Resources.getInstance().blockEdgeColor6[2] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[3]=Resources.getInstance().blockEdgeColor5[3] * colorMix + (Resources.getInstance().blockEdgeColor6[3] * (1 - colorMix));
      }
 else       if (songCounter == 5) {
        Resources.getInstance().blockColor[0]=Resources.getInstance().blockColor6[0] * colorMix + (Resources.getInstance().blockColor7[0] * (1 - colorMix));
        Resources.getInstance().blockColor[1]=Resources.getInstance().blockColor6[1] * colorMix + (Resources.getInstance().blockColor7[1] * (1 - colorMix));
        Resources.getInstance().blockColor[2]=Resources.getInstance().blockColor6[2] * colorMix + (Resources.getInstance().blockColor7[2] * (1 - colorMix));
        Resources.getInstance().blockColor[3]=Resources.getInstance().blockColor6[3] * colorMix + (Resources.getInstance().blockColor7[3] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[0]=Resources.getInstance().blockEdgeColor6[0] * colorMix + (Resources.getInstance().blockEdgeColor7[0] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[1]=Resources.getInstance().blockEdgeColor6[1] * colorMix + (Resources.getInstance().blockEdgeColor7[1] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[2]=Resources.getInstance().blockEdgeColor6[2] * colorMix + (Resources.getInstance().blockEdgeColor7[2] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[3]=Resources.getInstance().blockEdgeColor6[3] * colorMix + (Resources.getInstance().blockEdgeColor7[3] * (1 - colorMix));
      }
    }
  }
}

Fixed version (ground truth):
public void tick(){
  delta=Gdx.graphics.getDeltaTime();
  GameInstance.getInstance().update(delta);
  Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
  ra.update();
{
    for (    NoteJumper nj : noteJumpers) {
      if (!nj.bofNote.isPlayedAt(ra.getTick())) {
        nj.alive=false;
      }
    }
    boolean found;
    do {
      found=false;
      for (int i=0; i < noteJumpers.size; i++) {
        if (noteJumpers.get(i) != null && noteJumpers.get(i).alive == false) {
          noteJumpers.removeIndex(i);
          found=true;
          break;
        }
      }
    }
 while (found);
  }
  angleXBack+=MathUtils.sin(startTime) * delta * 10f;
  angleYBack+=MathUtils.cos(startTime) * delta * 5f;
  angleXFront+=MathUtils.sin(startTime) * delta * 10f;
  angleYFront+=MathUtils.cos(startTime) * delta * 5f;
  if (GameInstance.getInstance().player.position.y < -1185.0) {
    cam.position.set(cam.position.x,-1185.0f,29);
  }
 else {
    cam.position.set(cam.position.x,GameInstance.getInstance().player.position.y,29);
  }
  if (shakeCam > 0) {
    cam.rotate(MathUtils.sin(shakeCam) / 10.f,0,0,1);
    shakeCam=Math.max(0,shakeCam - (delta * 100f));
  }
 else {
    cam.up.set(0,1,0);
  }
  cam.update();
  for (int i=0; i < GameInstance.getInstance().bullets.size; ++i) {
    Ammo bullet=GameInstance.getInstance().bullets.get(i);
    bulletSplash=false;
    if (bullet instanceof Rocket) {
      if (((Rocket)bullet).hit) {
        disortFactor=1;
        bulletSplash=true;
        if (shakeCam == 0) {
          shakeCam=20;
        }
      }
    }
    if (bullet instanceof Mine) {
      if (((Mine)bullet).hit) {
        disortFactor=1;
        bulletSplash=true;
        if (shakeCam == 0) {
          shakeCam=20;
        }
      }
    }
  }
  if (bulletSplash) {
    disortFactor=Math.max(0,disortFactor - (delta * 5.f));
  }
  bloomFactor=Math.max(0,bloomFactor - delta);
  disortFactor=Math.max(0,disortFactor - delta);
  highlightTimer-=delta;
  if (highlightTimer < 0) {
    highlightCnt++;
    highlightTimer=0.0001f;
  }
  if (GameInstance.getInstance().showWeaponTextYAnimate < Gdx.graphics.getHeight() + 100) {
    GameInstance.getInstance().showWeaponTextYAnimate=Math.min(Gdx.graphics.getHeight() + 100,GameInstance.getInstance().showWeaponTextYAnimate + (delta * 300f));
  }
  animateFont=Math.max(1.0f,animateFont - (delta * 10.f));
  for (int i=0; i < GameInstance.getInstance().blocks.size; ++i) {
    Block block=GameInstance.getInstance().blocks.get(i);
    if (block.id == highlightCnt) {
      block.highlightAnimate=0.4f;
    }
    block.highlightAnimate=Math.max(0,block.highlightAnimate - delta);
    if (block instanceof JumpBlock) {
      JumpBlock jumbBlock=(JumpBlock)block;
      jumbBlock.update();
    }
 else {
      if (oldSongCounter != songCounter) {
        oldSongCounter=songCounter;
        colorMix=0;
      }
      colorMix=Math.min(1,colorMix + delta / 50.f);
      if (songCounter == 0) {
        Resources.getInstance().blockColor[0]=Resources.getInstance().blockColor1[0] * colorMix + (Resources.getInstance().blockColor2[0] * (1 - colorMix));
        Resources.getInstance().blockColor[1]=Resources.getInstance().blockColor1[1] * colorMix + (Resources.getInstance().blockColor2[1] * (1 - colorMix));
        Resources.getInstance().blockColor[2]=Resources.getInstance().blockColor1[2] * colorMix + (Resources.getInstance().blockColor2[2] * (1 - colorMix));
        Resources.getInstance().blockColor[3]=Resources.getInstance().blockColor1[3] * colorMix + (Resources.getInstance().blockColor2[3] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[0]=Resources.getInstance().blockEdgeColor1[0] * colorMix + (Resources.getInstance().blockEdgeColor2[0] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[1]=Resources.getInstance().blockEdgeColor1[1] * colorMix + (Resources.getInstance().blockEdgeColor2[1] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[2]=Resources.getInstance().blockEdgeColor1[2] * colorMix + (Resources.getInstance().blockEdgeColor2[2] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[3]=Resources.getInstance().blockEdgeColor1[3] * colorMix + (Resources.getInstance().blockEdgeColor2[3] * (1 - colorMix));
      }
 else       if (songCounter == 1) {
        Resources.getInstance().blockColor[0]=Resources.getInstance().blockColor2[0] * colorMix + (Resources.getInstance().blockColor3[0] * (1 - colorMix));
        Resources.getInstance().blockColor[1]=Resources.getInstance().blockColor2[1] * colorMix + (Resources.getInstance().blockColor3[1] * (1 - colorMix));
        Resources.getInstance().blockColor[2]=Resources.getInstance().blockColor2[2] * colorMix + (Resources.getInstance().blockColor3[2] * (1 - colorMix));
        Resources.getInstance().blockColor[3]=Resources.getInstance().blockColor2[3] * colorMix + (Resources.getInstance().blockColor3[3] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[0]=Resources.getInstance().blockEdgeColor2[0] * colorMix + (Resources.getInstance().blockEdgeColor3[0] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[1]=Resources.getInstance().blockEdgeColor2[1] * colorMix + (Resources.getInstance().blockEdgeColor3[1] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[2]=Resources.getInstance().blockEdgeColor2[2] * colorMix + (Resources.getInstance().blockEdgeColor3[2] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[3]=Resources.getInstance().blockEdgeColor2[3] * colorMix + (Resources.getInstance().blockEdgeColor3[3] * (1 - colorMix));
      }
 else       if (songCounter == 2) {
        Resources.getInstance().blockColor[0]=Resources.getInstance().blockColor3[0] * colorMix + (Resources.getInstance().blockColor4[0] * (1 - colorMix));
        Resources.getInstance().blockColor[1]=Resources.getInstance().blockColor3[1] * colorMix + (Resources.getInstance().blockColor4[1] * (1 - colorMix));
        Resources.getInstance().blockColor[2]=Resources.getInstance().blockColor3[2] * colorMix + (Resources.getInstance().blockColor4[2] * (1 - colorMix));
        Resources.getInstance().blockColor[3]=Resources.getInstance().blockColor3[3] * colorMix + (Resources.getInstance().blockColor4[3] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[0]=Resources.getInstance().blockEdgeColor3[0] * colorMix + (Resources.getInstance().blockEdgeColor4[0] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[1]=Resources.getInstance().blockEdgeColor3[1] * colorMix + (Resources.getInstance().blockEdgeColor4[1] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[2]=Resources.getInstance().blockEdgeColor3[2] * colorMix + (Resources.getInstance().blockEdgeColor4[2] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[3]=Resources.getInstance().blockEdgeColor3[3] * colorMix + (Resources.getInstance().blockEdgeColor4[3] * (1 - colorMix));
      }
 else       if (songCounter == 3) {
        Resources.getInstance().blockColor[0]=Resources.getInstance().blockColor4[0] * colorMix + (Resources.getInstance().blockColor5[0] * (1 - colorMix));
        Resources.getInstance().blockColor[1]=Resources.getInstance().blockColor4[1] * colorMix + (Resources.getInstance().blockColor5[1] * (1 - colorMix));
        Resources.getInstance().blockColor[2]=Resources.getInstance().blockColor4[2] * colorMix + (Resources.getInstance().blockColor5[2] * (1 - colorMix));
        Resources.getInstance().blockColor[3]=Resources.getInstance().blockColor4[3] * colorMix + (Resources.getInstance().blockColor5[3] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[0]=Resources.getInstance().blockEdgeColor4[0] * colorMix + (Resources.getInstance().blockEdgeColor5[0] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[1]=Resources.getInstance().blockEdgeColor4[1] * colorMix + (Resources.getInstance().blockEdgeColor5[1] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[2]=Resources.getInstance().blockEdgeColor4[2] * colorMix + (Resources.getInstance().blockEdgeColor5[2] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[3]=Resources.getInstance().blockEdgeColor4[3] * colorMix + (Resources.getInstance().blockEdgeColor5[3] * (1 - colorMix));
      }
 else       if (songCounter == 4) {
        Resources.getInstance().blockColor[0]=Resources.getInstance().blockColor5[0] * colorMix + (Resources.getInstance().blockColor6[0] * (1 - colorMix));
        Resources.getInstance().blockColor[1]=Resources.getInstance().blockColor5[1] * colorMix + (Resources.getInstance().blockColor6[1] * (1 - colorMix));
        Resources.getInstance().blockColor[2]=Resources.getInstance().blockColor5[2] * colorMix + (Resources.getInstance().blockColor6[2] * (1 - colorMix));
        Resources.getInstance().blockColor[3]=Resources.getInstance().blockColor5[3] * colorMix + (Resources.getInstance().blockColor6[3] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[0]=Resources.getInstance().blockEdgeColor5[0] * colorMix + (Resources.getInstance().blockEdgeColor6[0] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[1]=Resources.getInstance().blockEdgeColor5[1] * colorMix + (Resources.getInstance().blockEdgeColor6[1] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[2]=Resources.getInstance().blockEdgeColor5[2] * colorMix + (Resources.getInstance().blockEdgeColor6[2] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[3]=Resources.getInstance().blockEdgeColor5[3] * colorMix + (Resources.getInstance().blockEdgeColor6[3] * (1 - colorMix));
      }
 else       if (songCounter == 5) {
        Resources.getInstance().blockColor[0]=Resources.getInstance().blockColor6[0] * colorMix + (Resources.getInstance().blockColor7[0] * (1 - colorMix));
        Resources.getInstance().blockColor[1]=Resources.getInstance().blockColor6[1] * colorMix + (Resources.getInstance().blockColor7[1] * (1 - colorMix));
        Resources.getInstance().blockColor[2]=Resources.getInstance().blockColor6[2] * colorMix + (Resources.getInstance().blockColor7[2] * (1 - colorMix));
        Resources.getInstance().blockColor[3]=Resources.getInstance().blockColor6[3] * colorMix + (Resources.getInstance().blockColor7[3] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[0]=Resources.getInstance().blockEdgeColor6[0] * colorMix + (Resources.getInstance().blockEdgeColor7[0] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[1]=Resources.getInstance().blockEdgeColor6[1] * colorMix + (Resources.getInstance().blockEdgeColor7[1] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[2]=Resources.getInstance().blockEdgeColor6[2] * colorMix + (Resources.getInstance().blockEdgeColor7[2] * (1 - colorMix));
        Resources.getInstance().blockEdgeColor[3]=Resources.getInstance().blockEdgeColor6[3] * colorMix + (Resources.getInstance().blockEdgeColor7[3] * (1 - colorMix));
      }
    }
  }
}