about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--WitnessRandomizer/WitnessRandomizer.cpp17
1 files changed, 10 insertions, 7 deletions
diff --git a/WitnessRandomizer/WitnessRandomizer.cpp b/WitnessRandomizer/WitnessRandomizer.cpp index 0135cc9..52efcf2 100644 --- a/WitnessRandomizer/WitnessRandomizer.cpp +++ b/WitnessRandomizer/WitnessRandomizer.cpp
@@ -5,16 +5,14 @@
5 * Treehouse pivots *should* work, but I need to not copy style_flags. 5 * Treehouse pivots *should* work, but I need to not copy style_flags.
6 This seems to cause crashes when pivots appear elsewhere in the world. 6 This seems to cause crashes when pivots appear elsewhere in the world.
7 * Some panels are impossible casually: (idc, I think) 7 * Some panels are impossible casually: (idc, I think)
8 * Shadows burn marks are not appearing
9 ** Town Stars, Invisible dots 8 ** Town Stars, Invisible dots
10 * Something is wrong with jungle 9 * Shadows burn marks are not appearing
10 * Something is wrong with jungle re: softlocks
11 * FEATURES: 11 * FEATURES:
12 * SWAP_TARGETS should still require the full panel sequence (and have ways to prevent softlocks?) 12 * SWAP_TARGETS should still require the full panel sequence (and have ways to prevent softlocks?)
13 ** Think about: Jungle 13 ** Think about: Jungle
14 ** Hard: Monastery 14 ** Hard: Monastery
15 ** Do: Challenge 15 ** Do: Challenge
16 * Block swamp snipe w/ distance gate
17 * Turn off shadows 8
18 * Randomize audio logs 16 * Randomize audio logs
19 * Swap sounds in jungle (along with panels) -- maybe impossible 17 * Swap sounds in jungle (along with panels) -- maybe impossible
20 * Make orange 7 (all of oranges?) hard. Like big = hard. 18 * Make orange 7 (all of oranges?) hard. Like big = hard.
@@ -133,19 +131,24 @@ int main(int argc, char** argv)
133 131
134WitnessRandomizer::WitnessRandomizer() 132WitnessRandomizer::WitnessRandomizer()
135{ 133{
134 // Turn off desert surface 8
135 WritePanelData<float>(0x09F94, POWER, {0.0, 0.0});
136 // Turn off desert flood final 136 // Turn off desert flood final
137 WritePanelData<float>(0x18076, POWER, {0.0f, 0.0f}); 137 WritePanelData<float>(0x18076, POWER, {0.0, 0.0});
138 // Change desert floating target to desert flood final 138 // Change desert floating target to desert flood final
139 WritePanelData<int>(0x17ECA, TARGET, {0x18077}); 139 WritePanelData<int>(0x17ECA, TARGET, {0x18077});
140 140
141 // Distance-gate shadows laser to prevent sniping through the bars 141 // Distance-gate shadows laser to prevent sniping through the bars
142 WritePanelData<float>(0x19650, MAX_BROADCAST_DISTANCE, {2.5f}); 142 WritePanelData<float>(0x19650, MAX_BROADCAST_DISTANCE, {2.5});
143 // Change the shadows tutorial cable to only activate avoid 143 // Change the shadows tutorial cable to only activate avoid
144 WritePanelData<int>(0x319A8, CABLE_TARGET_2, {0}); 144 WritePanelData<int>(0x319A8, CABLE_TARGET_2, {0});
145 // Change shadows avoid 8 to power shadows follow 145 // Change shadows avoid 8 to power shadows follow
146 WritePanelData<int>(0x1972F, TARGET, {0x1C34C}); 146 WritePanelData<int>(0x1972F, TARGET, {0x1C34C});
147 147
148 // Disable tutorial cursor speed modifications 148 // Distance-gate swamp snipe 1 to prevent RNG swamp snipe
149 WritePanelData<float>(0x17C05, MAX_BROADCAST_DISTANCE, {5.0});
150
151 // Disable tutorial cursor speed modifications (not working?)
149 WritePanelData<float>(0x00295, CURSOR_SPEED_SCALE, {1.0}); 152 WritePanelData<float>(0x00295, CURSOR_SPEED_SCALE, {1.0});
150 WritePanelData<float>(0x0C373, CURSOR_SPEED_SCALE, {1.0}); 153 WritePanelData<float>(0x0C373, CURSOR_SPEED_SCALE, {1.0});
151 WritePanelData<float>(0x00293, CURSOR_SPEED_SCALE, {1.0}); 154 WritePanelData<float>(0x00293, CURSOR_SPEED_SCALE, {1.0});