local timers = require("level.timer")
local thisObj
local banterPlayed = {}
function OnScriptLoaded(level, obj)
  game.SubObject.Sleep(obj)
end
function OnSaveCheckpoint(level, obj)
  local savedInfo = {}
  savedInfo.banterPlayed = banterPlayed
  return savedInfo
end
function OnRestoreCheckpoint(level, obj, savedInfo)
  if savedInfo ~= nil then
    banterPlayed = savedInfo.banterPlayed
  end
end
function EnoughAboutOdin_Banter()
  if not banterPlayed.EnoughAboutOdin then
    timers.StartLevelTimer(6, function()
      game.Audio.PlayBanter("040_EnoughAboutOdin", EnoughAboutOdin_Complete)
    end)
    banterPlayed.EnoughAboutOdin = true
  end
end
function EnoughAboutOdin_Complete()
  local Foot400_BanterComplete_Call = game.FindLevel("Foot500_Top")
  local Foot400_FindCBTSCript = Foot400_BanterComplete_Call:FindSingleGameObject("Cbt_Foot500_Script")
  Foot400_FindCBTSCript:CallScript("A1_V02_TrgVolShow")
end
