shithub: zelda3

Download patch

ref: 7bb7bf23e83e2c3f870b92d31d25ddc917aeb04f
parent: 5e5a1587e14b0e6fc13070231795e4634d0db6b9
author: Snesrev <snesrev@protonmail.com>
date: Sun Oct 16 23:12:15 EDT 2022

Super Bomb not working (Fixes  #154)

--- a/ancilla.c
+++ b/ancilla.c
@@ -5376,11 +5376,11 @@
     }
   }
   if (ancilla_item_to_link[k] == 3 && ancilla_arr3[k] == 1) {
+    // Changed so this is reset elsewhere. Some code depends on the value 13.
+    uint8 old = (enhanced_features0 & kFeatures0_MiscBugFixes) ? follower_indicator : 0;
+    follower_indicator = 13;
     Bomb_CheckForDestructibles(Ancilla_GetX(k), Ancilla_GetY(k), 0); // r14?
-
-    // Changed so this is reset elsewhere
-    if (!(enhanced_features0 & kFeatures0_MiscBugFixes))
-      follower_indicator = 0;
+    follower_indicator = old;
   }
 }