diff options
Diffstat (limited to 'Source/Randomizer.cpp')
-rw-r--r-- | Source/Randomizer.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Source/Randomizer.cpp b/Source/Randomizer.cpp index f355743..26c3416 100644 --- a/Source/Randomizer.cpp +++ b/Source/Randomizer.cpp | |||
@@ -126,7 +126,9 @@ void Randomizer::Randomize() { | |||
126 | 126 | ||
127 | _memory->ExecuteSigScans(); | 127 | _memory->ExecuteSigScans(); |
128 | 128 | ||
129 | //Tutorialise(0x33AF5, 0x0A3B2); | 129 | // Glass Factory Entry (for Mountain Blue 1 and 2) |
130 | Tutorialise(0x33AF5, 0x01A54); | ||
131 | Tutorialise(0x33AF7, 0x01A54); | ||
130 | 132 | ||
131 | // Tutorial Bend | 133 | // Tutorial Bend |
132 | for (int panel : utmPerspective) { | 134 | for (int panel : utmPerspective) { |
@@ -194,8 +196,12 @@ void Randomizer::Tutorialise(int panel1, int tutorialStraight) { | |||
194 | _memory->CopyArrayDynamicSize<int>(tutorialStraight, panel1, DECORATIONS, NUM_DECORATIONS); | 196 | _memory->CopyArrayDynamicSize<int>(tutorialStraight, panel1, DECORATIONS, NUM_DECORATIONS); |
195 | _memory->CopyArrayDynamicSize<int>(tutorialStraight, panel1, DECORATION_FLAGS, NUM_DECORATIONS); | 197 | _memory->CopyArrayDynamicSize<int>(tutorialStraight, panel1, DECORATION_FLAGS, NUM_DECORATIONS); |
196 | _memory->CopyArrayDynamicSize<int>(tutorialStraight, panel1, DECORATION_COLORS, NUM_DECORATIONS); | 198 | _memory->CopyArrayDynamicSize<int>(tutorialStraight, panel1, DECORATION_COLORS, NUM_DECORATIONS); |
197 | //_memory->CopyArrayDynamicSize<int>(tutorialStraight, panel1, REFLECTION_DATA, NUM_DOTS); | 199 | if (_memory->ReadPanelData<int>(tutorialStraight, REFLECTION_DATA)) { |
198 | _memory->WritePanelData<long long>(panel1, REFLECTION_DATA, { 0 }); | 200 | _memory->CopyArrayDynamicSize<int>(tutorialStraight, panel1, REFLECTION_DATA, NUM_DOTS); |
201 | } | ||
202 | else { | ||
203 | _memory->WritePanelData<long long>(panel1, REFLECTION_DATA, { 0 }); | ||
204 | } | ||
199 | _memory->CopyEntityData<byte>(tutorialStraight, panel1, SEQUENCE_LEN, sizeof(int)); | 205 | _memory->CopyEntityData<byte>(tutorialStraight, panel1, SEQUENCE_LEN, sizeof(int)); |
200 | _memory->CopyArrayDynamicSize<int>(tutorialStraight, panel1, SEQUENCE, SEQUENCE_LEN); | 206 | _memory->CopyArrayDynamicSize<int>(tutorialStraight, panel1, SEQUENCE, SEQUENCE_LEN); |
201 | _memory->CopyEntityData<byte>(tutorialStraight, panel1, DOT_SEQUENCE_LEN, sizeof(int)); | 207 | _memory->CopyEntityData<byte>(tutorialStraight, panel1, DOT_SEQUENCE_LEN, sizeof(int)); |