loadresource("data\\8\\6\\kamin_pepel.png","kamin_pepel",2);
loadresource("data\\8\\6\\0007.jpg","kamin_pepel7",7);


AddObjForCur()

addstaticobjecttogame(2,"kamin_pepel",306,56 ,"",0,248,639,517); --рамка
CloseBtnX,CloseBtnY=Coords(2)


SetFlagsForSatButtons()

CloseWidth=34
CloseHeight=34

CreateCloseBtn(CloseBtnX,CloseBtnY);


addactivobjecttogame(3,"kamin_pepel",468,335,"","",0,0,0,0,399,248); --полный совок
speciale_action(2,3);

addactivobjecttogame(5,"kamin_pepel",470,334,"","",0,0,399,0,399,248); --пепел
Set_Anim_Cur(5,4);
addactivobjecttogame(6,"kamin_pepel",608,451,"","",0,0,639,248,159,66); --бумага
addstaticobjecttogame(7,"kamin_pepel7",311,62 ,"",0,0,629,503); --фон

  if s_obj>0 then
  AddObjToMouse(s_obj)
  s_obj=0
  end;

WaitRender();