anchor.diff:    Result := true; //Must have worked if we haven't exited by now
   end;
   
  +
   procedure TMissionParser.DebugScriptError(ErrorMsg:string);
   begin
     //Just an idea, a nice way of debugging script errors. Shows the error to the user so they know exactly what they did wrong.
  
positive.code:   //Set default values
    Result.MapPath := '';
    Result.IsFight := -1;
    Result.TeamCount := -1;
    Result.HumanPlayerID := -1;
  
    FileText := ReadMissionFile(aFileName);
    if FileText = '' then exit;
  
    //FileText should now be formatted nicely with 1 space between each parameter/command
    k := 1;
  
negative.code: 
  {Acquire specific map details in a fast way}
  function TMissionParser.GetMapDetails(aFileName:string):TKMMapDetails;
  var f:file; i,k:integer;
  begin
    assignfile(f,aFileName); reset(f,1);
    blockread(f,k,4);
    blockread(f,i,4);
    Assert((k<=MaxMapSize)and(i<=MaxMapSize),'TMissionParser.GetMapDetails - Can''t open the map cos it''s too big.');
    closefile(f);
    Result.MapSize.X:=k;
    Result.MapSize.Y:=i;
  end;
  
  
  