shithub: zelda3

Download patch

ref: c136d2c85d73975672c73b67aa870a2c42fd4ed5
parent: 97f28c534d3e54af2d1ff106fb10a03b7178482f
author: Snesrev <snesrev@protonmail.com>
date: Mon Oct 17 20:11:09 EDT 2022

For TurnWhileDashing, fix speed after touching a staircase (Fixes #137)

--- a/player.c
+++ b/player.c
@@ -1274,6 +1274,10 @@
     LinkState_ExitingDash();
     return;
   }
+
+  if (link_speed_setting == 0 && (enhanced_features0 & kFeatures0_TurnWhileDashing))
+    link_speed_setting = 16;
+
   uint8 dir = force_move_any_direction & 0xf;
   if (dir == 0)
     dir = kDashTab2[link_direction_facing >> 1];