Program: 84674
Project: 84674
Buggy source:
public void loadMainMenu(){
  if (MainMenu == null) {
    MainMenu=new Scene(1);
    MainMenu.setBackground(base.autoParallaxBackground);
    int buttonX=(base.getCameraWidth() / 2) - (base.getStartButtonRegion().getWidth() / 2);
    int buttonY=(base.getCameraHeight() / 2) - (base.getStartButtonRegion().getHeight() / 2);
    Sprite startButton=new Sprite(buttonX,buttonY,base.getStartButtonRegion()){
      @Override public boolean onAreaTouched(      TouchEvent pSceneTouchEvent,      float pTouchAreaLocalX,      float pTouchAreaLocalY){
        if (base.fileThingy.CheckForSaveFile(base))         base.sm.ShowNewGameWarning();
 else         base.ButtonPress(1);
        return super.onAreaTouched(pSceneTouchEvent,pTouchAreaLocalX,pTouchAreaLocalY);
      }
    }
;
    mainMenuWaveNumber=new ChangeableText(30,buttonY - startButton.getHeight(),base.mFont2,"String_Node_Str","String_Node_Str".length()){
      @Override public boolean onAreaTouched(      TouchEvent pSceneTouchEvent,      float pTouchAreaLocalX,      float pTouchAreaLocalY){
        base.fileThingy.loadSaveFile(base);
        return super.onAreaTouched(pSceneTouchEvent,pTouchAreaLocalX,pTouchAreaLocalY);
      }
    }
;
    buttonX=(base.getCameraWidth() / 2) - (base.getQuitButtonRegion().getWidth() / 2);
    buttonY+=base.getStartButtonRegion().getHeight();
    Sprite quitButton=new Sprite(buttonX,buttonY,base.getQuitButtonRegion()){
      @Override public boolean onAreaTouched(      TouchEvent pSceneTouchEvent,      float pTouchAreaLocalX,      float pTouchAreaLocalY){
        base.ButtonPress(99);
        return super.onAreaTouched(pSceneTouchEvent,pTouchAreaLocalX,pTouchAreaLocalY);
      }
    }
;
    Text openFeintOption=new Text(10,base.getCameraHeight() - mainMenuWaveNumber.getHeight(),base.mFont2,"String_Node_Str"){
      @Override public boolean onAreaTouched(      TouchEvent pSceneTouchEvent,      float pTouchAreaLocalX,      float pTouchAreaLocalY){
        Dashboard.open();
        return super.onAreaTouched(pSceneTouchEvent,pTouchAreaLocalX,pTouchAreaLocalY);
      }
    }
;
    Text InGameStore=new Text(base.getCameraWidth() - 100,base.getCameraHeight() - mainMenuWaveNumber.getHeight(),base.mFont2,"String_Node_Str"){
      @Override public boolean onAreaTouched(      TouchEvent pSceneTouchEvent,      float pTouchAreaLocalX,      float pTouchAreaLocalY){
        base.sm.LoadShopMenu();
        return super.onAreaTouched(pSceneTouchEvent,pTouchAreaLocalX,pTouchAreaLocalY);
      }
    }
;
    MainMenu.attachChild(startButton);
    MainMenu.attachChild(quitButton);
    MainMenu.attachChild(openFeintOption);
    MainMenu.attachChild(mainMenuWaveNumber);
    MainMenu.attachChild(InGameStore);
    MainMenu.registerTouchArea(startButton);
    MainMenu.registerTouchArea(quitButton);
    MainMenu.registerTouchArea(openFeintOption);
    MainMenu.registerTouchArea(mainMenuWaveNumber);
    MainMenu.registerTouchArea(InGameStore);
    MainMenu.setTouchAreaBindingEnabled(true);
    base.ambient.setLooping(true);
    base.ambient.play();
  }
  checkHud();
  mainMenuWaveNumber.setText("String_Node_Str" + (base.fileThingy.getLastWaveFromSaveFile(base) + 1));
  base.getEngine().setScene(MainMenu);
  CameraCheck();
}

