anchor.diff:    NeedAlpha: Boolean;
   begin
     RT := rxUnits;
  +  if fSprites[RT] = nil then
  +  begin
  +    fSprites[RT] := TKMSpritePackEdit.Create(RT, fPalettes);
  +    fSprites[RT].LoadFromRXXFile(ExeDir + 'data\Sprites\' + RXInfo[RT].FileName + '_a.rxx');
  +  end;
   
     origSpritesDir := aBaseDir + 'original_frames\';
     interpSpritesDir := aBaseDir + 'interpolated_frames\';
  
positive.code:     NoShadMinY := MaxInt;
      NoShadMaxX := -1;
      NoShadMaxY := -1;
      for Y := 0 to pngHeight-1 do
      begin
        for X := 0 to pngWidth-1 do
  
negative.code:   dirBase, dirShad, dirTeam: string;
    needsMask: Boolean;
  begin
    if (aDir = dirNA) or not fResUnits[aUT].SupportsAction(aAction) then
      Exit(-1);
  
  