LD = require("design.LevelDesignLibrary")
thisLevel = nil
player = nil
son = nil
bDocksExploreMusicActive = false
function OnScriptLoaded(level)
  thisLevel = level
  player = game.Player.FindPlayer()
  son = game.AI.FindSon()
  game.Audio.StartMusicMaster("SND_MX_HEL_start_master")
end
function OnStart(level, obj)
  if bDocksExploreMusicActive then
    PlayDockExploreMusic()
  end
end
function OnSaveCheckpoint(level)
  return {
    bDocksExploreMusicActive = bDocksExploreMusicActive
  }
end
function OnRestoreCheckpoint(level, savedInfo)
  bDocksExploreMusicActive = savedInfo.bDocksExploreMusicActive
end
function HideSnowLightGrp()
  GameObjects.SNDSnowLightGrp:Hide()
end
function ShowSnowLightGrp()
  GameObjects.SNDSnowLightGrp:Show()
end
function PlayDockExploreMusic(level)
  game.Audio.StartCheckpointedMusic("SND_MX_HEL_raise_boat_puzzle_in")
  bDocksExploreMusicActive = true
end
function StopDockExploreMusic(level)
  game.Audio.StartMusic("SND_MX_HEL_raise_boat_puzzle_out")
  bDocksExploreMusicActive = false
end
