diff options
| author | Philip Dubé <serprex@users.noreply.github.com> | 2025-11-04 01:49:11 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-03 18:49:11 -0700 |
| commit | 0014f406762bcbff75b5c69a09a0496050078498 (patch) | |
| tree | 243f48a74c956257dc1f72089a5d4a16543c9b7e | |
| parent | f015a1b339c8ecb53e6d9b4e9347e2d13d739837 (diff) | |
rando BOTWMQ: only turn the water level crystal switch into toggle (#5902)
| -rw-r--r-- | soh/soh/Enhancements/randomizer/hook_handlers.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/soh/soh/Enhancements/randomizer/hook_handlers.cpp b/soh/soh/Enhancements/randomizer/hook_handlers.cpp index 04ce7f1c8..82a9336fa 100644 --- a/soh/soh/Enhancements/randomizer/hook_handlers.cpp +++ b/soh/soh/Enhancements/randomizer/hook_handlers.cpp @@ -2187,7 +2187,8 @@ void RandomizerOnActorInitHandler(void* actorRef) { } // Turn MQ switch into toggle - if (actor->id == ACTOR_OBJ_SWITCH && gPlayState->sceneNum == SCENE_BOTTOM_OF_THE_WELL && (actor->params & 7) == 3) { + if (actor->id == ACTOR_OBJ_SWITCH && gPlayState->sceneNum == SCENE_BOTTOM_OF_THE_WELL && + (actor->params & 0x3f07) == 0x303) { auto dungeon = OTRGlobals::Instance->gRandoContext->GetDungeons()->GetDungeonFromScene(SCENE_BOTTOM_OF_THE_WELL); if (dungeon->IsMQ()) { |
