Skip to content

Commit

Permalink
Unlock Surface Chozo Seal by default
Browse files Browse the repository at this point in the history
  • Loading branch information
dyceron committed Sep 30, 2023
1 parent 3e41735 commit db377d1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions open_samus_returns_rando/files/levels/s000_surface.lua
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,9 @@ function s000_surface.OnSubAreaChange(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4
-- s000_surface.LaunchFirstTimeChozoStatuePresentation()
--elseif _ARG_0_ == "collision_camera_016" and _ARG_2_ == "collision_camera_002" and not Scenario.ReadFromBlackboard("MeleeTutoPlayed", false) then
-- s000_surface.LaunchMeleeTutoCutscene()
--elseif _ARG_0_ == "collision_camera_003" and _ARG_2_ == "collision_camera_004" and not Scenario.ReadFromBlackboard("FirstTimeDNAStatuePlayed", false) then
-- s000_surface.LaunchFirstTimeDNAStatuePresentation()
if _ARG_2_ == "collision_camera_004" and not Scenario.ReadFromBlackboard("FirstTimeDNAStatuePlayed", false) then
s000_surface.LaunchFirstTimeDNAStatuePresentation()
end
--elseif _ARG_0_ == "collision_camera_014" and _ARG_2_ == "collision_camera_023" and not Scenario.ReadFromBlackboard("IntroMetroidLarvaSurfacePlayed", false) then
-- s000_surface.LaunchIntroMetroidLarvaSurfacePresentation()
--end
Expand Down Expand Up @@ -502,8 +503,9 @@ function s000_surface.OnSkipPlanetArrival()
end
function s000_surface.LaunchFirstTimeDNAStatuePresentation()
Scenario.WriteToBlackboard("FirstTimeDNAStatuePlayed", "b", true)
Game.AddEntityToUpdateInCutscene("LE_ChozoUnlockAreaDNA")
Game.LaunchCutscene("cutscenes/introdnastatue/takes/01/introdnastatue01.bmscu")
Game.OnDNAMechApproached("LE_ChozoUnlockAreaDNA", 1)
Game.GetEntity("LE_ChozoUnlockAreaDNA").USABLE:SetHintUseDNAExecuted()
-- Game.LaunchCutscene("cutscenes/introdnastatue/takes/01/introdnastatue01.bmscu")
if Game.GetEntity("TG_Intro_DNAStatue") ~= nil then
Game.GetEntity("TG_Intro_DNAStatue").TRIGGER:DisableTrigger()
end
Expand Down

0 comments on commit db377d1

Please sign in to comment.