ref: e272415f12eb163829c74c0f61b9b5854c5542be
parent: b23a298b545565b947c57684fc9f055028bc5429
author: Snesrev <snesrev@protonmail.com>
date: Fri Oct 7 19:31:39 EDT 2022
Clear Mosaic variable when loading a save (#126) Bug report: If you save/quit in the middle of a mosaic effect, such as being electrocuted by a buzz blob, the resumed game will skip the location prompt and start in the sanctuary.
--- a/messaging.c
+++ b/messaging.c
@@ -2220,6 +2220,12 @@
word_7E021F = 0x7f;
word_7E0221 = 0xffff;
+ // If you save / quit in the middle of a mosaic effect, such as
+ // being electrocuted by a buzz blob, the resumed game will skip
+ // the location prompt and start in the sanctuary.
+ if (enhanced_features0 & kFeatures0_MiscBugFixes)
+ mosaic_level = 0;
+
hud_var1 = 128;
main_module_index = 5;
submodule_index = 0;