shithub: zelda3

Download patch

ref: 9b4d7febd218e0a80a770ad5342fb4bc36d190d5
parent: e463564ffe1d86ce13f722e88cfe1154708ed7d2
author: Snesrev <snesrev@protonmail.com>
date: Sun Mar 5 20:06:53 EST 2023

Fix save menu lockout when dying after medallion cast (#126)

Co-authored-by: FitzRoyX <57089001+FitzRoyX@users.noreply.github.com>

--- a/player.c
+++ b/player.c
@@ -6306,6 +6306,11 @@
 }
 
 void Link_ResetProperties_C() {  // 87f1fa
+  if (enhanced_features0 & kFeatures0_MiscBugFixes) {
+    // Fix save menu lockout when dying after medallion cast (#126)
+    flag_custom_spell_anim_active = 0;
+  }
+
   tile_action_index = 0;
   state_for_spin_attack = 0;
   step_counter_for_spin_attack = 0;