about summary refs log tree commit diff stats
path: root/Source/ChallengeRandomizer.cpp
diff options
context:
space:
mode:
authorjbzdarkid <jbzdarkid@gmail.com>2018-12-09 12:19:53 -0800
committerjbzdarkid <jbzdarkid@gmail.com>2018-12-09 12:19:53 -0800
commit9552a5df4c9d267b788211a2316e7fd86effa7d7 (patch)
treecd1c65f31ef160bbee070011934efddf22322f93 /Source/ChallengeRandomizer.cpp
parent4ad724eaae7be3780b5fb891b391bbf4ef26f410 (diff)
downloadwitness-tutorializer-9552a5df4c9d267b788211a2316e7fd86effa7d7.tar.gz
witness-tutorializer-9552a5df4c9d267b788211a2316e7fd86effa7d7.tar.bz2
witness-tutorializer-9552a5df4c9d267b788211a2316e7fd86effa7d7.zip
un-fix what was not actuall broken, make challenge RNG better
Diffstat (limited to 'Source/ChallengeRandomizer.cpp')
-rw-r--r--Source/ChallengeRandomizer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/ChallengeRandomizer.cpp b/Source/ChallengeRandomizer.cpp index fcd4e4a..1ecfdd3 100644 --- a/Source/ChallengeRandomizer.cpp +++ b/Source/ChallengeRandomizer.cpp
@@ -94,8 +94,8 @@ ChallengeRandomizer::ChallengeRandomizer(const std::shared_ptr<Memory>& memory,
94 }); 94 });
95 // Entity_Record_Player::reroll_lotus_eater_stuff 95 // Entity_Record_Player::reroll_lotus_eater_stuff
96 _memory->AddSigScan({0xB8, 0xAB, 0xAA, 0xAA, 0xAA, 0x41, 0xC1, 0xE8}, [&](int index) { 96 _memory->AddSigScan({0xB8, 0xAB, 0xAA, 0xAA, 0xAA, 0x41, 0xC1, 0xE8}, [&](int index) {
97 AdjustRng(index - 0x52); 97 AdjustRng(index - 0x13);
98 AdjustRng(index - 0xB); 98 AdjustRng(index + 0x34);
99 }); 99 });
100 100
101 // These disable the random locations on timer panels, which would otherwise increment the RNG. 101 // These disable the random locations on timer panels, which would otherwise increment the RNG.