Skip to content

Commit

Permalink
Disable low poly when exiting the boss scenarios
Browse files Browse the repository at this point in the history
For reloading save or warp to start in another scenario
  • Loading branch information
dyceron committed Jul 10, 2024
1 parent e27b5c7 commit e8ce3a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/open_samus_returns_rando/files/levels/s070_area7.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions src/open_samus_returns_rando/files/levels/s100_area10.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e8ce3a7

Please sign in to comment.