Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove DNA on metroids and add pickups #117

Merged
merged 3 commits into from
Oct 1, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion open_samus_returns_rando/files/custom_scenario.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,10 @@ end

function Scenario.OnSubAreaChange(old_subarea, old_actorgroup, new_subarea, new_actorgroup, disable_fade)
Scenario.UpdateProgressiveItemModels()
end
end

function Scenario.SetMetroidSpawngroupOnCurrentScenario(created_actor, group_name)
if created_actor ~= nil and created_actor.sName ~= nil then
CurrentScenario.currentMetroidSpawngroup = group_name
end
end
1 change: 1 addition & 0 deletions open_samus_returns_rando/files/levels/s000_surface.lua
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ function s000_surface.OnEnter_SetCheckpoint_001_Alpha_001()
Game.SetBossCheckPointNames("ST_SG_Alpha_001", "ST_SG_Alpha_001_Out", "SG_Alpha_001", "", "")
end
function s000_surface.OnAlpha_001_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Alpha_001")
if _ARG_1_ ~= nil and _ARG_1_.AI ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door013")
_ARG_1_.AI.bPlaceholder = false
Expand Down
4 changes: 4 additions & 0 deletions open_samus_returns_rando/files/levels/s010_area1.lua
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,7 @@ function s010_area1.OnEnter_SetCheckpoint_001_Alpha_001()
Game.SetBossCheckPointNames("ST_SG_Alpha_001", "ST_SG_Alpha_001_Out", "SG_Alpha_001", "", "")
end
function s010_area1.OnAlpha_001_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Alpha_001")
if _ARG_1_ ~= nil and _ARG_1_.AI ~= nil then
_ARG_1_.AI.bPlaceholder = false
_ARG_1_.AI:AddBossCamera("CAM_Alpha")
Expand All @@ -523,6 +524,7 @@ function s010_area1.OnEnter_SetCheckpoint_001_Alpha_002()
Game.SetBossCheckPointNames("ST_SG_Alpha_002", "ST_SG_Alpha_002_Out", "SG_Alpha_002", "", "")
end
function s010_area1.OnAlpha_002_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Alpha_002")
if _ARG_1_ ~= nil and _ARG_1_.AI ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door014")
_ARG_1_.AI.bPlaceholder = false
Expand All @@ -544,6 +546,7 @@ function s010_area1.OnEnter_SetCheckpoint_001_Alpha_003()
Game.SetBossCheckPointNames("ST_SG_Alpha_003", "ST_SG_Alpha_003_Out", "SG_Alpha_003", "", "")
end
function s010_area1.OnAlpha_003_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Alpha_003")
if _ARG_1_ ~= nil and _ARG_1_.AI ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door015")
_ARG_1_.AI.bPlaceholder = false
Expand Down Expand Up @@ -583,6 +586,7 @@ function s010_area1.OnEnter_SetCheckpoint_002_Alpha_004()
Game.SetBossCheckPointNames("ST_SG_Alpha_004B", "ST_SG_Alpha_004B_Out", "SG_Alpha_004", "", "")
end
function s010_area1.OnAlpha_004_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Alpha_004")
if _ARG_1_ ~= nil and _ARG_1_.AI ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door016")
_ARG_1_.AI.bPlaceholder = false
Expand Down
6 changes: 6 additions & 0 deletions open_samus_returns_rando/files/levels/s020_area2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ function s020_area2.OnEnter_SetCheckpoint_001_Alpha_001()
Game.SetBossCheckPointNames("ST_SG_Alpha_001", "ST_SG_Alpha_001_Out", "SG_Alpha_001", "", "")
end
function s020_area2.OnAlpha_001_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Alpha_001")
if _ARG_1_ ~= nil and _ARG_1_.AI ~= nil then
-- _ARG_1_.AI:AddBossDoorUnlockedOnDeath("Door020")
_ARG_1_.AI.bPlaceholder = false
Expand Down Expand Up @@ -270,6 +271,7 @@ function s020_area2.OnEnter_SetCheckpoint_001_Alpha_003()
Game.SetBossCheckPointNames("ST_SG_Alpha_003", "ST_SG_Alpha_003_Out", "SG_Alpha_003", "", "")
end
function s020_area2.OnAlpha_003_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Alpha_003")
if _ARG_1_ ~= nil and _ARG_1_.AI ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door021")
-- _ARG_1_.AI:AddBossDoor("Door009")
Expand Down Expand Up @@ -297,6 +299,7 @@ function s020_area2.OnEnter_SetCheckpoint_001_Alpha_004()
Game.SetBossCheckPointNames("ST_SG_Alpha_004", "ST_SG_Alpha_004_Out", "SG_Alpha_004", "", "")
end
function s020_area2.OnAlpha_004_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Alpha_004")
if _ARG_1_ ~= nil and _ARG_1_.AI ~= nil then
-- _ARG_1_.AI:AddBossDoorUnlockedOnDeath("Door010")
_ARG_1_.AI.bPlaceholder = false
Expand Down Expand Up @@ -340,6 +343,7 @@ function s020_area2.OnEnter_SetCheckpoint_001_Alpha_005()
Game.SetBossCheckPointNames("ST_SG_Alpha_005", "ST_SG_Alpha_005_Out", "SG_Alpha_005", "", "")
end
function s020_area2.OnAlpha_005_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Alpha_005")
if _ARG_1_ ~= nil and _ARG_1_.AI ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door022")
_ARG_1_.AI.bPlaceholder = false
Expand All @@ -364,6 +368,7 @@ function s020_area2.OnEnter_SetCheckpoint_001_Alpha_006()
Game.SetBossCheckPointNames("ST_SG_Alpha_006", "ST_SG_Alpha_006_Out", "SG_Alpha_006", "", "")
end
function s020_area2.OnAlpha_006_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Alpha_006")
if _ARG_1_ ~= nil and _ARG_1_.AI ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door017")
_ARG_1_.AI.bPlaceholder = false
Expand Down Expand Up @@ -402,6 +407,7 @@ function s020_area2.OnEnter_SetCheckpoint_001_Alpha_007()
Game.SetBossCheckPointNames("ST_SG_Alpha_007", "ST_SG_Alpha_007_Out", "SG_Alpha_007", "", "")
end
function s020_area2.OnAlpha_007_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Alpha_007")
if _ARG_1_ ~= nil and _ARG_1_.AI ~= nil then
_ARG_1_.AI.bPlaceholder = false
_ARG_1_.AI:AddBossCamera("CAM_Alpha")
Expand Down
1 change: 1 addition & 0 deletions open_samus_returns_rando/files/levels/s025_area2b.lua
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ function s025_area2b.OnEnter_SetCheckpoint_001_Gamma_001()
Game.SetBossCheckPointNames("ST_SG_Gamma_001", "ST_SG_Gamma_001_Out", "SG_Gamma_001", "", "")
end
function s025_area2b.OnGamma_001_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Gamma_001")
if _ARG_1_ ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door010")
-- _ARG_1_.AI:AddBossDoor("Door018")
Expand Down
1 change: 1 addition & 0 deletions open_samus_returns_rando/files/levels/s028_area2c.lua
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ function s028_area2c.OnEnter_SetCheckpoint_002_Alpha_002()
Game.SetBossCheckPointNames("ST_SG_Alpha_002B", "ST_SG_Alpha_002B_Out", "SG_Alpha_002", "", "")
end
function s028_area2c.OnAlpha_002_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Alpha_002")
if _ARG_1_ ~= nil and _ARG_1_.AI ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door008")
_ARG_1_.AI.bPlaceholder = false
Expand Down
2 changes: 2 additions & 0 deletions open_samus_returns_rando/files/levels/s030_area3.lua
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ function s030_area3.OnGamma_005_Intro_C_Generated(_ARG_0_, _ARG_1_)
s030_area3.OnGamma_005_C_Generated(_ARG_0_, _ARG_1_)
end
function s030_area3.OnGamma_005_C_Generated(_ARG_0_, _ARG_1_)
-- TODO: No idea if this is the right one (multi-room gamma)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Gamma_005_C")
if _ARG_1_ ~= nil then
-- _ARG_1_.AI:AddBossDoorUnlockedOnDeath("Door015")
_ARG_1_.AI.bPlaceholder = false
Expand Down
7 changes: 7 additions & 0 deletions open_samus_returns_rando/files/levels/s033_area3b.lua
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ function s033_area3b.OnEnter_SetCheckpoint_001_Alpha_002()
Game.SetBossCheckPointNames("ST_SG_Alpha_002", "ST_SG_Alpha_002_Out", "SG_Alpha_002", "", "")
end
function s033_area3b.OnAlpha_002_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Alpha_002")
if _ARG_1_ ~= nil and _ARG_1_.AI ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door016")
-- _ARG_1_.AI:AddBossDoor("Door018")
Expand Down Expand Up @@ -117,6 +118,7 @@ function s033_area3b.OnEnter_SetCheckpoint_002_Alpha_003()
Game.SetBossCheckPointNames("ST_SG_Alpha_003B", "ST_SG_Alpha_003B_Out", "SG_Alpha_003", "", "")
end
function s033_area3b.OnAlpha_003_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Alpha_003")
if _ARG_1_ ~= nil and _ARG_1_.AI ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door017")
_ARG_1_.AI.bPlaceholder = false
Expand Down Expand Up @@ -172,6 +174,7 @@ function s033_area3b.OnEnter_SetCheckpoint_002_Gamma_001()
Game.SetBossCheckPointNames("ST_SG_Gamma_001B", "ST_SG_Gamma_001B_Out", "SG_Gamma_001", "", "")
end
function s033_area3b.OnGamma_001_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Gamma_001")
if _ARG_1_ ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door002")
_ARG_1_.AI.bPlaceholder = false
Expand Down Expand Up @@ -230,6 +233,7 @@ function s033_area3b.OnEnter_SetCheckpoint_002_Gamma_002()
Game.SetBossCheckPointNames("ST_SG_Gamma_002", "ST_SG_Gamma_002_Out", "SG_Gamma_002", "", "")
end
function s033_area3b.OnGamma_002_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Gamma_002")
if _ARG_1_ ~= nil then
_ARG_1_.AI.bPlaceholder = false
_ARG_1_.AI:AddBossCamera("CAM_Gamma")
Expand Down Expand Up @@ -284,6 +288,7 @@ function s033_area3b.OnEnter_SetCheckpoint_001_Gamma_003()
Game.SetBossCheckPointNames("ST_SG_Gamma_003", "ST_SG_Gamma_003_Out", "SG_Gamma_003", "", "")
end
function s033_area3b.OnGamma_003_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Gamma_003")
if _ARG_1_ ~= nil then
_ARG_1_.AI.bPlaceholder = false
_ARG_1_.AI:AddBossCamera("CAM_Gamma")
Expand Down Expand Up @@ -399,6 +404,8 @@ function s033_area3b.OnGamma_004_Intro_B_Generated(_ARG_0_, _ARG_1_)
s033_area3b.OnGamma_004_B_Generated(_ARG_0_, _ARG_1_)
end
function s033_area3b.OnGamma_004_B_Generated(_ARG_0_, _ARG_1_)
-- TODO: No idea if this is the right one (multi-room gamma)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Gamma_004_B")
if _ARG_1_ ~= nil then
-- _ARG_1_.AI:AddBossDoorUnlockedOnDeath("Door014")
_ARG_1_.AI.bPlaceholder = false
Expand Down
4 changes: 4 additions & 0 deletions open_samus_returns_rando/files/levels/s036_area3c.lua
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ function s036_area3c.OnEnter_SetCheckpoint_001_Alpha_001()
Game.SetBossCheckPointNames("ST_SG_Alpha_001", "ST_SG_Alpha_001", "SG_Alpha_001", "", "")
end
function s036_area3c.OnAlpha_001_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Alpha_001")
if _ARG_1_ ~= nil and _ARG_1_.AI ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door013")
_ARG_1_.AI.bPlaceholder = false
Expand Down Expand Up @@ -173,6 +174,7 @@ function s036_area3c.OnEnter_SetCheckpoint_002_Gamma_006()
Game.SetBossCheckPointNames("ST_SG_Gamma_006B", "ST_SG_Gamma_006B_Out", "SG_Gamma_006", "", "")
end
function s036_area3c.OnGamma_006_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Gamma_006")
if _ARG_1_ ~= nil then
_ARG_1_.AI.bPlaceholder = false
_ARG_1_.AI:AddBossCamera("CAM_Gamma")
Expand Down Expand Up @@ -222,6 +224,8 @@ function s036_area3c.OnEnter_SetCheckpoint_001_Gamma_007()
Game.SetBossCheckPointNames("ST_SG_Gamma_007", "ST_SG_Gamma_007", "SG_Gamma_007_A", "SG_Gamma_007_B", "SG_Gamma_007_C")
end
function s036_area3c.OnGamma_007_A_Generated(_ARG_0_, _ARG_1_)
-- TODO: No idea if this is the right one (multi-room gamma)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Gamma_007_A")
if _ARG_1_ ~= nil then
-- _ARG_1_.AI:AddBossDoorUnlockedOnDeath("Door006")
_ARG_1_.AI.bPlaceholder = false
Expand Down
3 changes: 3 additions & 0 deletions open_samus_returns_rando/files/levels/s040_area4.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ function s040_area4.OnEnter_SetCheckpoint_Alpha_001()
Game.SetBossCheckPointNames("ST_SG_Alpha_001", "ST_SG_Alpha_001", "SG_Alpha_001", "", "")
end
function s040_area4.OnAlpha_001_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Alpha_001")
if _ARG_1_ ~= nil and _ARG_1_.AI ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door012")
_ARG_1_.AI.bPlaceholder = false
Expand Down Expand Up @@ -54,6 +55,8 @@ function s040_area4.OnGamma_001_Intro_A_Generated(_ARG_0_, _ARG_1_)
s040_area4.OnGamma_001_A_Generated(_ARG_0_, _ARG_1_)
end
function s040_area4.OnGamma_001_A_Generated(_ARG_0_, _ARG_1_)
-- TODO: No idea if this is the right one (multi-room gamma)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Gamma_001_A")
if _ARG_1_ ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door011")
-- _ARG_1_.AI:AddBossDoorUnlockedOnDeath("Door004")
Expand Down
3 changes: 3 additions & 0 deletions open_samus_returns_rando/files/levels/s050_area5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ function s050_area5.OnGamma_002_Intro_A_Generated(_ARG_0_, _ARG_1_)
s050_area5.OnGamma_002_A_Generated(_ARG_0_, _ARG_1_)
end
function s050_area5.OnGamma_002_A_Generated(_ARG_0_, _ARG_1_)
-- TODO: No idea if this is the right one (multi-room gamma)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Gamma_002_A")
if _ARG_1_ ~= nil then
-- _ARG_1_.AI:AddBossDoorUnlockedOnDeath("Door014")
_ARG_1_.AI.bPlaceholder = false
Expand Down Expand Up @@ -294,6 +296,7 @@ function s050_area5.OnEnter_SetCheckpoint_Zeta_001()
Game.SetBossCheckPointNames("ST_SG_Zeta_001", "ST_SG_Zeta_001_Out", "SG_Zeta_001", "", "")
end
function s050_area5.OnZeta_001_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Zeta_001")
if _ARG_1_ ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door009")
_ARG_1_.AI.bPlaceholder = false
Expand Down
2 changes: 2 additions & 0 deletions open_samus_returns_rando/files/levels/s060_area6.lua
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ function s060_area6.OnEnter_SetCheckpoint_001_Alpha_001()
Game.SetBossCheckPointNames("ST_SG_Alpha_001", "ST_SG_Alpha_001", "SG_Alpha_001", "", "")
end
function s060_area6.OnAlpha_001_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Alpha_001")
if _ARG_1_ ~= nil and _ARG_1_.AI ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door020")
-- _ARG_1_.AI:AddBossDoor("Door021")
Expand Down Expand Up @@ -182,6 +183,7 @@ function s060_area6.OnEnter_SetCheckpoint_001_Gamma_004()
Game.SetBossCheckPointNames("ST_SG_Gamma_004", "ST_SG_Gamma_004_Out", "SG_Gamma_004", "", "")
end
function s060_area6.OnGamma_004_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Gamma_004")
if _ARG_1_ ~= nil then
_ARG_1_.AI.bPlaceholder = false
_ARG_1_.AI:AddBossCamera("CAM_Gamma")
Expand Down
3 changes: 3 additions & 0 deletions open_samus_returns_rando/files/levels/s065_area6b.lua
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ function s065_area6b.OnEnter_SetCheckpoint_001_Gamma_002()
Game.SetBossCheckPointNames("ST_SG_Gamma_002", "ST_SG_Gamma_002", "SG_Gamma_002", "", "")
end
function s065_area6b.OnGamma_002_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Gamma_002")
if _ARG_1_ ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door011")
_ARG_1_.AI.bPlaceholder = false
Expand Down Expand Up @@ -178,6 +179,7 @@ function s065_area6b.OnEnter_SetCheckpoint_001_Gamma_003()
Game.SetBossCheckPointNames("ST_SG_Gamma_003", "ST_SG_Gamma_003", "SG_Gamma_003", "", "")
end
function s065_area6b.OnGamma_003_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Gamma_003")
if _ARG_1_ ~= nil then
_ARG_1_.AI.bPlaceholder = false
_ARG_1_.AI:AddBossCamera("CAM_Gamma")
Expand Down Expand Up @@ -214,6 +216,7 @@ function s065_area6b.OnEnter_SetCheckpoint_001_Zeta_001()
Game.SetBossCheckPointNames("ST_SG_Zeta_001", "ST_SG_Zeta_001", "SG_Zeta_001", "", "")
end
function s065_area6b.OnZeta_001_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Zeta_001")
if _ARG_1_ ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door012")
_ARG_1_.AI.bPlaceholder = false
Expand Down
2 changes: 2 additions & 0 deletions open_samus_returns_rando/files/levels/s067_area6c.lua
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ function s067_area6c.OnEnter_SetCheckpoint_001_Gamma_001()
Game.SetBossCheckPointNames("ST_SG_Gamma_001", "ST_SG_Gamma_001_Out", "SG_Gamma_001", "", "")
end
function s067_area6c.OnGamma_001_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Gamma_001")
if _ARG_1_ ~= nil then
_ARG_1_.AI.bPlaceholder = false
_ARG_1_.AI:AddBossCamera("CAM_Gamma")
Expand Down Expand Up @@ -200,6 +201,7 @@ function s067_area6c.OnEnter_SetCheckpoint_001_Zeta_002()
Game.SetBossCheckPointNames("ST_SG_Zeta_002", "ST_SG_Zeta_002_Out", "SG_Zeta_002", "", "")
end
function s067_area6c.OnZeta_002_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Zeta_002")
if _ARG_1_ ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door022")
_ARG_1_.AI.bPlaceholder = false
Expand Down
2 changes: 2 additions & 0 deletions open_samus_returns_rando/files/levels/s070_area7.lua
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ function s070_area7.OnEnter_SetCheckpoint_001_Zeta_001()
Game.SetBossCheckPointNames("ST_SG_Zeta_001", "ST_SG_Zeta_001_Out", "SG_Zeta_001", "", "")
end
function s070_area7.OnZeta_001_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Zeta_001")
if _ARG_1_ ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door021")
-- _ARG_1_.AI:AddBossDoor("Door022")
Expand All @@ -197,6 +198,7 @@ function s070_area7.OnEnter_SetCheckpoint_001_Omega_001()
Game.SetBossCheckPointNames("ST_SG_Omega_001", "ST_SG_Omega_001", "SG_Omega_001", "", "")
end
function s070_area7.OnOmega_001_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Omega_001")
if _ARG_1_ ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door015")
-- _ARG_1_.AI:AddBossDoor("Door023")
Expand Down
3 changes: 3 additions & 0 deletions open_samus_returns_rando/files/levels/s090_area9.lua
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ function s090_area9.OnEnter_SetCheckpoint_001_Omega_001()
Game.SetBossCheckPointNames("ST_SG_Omega_001", "ST_SG_Omega_001", "SG_Omega_001", "", "")
end
function s090_area9.OnOmega_001_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Omega_001")
if _ARG_1_ ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door016")
_ARG_1_.AI.bPlaceholder = false
Expand Down Expand Up @@ -195,6 +196,7 @@ function s090_area9.OnEnter_SetCheckpoint_001_Omega_002()
Game.SetBossCheckPointNames("ST_SG_Omega_002", "ST_SG_Omega_002", "SG_Omega_002", "", "")
end
function s090_area9.OnOmega_002_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Omega_002")
if _ARG_1_ ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door006")
_ARG_1_.AI.bPlaceholder = false
Expand Down Expand Up @@ -243,6 +245,7 @@ function s090_area9.OnEnter_SetCheckpoint_001_Omega_003()
Game.SetBossCheckPointNames("ST_SG_Omega_003", "ST_SG_Omega_003_Out", "SG_Omega_003", "", "")
end
function s090_area9.OnOmega_003_Generated(_ARG_0_, _ARG_1_)
Scenario.SetMetroidSpawngroupOnCurrentScenario(_ARG_0_, "SG_Omega_003")
if _ARG_1_ ~= nil then
-- _ARG_1_.AI:AddBossDoor("Door015")
_ARG_1_.AI.bPlaceholder = false
Expand Down
Loading