Fix Rando Water Temple Softlock (#665)

We use 3DS logic to generate item placement, but didn't have this specific door in Water Temple unlocked from the beginning like 3DS does.

This meant that if people took specific paths through the temple, they could softlock themselves by missing a key.
This commit is contained in:
aMannus 2022-07-13 00:55:01 +02:00 committed by GitHub
parent 3de58774ba
commit c9fdf8a480
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -826,6 +826,11 @@ void Sram_InitSave(FileChooseContext* fileChooseCtx) {
// Go away ruto (water temple first cutscene)
gSaveContext.sceneFlags[05].swch |= (1 << 0x10);
// Opens locked Water Temple door to prevent softlocks
// West door on the middle level that leads to the water raising thing
// Happens in 3DS rando and N64 rando as well
gSaveContext.sceneFlags[05].swch |= (1 << 0x15);
// Skip intro cutscene when bombing mud wall in Dodongo's cavern
// this also makes the lower jaw render, and the eyes react to explosives
Flags_SetEventChkInf(0xB0);