shithub: zelda3

Download patch

ref: 3388cedba97145973d5f74dd713efd0355efe37f
parent: 9aa38e0a65d48bd8265e497a18b971f3047f0e2b
author: FitzRoyX <57089001+FitzRoyX@users.noreply.github.com>
date: Sun Mar 5 13:12:20 EST 2023

fix secondary exploration glitch (#126) (#180)


--- a/player.c
+++ b/player.c
@@ -1589,6 +1589,11 @@
     if (tiledetect_which_y_pos[0] >= link_y_coord)
       return;
   }
+  //exploration glitch could also be armed without quitting
+  //by jumping off a dungeon ledge into an access pit
+  if (enhanced_features0 & kFeatures0_MiscBugFixes) {
+    about_to_jump_off_ledge = 0;
+  }
   link_y_coord = tiledetect_which_y_pos[0];
   link_animation_steps = 0;
   link_speed_modifier = 0;