local canPlay = false
function OnScriptLoaded(level, obj)
  game.SubObject.Sleep(obj)
end
function OnSaveCheckpoint(level, obj)
  local savedInfo = {}
  savedInfo.canPlay = canPlay
  return savedInfo
end
function OnRestoreCheckpoint(level, obj, savedInfo)
  canPlay = savedInfo.canPlay
end
function EnableBtr()
  canPlay = true
end
function CanPlayBtr()
  if game.Level.GetVariable("CompletedCineNumber") < 310 then
    return canPlay
  else
    return false
  end
end
