Program: 8880
Project: 8880
Buggy source:
@Override public void initialize(final AppStateManager stateManager,final Application app){
  super.initialize(stateManager,app);
  this.app=(Main)app;
  this.stateManager=stateManager;
  SingleBarLoadingState loader=new SingleBarLoadingState(){
    @Override public Void onLoad(){
      try {
        if (level != null) {
          kwdFile=new KwdFile(Main.getDkIIFolder(),new File(Main.getDkIIFolder() + AssetsConverter.MAPS_FOLDER + level+ "String_Node_Str"));
        }
 else {
          kwdFile.load();
        }
        setProgress(0.1f);
        WorldState worldState=new WorldState(kwdFile,assetManager){
          @Override protected void updateProgress(          int progress,          int max){
            setProgress(0.1f + ((float)progress / max * 0.5f));
          }
        }
;
        GameState.this.stateManager.attach(worldState);
        GameState.this.stateManager.attach(new SoundState(false));
        setProgress(0.60f);
        GameState.this.stateManager.attach(new ActionPointState(false));
        setProgress(0.70f);
        GameState.this.stateManager.attach(new PartytState(false));
        setProgress(0.80f);
        int triggerId=kwdFile.getGameLevel().getTriggerId();
        if (triggerId != 0) {
          triggerControl=new TriggerControl(stateManager,triggerId);
          setProgress(0.90f);
        }
        setProgress(1.0f);
      }
 catch (      Exception e) {
        logger.log(Level.SEVERE,"String_Node_Str",e);
      }
      return null;
    }
    @Override public void onLoadComplete(){
      GameState.this.app.setViewProcessors();
      GameState.this.stateManager.getState(PlayerState.class).setEnabled(true);
      GameState.this.stateManager.getState(ActionPointState.class).setEnabled(true);
      GameState.this.stateManager.getState(PartytState.class).setEnabled(true);
      GameState.this.stateManager.getState(SoundState.class).setEnabled(true);
      for (short i=0; i < 128; i++) {
        flags.put(i,0);
      }
      for (byte i=0; i < 16; i++) {
        timers.put(i,new GameTimer());
      }
    }
  }
;
  stateManager.attach(loader);
}

Fixed version (ground truth):
@Override public void initialize(final AppStateManager stateManager,final Application app){
  super.initialize(stateManager,app);
  this.app=(Main)app;
  this.stateManager=stateManager;
  SingleBarLoadingState loader=new SingleBarLoadingState(){
    @Override public Void onLoad(){
      try {
        if (level != null) {
          kwdFile=new KwdFile(Main.getDkIIFolder(),new File(ConversionUtils.getRealFileName(Main.getDkIIFolder(),AssetsConverter.MAPS_FOLDER + level + "String_Node_Str")));
        }
 else {
          kwdFile.load();
        }
        setProgress(0.1f);
        WorldState worldState=new WorldState(kwdFile,assetManager){
          @Override protected void updateProgress(          int progress,          int max){
            setProgress(0.1f + ((float)progress / max * 0.5f));
          }
        }
;
        GameState.this.stateManager.attach(worldState);
        GameState.this.stateManager.attach(new SoundState(false));
        setProgress(0.60f);
        GameState.this.stateManager.attach(new ActionPointState(false));
        setProgress(0.70f);
        GameState.this.stateManager.attach(new PartytState(false));
        setProgress(0.80f);
        int triggerId=kwdFile.getGameLevel().getTriggerId();
        if (triggerId != 0) {
          triggerControl=new TriggerControl(stateManager,triggerId);
          setProgress(0.90f);
        }
        setProgress(1.0f);
      }
 catch (      Exception e) {
        logger.log(Level.SEVERE,"String_Node_Str",e);
      }
      return null;
    }
    @Override public void onLoadComplete(){
      GameState.this.app.setViewProcessors();
      GameState.this.stateManager.getState(PlayerState.class).setEnabled(true);
      GameState.this.stateManager.getState(ActionPointState.class).setEnabled(true);
      GameState.this.stateManager.getState(PartytState.class).setEnabled(true);
      GameState.this.stateManager.getState(SoundState.class).setEnabled(true);
      for (short i=0; i < 128; i++) {
        flags.put(i,0);
      }
      for (byte i=0; i < 16; i++) {
        timers.put(i,new GameTimer());
      }
    }
  }
;
  stateManager.attach(loader);
}