loadresource("data\\10\\11\\0005.png","ugon_05",1005);
loadresource("data\\10\\11\\ugon1.png","ugon1",1006);

loadresource("data\\10\\11\\0017.jpg","ugon_17",1017);
mini_puzzle=true

AddObjForCur()
SetFlagsForSatButtons()
addstaticobjecttogame(1005,"ugon_05",170,2  ,""); --рамка
CloseBtnX,CloseBtnY,SkipBtnX,SkipBtnY,HelpBtnX,HelpBtnY=Coords(1005)

HelpWidth=36
HelpHeight=36
CreateHelpBtn(HelpBtnX,HelpBtnY,36,36);

CloseWidth=34
CloseHeight=34
CreateCloseBtn(CloseBtnX,CloseBtnY);

AddSkipBtn(SkipBtnX,SkipBtnY);


addactivobjecttogame(3016,"ugon1",692,326,"","",0,0,902,186,91,161); --конт1
SetPossibleDirection(3016,2);
addactivobjecttogame(3007,"ugon1",193,422,"","",0,0,624,0,98,180); --конт2
SetPossibleDirection(3007,2);
addactivobjecttogame(3008,"ugon1",686,118,"","",0,0,808,186,94,179); --конт3
SetPossibleDirection(3008,2);
addactivobjecttogame(3009,"ugon1",494,122,"","",0,0,722,0,86,172); --конт4
SetPossibleDirection(3009,2);
addactivobjecttogame(3010,"ugon1",302,424,"","",0,0,808,0,168,80); --конт5
SetPossibleDirection(3010,1);
addactivobjecttogame(3015,"ugon1",402,139,"","",0,0,265,0,79,239); --конт6
SetPossibleDirection(3015,2);
addactivobjecttogame(3012,"ugon1",397,27 ,"","",0,0,0,0,265,89); --конт7
SetPossibleDirection(3012,1);
addactivobjecttogame(3013,"ugon1",199,25 ,"","",0,0,722,172,84,179); --конт8
SetPossibleDirection(3013,2);
addactivobjecttogame(3014,"ugon1",395,510,"","",0,0,344,0,280,114); --конт9
SetPossibleDirection(3014,1);
addactivobjecttogame(3011,"ugon1",495,325,"","",0,0,808,365,166,79); --конт10
SetPossibleDirection(3011,1);
addactivobjecttogame(3006,"ugon1",187,209,"","",0,0,808,80,200,106); --машина
SetPossibleDirection(3006,1);
addstaticobjecttogame(1017,"ugon_17",179,7  ,"",0,0,801,622); --бг

-- for i=3006,3016,1 do
    -- Set_Anim_Cur(i,4)
-- end;

Block_Show_Cur(true)
WaitRender();