diff options
Diffstat (limited to 'Source/Randomizer.cpp')
-rw-r--r-- | Source/Randomizer.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/Randomizer.cpp b/Source/Randomizer.cpp index 6e6fabf..d67f153 100644 --- a/Source/Randomizer.cpp +++ b/Source/Randomizer.cpp | |||
@@ -134,6 +134,14 @@ void Randomizer::Randomize() { | |||
134 | for (int panel : squarePanels) { | 134 | for (int panel : squarePanels) { |
135 | Tutorialise(panel, 0x00064); | 135 | Tutorialise(panel, 0x00064); |
136 | } | 136 | } |
137 | // Town Laser Redirect Control | ||
138 | for (int panel : treehousePivots) { | ||
139 | Tutorialise(panel, 0x09F98); | ||
140 | |||
141 | // Mark the panel as pivotable. | ||
142 | int panelFlags = _memory->ReadEntityData<int>(panel, STYLE_FLAGS, 1)[0]; | ||
143 | _memory->WriteEntityData<int>(panel, STYLE_FLAGS, { panelFlags | 0x8000 }); | ||
144 | } | ||
137 | 145 | ||
138 | // Disable tutorial cursor speed modifications (not working?) | 146 | // Disable tutorial cursor speed modifications (not working?) |
139 | _memory->WriteEntityData<float>(0x00295, CURSOR_SPEED_SCALE, { 1.0 }); | 147 | _memory->WriteEntityData<float>(0x00295, CURSOR_SPEED_SCALE, { 1.0 }); |