Skip to content

Commit

Permalink
Merge pull request #390 from randovania/disable-vignettes
Browse files Browse the repository at this point in the history
Disable problematic vignettes
  • Loading branch information
ThanatosGit authored Jun 29, 2024
2 parents fe2ff99 + 0c5a9fe commit c4590e2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/open_samus_returns_rando/files/levels/s010_area1.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ function s010_area1.SetupDebugGameBlackboard()
Blackboard.SetProp("PLAYER_INVENTORY", "ITEM_SPECIAL_ENERGY_PHASE_DISPLACEMENT", "f", 0)
end
function s010_area1.InitFromBlackboard()
Game.SetSceneGroupEnabledByName("sg_vignette_201", false)
if Scenario.ReadFromBlackboard("Alpha_PreSpawn11Event", false) then
if Game.GetEntity("LE_Alpha_PreSpawn11Event") ~= nil then
Game.GetEntity("LE_Alpha_PreSpawn11Event"):DelMe()
Expand Down
1 change: 1 addition & 0 deletions src/open_samus_returns_rando/files/levels/s030_area3.lua
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ function s030_area3.ElevatorSetTarget(_ARG_0_)
end
end
function s030_area3.InitFromBlackboard()
Game.SetSceneGroupEnabledByName("sg_vignette_03", false)
if Game.GetEntity("LE_Event_03") ~= nil and Scenario.ReadFromBlackboard("SpecialEvent03Launched") then
Game.GetEntity("LE_Event_03"):Disable()
end
Expand Down
1 change: 1 addition & 0 deletions src/open_samus_returns_rando/files/levels/s040_area4.lua
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ function s040_area4.SetupDebugGameBlackboard()
Blackboard.SetProp("PLAYER_INVENTORY", "ITEM_SPECIAL_ENERGY_PHASE_DISPLACEMENT", "f", 0)
end
function s040_area4.InitFromBlackboard()
Game.SetSceneGroupEnabledByName("sg_vignette_003", false)
Game.SetSceneGroupEnabledByName("sg_Hazardous_Puddle_001", true)
Game.SetSceneGroupEnabledByName("sg_Hazardous_Puddle_002", true)
if Blackboard.GetProp("s040_area4", "entity_LE_HazarousPool_001_enabled") == nil then
Expand Down
1 change: 1 addition & 0 deletions src/open_samus_returns_rando/files/levels/s090_area9.lua
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ function s090_area9.ElevatorSetTarget(_ARG_0_)
end
end
function s090_area9.InitFromBlackboard()
Game.SetSceneGroupEnabledByName("sg_vignette_005", false)
s090_area9.bAfterOmegasKilledMusicChange = false
s090_area9.AllOmegasDeadCallback()
s090_area9.OnFansInit()
Expand Down

0 comments on commit c4590e2

Please sign in to comment.