From b4328af638852e57ff2d75836266d887700bee1e Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 21 Aug 2021 23:29:29 -0400 Subject: Backported some of sigma's stuff --- Source/Randomizer.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Source/Randomizer.cpp') diff --git a/Source/Randomizer.cpp b/Source/Randomizer.cpp index 5239cd6..8ded06e 100644 --- a/Source/Randomizer.cpp +++ b/Source/Randomizer.cpp @@ -116,14 +116,16 @@ void Randomizer::Randomize() { // begin_endgame_1 - Prevent actually ending the game (Wonkavator) _memory->AddSigScan({0x83, 0x7C, 0x01, 0xD0, 0x04}, [&](int index){ - if (GLOBALS == 0x5B28C0) { // Version differences. + if (Memory::GLOBALS == 0x5B28C0) { // Version differences. index += 0x75; - } else if (GLOBALS == 0x62D0A0) { + } else if (Memory::GLOBALS == 0x62D0A0) { index += 0x86; } _memory->WriteData({index}, {0xEB}); // jz -> jmp }); + //Tutorialise(0x33AF5, 0x0A3B2); + // Tutorial Bend for (int panel : utmPerspective) { Tutorialise(panel, 0x00182); -- cgit 1.4.1