Fixed version (ground truth):
public void loadMainMenu(){
  if (MainMenu == null) {
    MainMenu=new Scene();
    MainMenu.setBackground(base.autoParallaxBackground);
    int buttonX=(base.getCameraWidth() / 2) - (base.getStartButtonRegion().getWidth() / 2);
    int buttonY=(base.getCameraHeight() / 2) - (base.getStartButtonRegion().getHeight() / 2);
    Sprite startButton=new Sprite(buttonX,buttonY,base.getStartButtonRegion()){
      @Override public boolean onAreaTouched(      TouchEvent pSceneTouchEvent,      float pTouchAreaLocalX,      float pTouchAreaLocalY){
        if (base.fileThingy.CheckForSaveFile(base))         base.sm.ShowNewGameWarning();
 else         base.ButtonPress(1);
        return super.onAreaTouched(pSceneTouchEvent,pTouchAreaLocalX,pTouchAreaLocalY);
      }
    }
;
    mainMenuWaveNumber=new ChangeableText(30,buttonY - startButton.getHeight(),base.mFont2,"String_Node_Str","String_Node_Str".length()){
      @Override public boolean onAreaTouched(      TouchEvent pSceneTouchEvent,      float pTouchAreaLocalX,      float pTouchAreaLocalY){
        base.fileThingy.loadSaveFile(base);
        return super.onAreaTouched(pSceneTouchEvent,pTouchAreaLocalX,pTouchAreaLocalY);
      }
    }
;
    buttonX=(base.getCameraWidth() / 2) - (base.getQuitButtonRegion().getWidth() / 2);
    buttonY+=base.getStartButtonRegion().getHeight();
    Sprite quitButton=new Sprite(buttonX,buttonY,base.getQuitButtonRegion()){
      @Override public boolean onAreaTouched(      TouchEvent pSceneTouchEvent,      float pTouchAreaLocalX,      float pTouchAreaLocalY){
        base.ButtonPress(99);
        return super.onAreaTouched(pSceneTouchEvent,pTouchAreaLocalX,pTouchAreaLocalY);
      }
    }
;
    Text openFeintOption=new Text(10,base.getCameraHeight() - mainMenuWaveNumber.getHeight(),base.mFont2,"String_Node_Str"){
      @Override public boolean onAreaTouched(      TouchEvent pSceneTouchEvent,      float pTouchAreaLocalX,      float pTouchAreaLocalY){
        Dashboard.open();
        return super.onAreaTouched(pSceneTouchEvent,pTouchAreaLocalX,pTouchAreaLocalY);
      }
    }
;
    Text InGameStore=new Text(base.getCameraWidth() - 100,base.getCameraHeight() - mainMenuWaveNumber.getHeight(),base.mFont2,"String_Node_Str"){
      @Override public boolean onAreaTouched(      TouchEvent pSceneTouchEvent,      float pTouchAreaLocalX,      float pTouchAreaLocalY){
        base.sm.LoadShopMenu();
        return super.onAreaTouched(pSceneTouchEvent,pTouchAreaLocalX,pTouchAreaLocalY);
      }
    }
;
    MainMenu.attachChild(startButton);
    MainMenu.attachChild(quitButton);
    MainMenu.attachChild(openFeintOption);
    MainMenu.attachChild(mainMenuWaveNumber);
    MainMenu.attachChild(InGameStore);
    MainMenu.registerTouchArea(startButton);
    MainMenu.registerTouchArea(quitButton);
    MainMenu.registerTouchArea(openFeintOption);
    MainMenu.registerTouchArea(mainMenuWaveNumber);
    MainMenu.registerTouchArea(InGameStore);
    MainMenu.setTouchAreaBindingEnabled(true);
    base.ambient.setLooping(true);
    base.ambient.play();
  }
  checkHud();
  mainMenuWaveNumber.setText("String_Node_Str" + (base.fileThingy.getLastWaveFromSaveFile(base) + 1));
  base.getEngine().setScene(MainMenu);
  CameraCheck();
}