local thisObj, WallAnim, BoostLink, VaultLink
function OnScriptLoaded(level, obj)
  thisObj = obj
  WallAnim = thisObj:FindSingleGOByName("ShiftingWall_Anim")
  BoostLink = thisObj:FindSingleGOByName("Boost2_Link")
  VaultLink = thisObj:FindSingleGOByName("Vault_Link")
  game.SubObject.Sleep(obj)
  game.SubObject.SetForgetOnCheckpoint(obj)
end
function GoTo_HideHeight()
  WallAnim:JumpAnimToFrame(90)
  WallAnim:PauseAnim()
  thisObj:HideCollision()
end
function GoTo_VaultHeight(allowLink)
  WallAnim:JumpAnimToFrame(60)
  WallAnim:PauseAnim()
  thisObj:ShowCollision()
  if allowLink == false then
    if BoostLink ~= nil then
      BoostLink:HideTraverseLink()
    end
    if VaultLink ~= nil then
      VaultLink:HideTraverseLink()
    end
  else
    if BoostLink ~= nil then
      BoostLink:ShowTraverseLink()
    end
    if VaultLink ~= nil then
      VaultLink:ShowTraverseLink()
    end
  end
end
function GoTo_BoostHeight()
  WallAnim:JumpAnimToFrame(30)
  WallAnim:PauseAnim()
  thisObj:ShowCollision()
end
function GoTo_BlockHeight()
  WallAnim:JumpAnimToFrame(0)
  WallAnim:PauseAnim()
  thisObj:ShowCollision()
end
function GoTo_AxeGapHeight()
  WallAnim:JumpAnimToFrame(120)
  WallAnim:PauseAnim()
  thisObj:ShowCollision()
end
