skiper = false;
function finish_comics()
    flags.comics_run=false;
    Block_Show_Cur(false);
    flags.is_comics=false    
    fromcomics5=true
    neighbors.comics5.lock=true;
    flags.is_comics=false    
    -- StopTimer(12542)
    -- PlayMusic()
    jump("comics5","laborator",2,0);
end;


function ActionsJump ()
    
end;

function gameinput (sender,obj_id,attachedID)
Block_Show_Cur(false);
-----------------------------------------------------------------------------------------------------------------------
    if sender == 100 then
      if comics5finish then
      comics5finish=false 
      finish_comics()
      end
    return; end;
    
    if sender == 33 then 

      if comzav then
      comics5finish=true;
      WaitRender();
      end;
    return;end;

    
    if sender == 16 then

      if obj_id == 7 then
        RotateObject(6,0,360,9,true);
        RotateObject(7,360,0,11,true);
        StartTimer(8881,2);
      return; end;
      if obj_id == 3 then
        StartTimer(8883,2);
      return; end;
    return; end;
    
    if sender == 1 then --кликнули левой кнопкой мыши на активный объект
      Block_Show_Cur(true)
      finish_comics()
    return;end;

    if sender == 36 then
      if obj_id == 8881 then
        speciale_action(2,13,true,2);
    StartTimer(8882,2.1);
        -- ScaleObject(11,1,1.7,3,766,77);
        
        -- loadresource("data\\2\\50\\Mordi.png","com5cadr_M",1)
        -- loadresource("data\\2\\50\\0004.png","com5cadr_04",1)
        -- loadresource("data\\2\\50\\0005.png","com5cadr_05",1)
        -- loadresource("data\\2\\50\\0006.png","com5cadr_06",1)
        
        -- speciale_action(2,9,true,5);
      return; end;
      if obj_id == 8882 then
    playeffect("kom_age");
        speciale_action(2,3,true,3);
        speciale_action(2,4,true,2);
      return; end;
      if obj_id == 8883 then
        finish_comics()
      return; end;

    return;end;    
    
end
function SheetSwitched(nCount)
end;