From 0525d0d9d3818eb30e99631d106bb417e2ebadd0 Mon Sep 17 00:00:00 2001 From: dyceron Date: Sun, 28 Jul 2024 14:48:49 -0400 Subject: [PATCH] Only blink when collecting last dna --- src/open_samus_returns_rando/files/custom/scenario.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/open_samus_returns_rando/files/custom/scenario.lua b/src/open_samus_returns_rando/files/custom/scenario.lua index b213cdc..58ad832 100644 --- a/src/open_samus_returns_rando/files/custom/scenario.lua +++ b/src/open_samus_returns_rando/files/custom/scenario.lua @@ -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