anchor.diff:    end;
   
   var
  -  RT: TRXType;
     A: TKMAnimLoop;
     I, Step: Integer;
     pngWidth, pngHeight, newWidth, newHeight: Word;
  
positive.code:   NeedAlpha: Boolean;
  begin
    RT := rxUnits;
  
    origSpritesDir := aBaseDir + 'original_frames\';
    interpSpritesDir := aBaseDir + 'interpolated_frames\';
  
negative.code:     NoShadMinY := MaxInt;
      NoShadMaxX := -1;
      NoShadMaxY := -1;
      needsMask := False;
      for Y := 0 to pngHeight-1 do
      begin
        for X := 0 to pngWidth-1 do
  