local LD = require("design.LevelDesignLibrary")
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)
  banterPlayed = savedInfo.banterPlayed
end
function FirstRechargingCrystal_Intro_Banter()
  LD.CallFunctionAfterDelay(function()
    if not banterPlayed.FirstRechargingCrystal_Intro then
      game.Audio.PlayBanter("423_FirstRechargingCrystal_Intro")
      banterPlayed.FirstRechargingCrystal_Intro = true
    end
  end, 0.5)
end
function FirstRechargingCrystal_Intro2_Banter()
  LD.CallFunctionAfterDelay(function()
    if not banterPlayed.FirstRechargingCrystal_Intro2 then
      game.Audio.PlayBanter("423_FirstRechargingCrystal_Intro2")
      banterPlayed.FirstRechargingCrystal_Intro2 = true
    end
  end, 2)
end
function FirstRechargingCrystal_InitialHint_Banter()
  LD.CallFunctionAfterDelay(function()
    if not banterPlayed.FirstRechargingCrystal_InitialHint then
      game.Audio.PlayBanter("423_FirstRechargingCrystal_InitialHint")
      banterPlayed.FirstRechargingCrystal_InitialHint = true
    end
  end, 5)
end
function FirstRechargingCrystal_InitialSuccess_Banter()
  LD.CallFunctionAfterDelay(function()
    if not banterPlayed.FirstRechargingCrystal_InitialSuccess then
      game.Audio.PlayBanter("423_FirstRechargingCrystal_InitialSuccess")
      banterPlayed.FirstRechargingCrystal_InitialSuccess = true
    end
  end, 2.25)
end
function FirstRechargingCrystal_AdvanceHint_Banter()
  LD.CallFunctionAfterDelay(function()
    if not banterPlayed.FirstRechargingCrystal_AdvanceHint then
      game.Audio.PlayBanter("423_FirstRechargingCrystal_AdvanceHint")
      banterPlayed.FirstRechargingCrystal_AdvanceHint = true
    end
  end, 6)
end
function FirstRechargingCrystal_AdvanceShot_Banter()
  if not banterPlayed.FirstRechargingCrystal_AdvanceShot then
    game.Audio.PlayBanter("423_FirstRechargingCrystal_AdvanceShot")
    banterPlayed.FirstRechargingCrystal_AdvanceShot = true
  end
end
function FirstRechargingCrystal_End_Banter()
  LD.CallFunctionAfterDelay(function()
    if not banterPlayed.FirstRechargingCrystal_End then
      game.Audio.PlayBanter("423_FirstRechargingCrystal_End")
      banterPlayed.FirstRechargingCrystal_End = true
    end
  end, 0.75)
end
function BlastBridge_Intro_Banter()
  LD.CallFunctionAfterDelay(function()
    if not banterPlayed.BlastBridge_Intro then
      game.Audio.PlayBanter("427_BlastBridge_Intro")
      banterPlayed.BlastBridge_Intro = true
    end
  end, 2)
end
function BlastBridge_Hint_Banter()
  if not banterPlayed.BlastBridge_Hint then
    game.Audio.PlayBanter("427_BlastBridge_Hint")
    banterPlayed.BlastBridge_Hint = true
  end
end
function BlastBridge_Fall_Banter()
  LD.CallFunctionAfterDelay(function()
    if not banterPlayed.BlastBridge_Fall then
      game.Audio.PlayBanter("427_BlastBridge_Fall")
      banterPlayed.BlastBridge_Fall = true
    end
  end, 1.25)
end
function BlastBridge_GuessNot_Banter()
  LD.CallFunctionAfterDelay(function()
    if not banterPlayed.BlastBridge_GuessNot then
      game.Audio.PlayBanter("427_BlastBridge_GuessNot")
      banterPlayed.BlastBridge_GuessNot = true
    end
  end, 1.5)
end
function BlastBridge_Hint2_Banter()
  if not banterPlayed.BlastBridge_Hint2 then
    game.Audio.PlayBanter("427_BlastBridge_Hint2")
    banterPlayed.BlastBridge_Hint2 = true
  end
end
function BlastBridge_End_Banter()
  LD.CallFunctionAfterDelay(function()
    if not banterPlayed.BlastBridge_End then
      game.Audio.PlayBanter("427_BlastBridge_End")
      banterPlayed.BlastBridge_End = true
    end
  end, 1.25)
end
