local LD = require("design.LevelDesignLibrary")
function OnScriptLoaded(level)
  game.Audio.StartMusicMaster("SND_MX_STN_boss_master")
  game.Audio.StartMusicMaster("SND_MX_STN_start_master")
end
function OnFirstStart(level)
end
local baldurKilledThisSession = false
function revisitMusic()
  if game.Level.GetVariable("CompletedCineNumber") >= 610 and not game.FindLevel("Stn110_ChiselArena") and not baldurKilledThisSession then
    game.Audio.StartMusic("SND_MX_STN_revisit_explore_in")
  end
end
function musicRevisitOut()
  if not baldurKilledThisSession then
    game.Audio.StartMusic("SND_MX_TRANS_TO_IDLE")
  end
end
function musicRevisitIn()
  if game.Level.GetVariable("CompletedCineNumber") >= 610 and not baldurKilledThisSession then
    game.Audio.StartMusic("SND_MX_STN_revisit_explore_in")
  end
end
function BaldurDeath()
  baldurKilledThisSession = true
  LD.CallFunctionAfterDelay(function()
    baldurKilledThisSession = false
  end, 30)
end
