Skip to content

Commit

Permalink
Only blink when collecting last dna
Browse files Browse the repository at this point in the history
  • Loading branch information
dyceron committed Jul 28, 2024
1 parent 95fb3ef commit 0525d0d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/open_samus_returns_rando/files/custom/scenario.lua
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,12 @@ function Scenario.UpdateDNACounter()
local currentDNA = Blackboard.GetProp("GAME", scenario .."_acquired_dna") or 0
GUILib.UpdateDNACounter(currentDNA, maxDNA)
if Blackboard.GetProp("GAME", "OBJECTIVE_COMPLETE") then
RandomizerPowerup.UpdateDNACounter()
local dnaCounter = GUI.GetDisplayObject("IngameMenuRoot.IngameMenuComposition.LowerComposition.LowerInfoComposition.DNACounter")
GUI.SetProperties(dnaCounter, {
ColorR = "0.60392",
ColorG = "0.61569",
ColorB = "0.04314",
})
end
end

Expand Down

0 comments on commit 0525d0d

Please sign in to comment.