local finish = false;
function ActionsJump ()
    
end;
function gameinput (sender,obj_id,attachedID)
-----------------------------------------------------------------------------------------------------------------------
    
    
    if sender == 100 then
      if finish then
          finish=false
          flags.is_comics=false    
          -- StopTimer(12542)
          -- PlayMusic()
          jump("comics7","vhod_turmy",13,0); 
          neighbors.comics7.lock=true;
          SetCurrentRM("menu");
          ReplaceObjectToWnd1("s","starost3",102,43,93,170,false);
          flags.starost_2 = true;
          SetCurrentRM("main");
          fromcomics7=true
          Block_Show_Cur(false);
          ShowMenu(true);
      end;
    return; end;
    
    if sender == 33 then  
      if finish then
        WaitRender();    
      end;
    return;end;
    
    if sender == 1 then --кликнули левой кнопкой мыши на активный объект
      finish = true;
      DarkScreen1(true);
    return;end;
    
    if sender == 15 then
      if obj_id == 6 then
        StartTimer(8884,2);
      return; end;
    return; end;
    
    if sender == 16 then
      if obj_id == 5 then
        RotateObject(5,0,360,15);
        StartTimer(8882,2);
      return; end;
      if obj_id == 3 then
        StartTimer(8883,2);
      return; end;
    return; end;
    
    if sender == 36 then      
      if obj_id == 8881 then
         playeffect("kom_age");
        speciale_action(2,6,true);
        speciale_action(2,5,true);
      return; end;
      if obj_id == 8882 then
        speciale_action(2,3,true,2);
        speciale_action(2,4,true,2);
      return; end;
      if obj_id == 8883 then
        speciale_action(2,5,true);
        speciale_action(2,6,true);
      return; end;
      if obj_id == 8884 then
        finish = true;
        DarkScreen1(true);
      return; end;  
    return;end;    
end
function SheetSwitched(nCount)
end;