From 9552a5df4c9d267b788211a2316e7fd86effa7d7 Mon Sep 17 00:00:00 2001 From: jbzdarkid Date: Sun, 9 Dec 2018 12:19:53 -0800 Subject: un-fix what was not actuall broken, make challenge RNG better --- Source/Randomizer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Source/Randomizer.cpp') diff --git a/Source/Randomizer.cpp b/Source/Randomizer.cpp index 3078b22..baae8c3 100644 --- a/Source/Randomizer.cpp +++ b/Source/Randomizer.cpp @@ -7,7 +7,6 @@ * Speed up *everything* ? Or maybe we'll just stop using this setting entirely. - * Disable "power off on fail" for challenge * Add setting for "Don't reset the challenge seed on new challenge" * Don't rerandomize anything outside of challenge on re-click * Change re-randomization prevention? @@ -234,6 +233,9 @@ void Randomizer::RandomizeMountain() { void Randomizer::RandomizeChallenge() { ChallengeRandomizer cr(_memory, Random::RandInt(1, 0x7FFFFFFF)); // 0 will trigger an "RNG not initialized" block + for (int panel : challengePanels) { + _memory->WritePanelData(panel, POWER_OFF_ON_FAIL, {0}); + } } void Randomizer::RandomizeAudioLogs() { -- cgit 1.4.1