Now it works perfectly.
Code:
EXPORT test()
BEGIN
DIMGROB_P(G1,32,32);
RECT();
DIMGROB_P(G2,16,16, {#7FFA7FFA7FFA7FFA:64,#14A514A514A57FFA:64,#7FFA14A514A514A5:64,#7FFA7FFA7FFA7FFA:64,#14A57FFA7FFA7FFA:64,#E007FFF7FFF14A5:64,#14A57FFF7FFF0E00:64,#7FFA7FFA7FFA14A5:64,#7FFF14A57FFA7FFA:64,#2B032B037FFF7FFF:64,#7FFF7FFF2B032B03:64,#7FFA7FFA14A57FFF:64,#E000E0014A57FFA:64,#47EA47EA2B032B03:64,#2B032B0347EA47EA:64,#7FFA14A50E000E00:64,#2B030E0014A57FFA:64,#47EA47EA47EA2B03:64,#2B0347EA47EA47EA:64,#7FFA14A50E002B03:64,#2B032B037FFF14A5:64,#7FFF7FFF47EA47EA:64,#47EA47EA7FFF7FFF:64,#14A57FFF2B032B03:64,#2B037FFF7FFF14A5:64,#7FFF7FFF7FFF47EA:64,#47EA7FFF7FFF7FFF:64,#14A57FFF7FFF2B03:64,#2B037FFF7FFF14A5:64,#7FFF7FFF7FFF47EA:64,#47EA7FFF7FFF7FFF:64,#14A57FFF7FFF2B03:64,#2B032B037FFF14A5:64,#7FFF7FFF7FFF2B03:64,#2B037FFF7FFF7FFF:64,#14A57FFF2B032B03:64,#2B032B030E0014A5:64,#7FFF7FFF0E000E00:64,#E000E007FFF7FFF:64,#14A50E002B032B03:64,#E000E000E0014A5:64,#14A514A514A514A5:64,#14A514A514A514A5:64,#14A50E000E000E00:64,#14A514A514A57FFA:64,#7F4F14A57F4F7F4F:64,#7F4F7F4F14A57F4F:64,#7FFA14A514A514A5:64,#7F4F14A57FFA7FFA:64,#7FFF14A57FFF7FFF:64,#7FFF7FFF14A57FFF:64,#7FFA7FFA14A57F4F:64,#7F4F14A57FFA7FFA:64,#7FFF7FFF7FFF7FFF:64,#7FFF7FFF7FFF7FFF:64,#7FFA7FFA14A57F4F:64,#14A514A57FFA7FFA:64,#7FFF7FFF7FFF7F4F:64,#7F4F7FFF7FFF7FFF:64,#7FFA7FFA7FFA14A5:64,#7FFA7FFA7FFA7FFA:64,#14A514A514A514A5:64,#14A514A514A514A5:64,#7FFA7FFA7FFA7FFA:64});
BLIT_P(G2,100,50);
BLIT_P(G1,0,0,32,32,G2,0,0,16,16);
BLIT_P(G1,50,50);
BLIT_P(G1,82,82);
BLIT_P(G1,160,160);
wait();
END;