ref: c11300e66940377c5d7266dae33859ff363572ed
parent: 76abb96b7be5b88adf2151ccaf0179055217ee3d
author: Snesrev <[email protected]>
date: Tue Sep 13 09:24:35 EDT 2022
Crash in Turtle Rock dungeon (fixes #87)
--- a/dungeon.c
+++ b/dungeon.c
@@ -5101,8 +5101,12 @@
m &= ~kUpperBitmasks[j];
if (m != dung_door_opened_incl_adjacent) {
dung_door_opened_incl_adjacent = m;
- // 81:D01F
- assert(0);
+ DrawEyeWatchDoor(j);
+ Dungeon_PrepOverlayDma_nextPrep(0, dung_door_tilemap_address[j]);
+ Dungeon_LoadToggleDoorAttr_OtherEntry(j);
+ nmi_copy_packets_flag = 1;
+ sound_effect_2 = 21;
+ return;
}
}