SetActivLeaf("holl");
v_particles=false
vilezmessage=false
Spirit_Particles()
AddObjForCur()
ForSvet1={
0,0,
1,0,
1,1,
0,1
}

UpShelf={
172,140,
246,140,
246,221,
172,221
}

Hidden_holl={
468,194,
606,194,
606,478,
468,478
}

CloseLab={
927,160,
1020,160,
1020,622,
927,622
}

EnterDoor={
637,219,
829,219,
829,463,
637,463
}

KabDoor={
268,191,
359,191,
359,509,
268,509
}




CreatePolygon(800,4,"ForSvet1")
CreatePolygon(29,4,"KabDoor")
addstaticobjecttogame(101,"holl_big1",280,0,"",0,803,387,73)
speciale_action(2,101)


addactivobjecttogame(6 ,"holl_big1",262,504,"","",0,0,0,604,375,138); --штукатурка и поломанный табурет
addstaticobjecttogame(7 ,"holl_big1",335,467,"",375,604,203,198); --целый табурет
addstaticobjecttogame(9 ,"holl_big1",321,527,"",578,677,316,94); --штукатурка
--addstaticobjecttogame(50,"holl_big1",6,0 ,"",0,0,996,604); --лестинца
--addstaticobjecttogame(51,"lestnica_holl_shad",6  ,0  ,""); --тень лестницы
-- if not flags.lesenka then
  -- speciale_action(2,50);
  -- speciale_action(10,50);
-- end;

if flags.molot then
  speciale_action(2,12);
end;
CreatePolygon(36,4,"UpShelf")
speciale_action(2,36)
addstaticobjecttogame(21,"holl_big2",238,136,"",197,0,28,425); --открытая дверка2
speciale_action(2,21);
addstaticobjecttogame(22,"holl_big2",176,114,"",0,0,89,428); --закрытая дверка2
--CreatePolygon(22,4,"LabDoor")



addstaticobjecttogame(34,"holl_big1",78,547,"",375,604,203,198); --переехала табуретка
speciale_action(2,34);

CreatePolygon(19,4,"Hidden_holl")

addactivobjecttogame(26,"holl_big2",916,104,"","",0,0,403,0,108,512); --открытая дверь в лабораторию
speciale_action(2,26);
CreatePolygon(27,4,"CloseLab")

addactivobjecttogame(28,"holl_big2",749-35,229,"","",0,0,256,0,114,245)
CreatePolygon(28,4,"EnterDoor")
if not flags.comics3 then    
    speciale_action(2,28)
end;



addstaticobjecttogame(31,"holl_big1",277,0  ,"",578,604,387,73); --дырка в потолке маленькая

if not flags.taburka_razbit then
      speciale_action(2,31);
end;
-- if flags.holl_potolok then
  -- ActivateObject(31,false);
-- end;
addstaticobjecttogame(32,"0124",0  ,0  ,""); --сам холл

Block_Show_Cur(false);
addfade(501,0);

  
if not flags.taburka_razbit or flags.taburet then
  speciale_action(2,6);
  speciale_action(2,9);

end;

if flags.taburka_razbit then
  speciale_action(2,7);
end;

if not flags.taburet then
   if flags.gvozdi then
   speciale_action(2,6); 
   speciale_action(2,7);
   ActivateObject(7,true)
end;   
end;

if flags.taburet then
     speciale_action(2,34);
     speciale_action(4,34);
end;


if flags.mini_code then    
  speciale_action(2,27);
  speciale_action(2,26);
end;

if flags.shkaf_holl then
  speciale_action(2,22);
  speciale_action(2,21);
  speciale_action(2,36) 
end;




