anchor.diff:                              fAttackPositions[fAttackPositionsCount-1].Target := KMPoint(P[0]+1,P[1]+1);
                             end
                             else
  -                            DebugScriptError('ct_AttackPosition without prior declaration of Troop');
  +                            AddScriptError('ct_AttackPosition without prior declaration of Troop');
       ct_AddGoal:         if fLastPlayer >=0 then
                             //If the condition is time then P[3] is the time, else it is player ID
                             if TGoalCondition(P[0]) = gc_Time then
  
positive.code:                             if fRemap[P[3]] >= 0 then
                                fPlayers.Player[fLastPlayer].Goals.AddGoal(glt_Survive,TGoalCondition(P[0]),TGoalStatus(P[1]),0,P[2],fRemap[P[3]])
                              else
                                DebugScriptError('Add_LostGoal for non existing player');
      ct_AIDefence:       if fLastPlayer >=0 then
                            fPlayers.Player[fLastPlayer].AI.AddDefencePosition(KMPointDir(KMPoint(P[0]+1,P[1]+1),TKMDirection(P[2]+1)),TGroupType(P[3]+1),P[4],TAIDefencePosType(P[5]));
      ct_SetMapColor:     if fLastPlayer >=0 then
  
negative.code:                          else
                           begin
                             //Else abort loading and fail
                             AddScriptError('Map file couldn''t be found',true);
                             Exit;
                           end;
                         end;
  