about summary refs log tree commit diff stats
path: root/Source/Randomizer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Randomizer.cpp')
-rw-r--r--Source/Randomizer.cpp6
1 files changed, 4 insertions, 2 deletions
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() {
116 116
117 // begin_endgame_1 - Prevent actually ending the game (Wonkavator) 117 // begin_endgame_1 - Prevent actually ending the game (Wonkavator)
118 _memory->AddSigScan({0x83, 0x7C, 0x01, 0xD0, 0x04}, [&](int index){ 118 _memory->AddSigScan({0x83, 0x7C, 0x01, 0xD0, 0x04}, [&](int index){
119 if (GLOBALS == 0x5B28C0) { // Version differences. 119 if (Memory::GLOBALS == 0x5B28C0) { // Version differences.
120 index += 0x75; 120 index += 0x75;
121 } else if (GLOBALS == 0x62D0A0) { 121 } else if (Memory::GLOBALS == 0x62D0A0) {
122 index += 0x86; 122 index += 0x86;
123 } 123 }
124 _memory->WriteData<byte>({index}, {0xEB}); // jz -> jmp 124 _memory->WriteData<byte>({index}, {0xEB}); // jz -> jmp
125 }); 125 });
126 126
127 //Tutorialise(0x33AF5, 0x0A3B2);
128
127 // Tutorial Bend 129 // Tutorial Bend
128 for (int panel : utmPerspective) { 130 for (int panel : utmPerspective) {
129 Tutorialise(panel, 0x00182); 131 Tutorialise(panel, 0x00182);