From e8ce3a75b59f2a987870c966044280bcd5637518 Mon Sep 17 00:00:00 2001 From: dyceron Date: Wed, 10 Jul 2024 01:20:29 -0400 Subject: [PATCH] Disable low poly when exiting the boss scenarios For reloading save or warp to start in another scenario --- src/open_samus_returns_rando/files/levels/s070_area7.lua | 1 + src/open_samus_returns_rando/files/levels/s100_area10.lua | 1 + src/open_samus_returns_rando/files/levels/s110_surfaceb.lua | 1 + 3 files changed, 3 insertions(+) diff --git a/src/open_samus_returns_rando/files/levels/s070_area7.lua b/src/open_samus_returns_rando/files/levels/s070_area7.lua index 64e215fa..c84c77b3 100644 --- a/src/open_samus_returns_rando/files/levels/s070_area7.lua +++ b/src/open_samus_returns_rando/files/levels/s070_area7.lua @@ -108,6 +108,7 @@ end function s070_area7.OnReloaded() end function s070_area7.OnExit() + s070_area7.SetLowModelsVisibility(false) end function s070_area7.OnEnter_ActivationDNA_001() -- Game.OnDNAMechApproached("LE_ChozoUnlockAreaDNA_001", 1) diff --git a/src/open_samus_returns_rando/files/levels/s100_area10.lua b/src/open_samus_returns_rando/files/levels/s100_area10.lua index 367e1fe8..7be6c9ab 100644 --- a/src/open_samus_returns_rando/files/levels/s100_area10.lua +++ b/src/open_samus_returns_rando/files/levels/s100_area10.lua @@ -101,6 +101,7 @@ end function s100_area10.OnReloaded() end function s100_area10.OnExit() + s070_area7.SetLowModelsVisibility(false) end function s100_area10.OnEnter_ActivationTeleport_10_01() Game.OnTeleportApproached("LE_Teleporter_10_01") diff --git a/src/open_samus_returns_rando/files/levels/s110_surfaceb.lua b/src/open_samus_returns_rando/files/levels/s110_surfaceb.lua index 5f866ac9..fddba264 100644 --- a/src/open_samus_returns_rando/files/levels/s110_surfaceb.lua +++ b/src/open_samus_returns_rando/files/levels/s110_surfaceb.lua @@ -86,6 +86,7 @@ function s110_surfaceb.InitializeRidleyStorms() end end function s110_surfaceb.OnExit() + s070_area7.SetLowModelsVisibility(false) end function s110_surfaceb.RecoverEnergy() if Game.GetPlayer() ~= nil then