shithub: zelda3

Download patch

ref: ad493b795d276bc6e882712114d4d48a07a00ae2
parent: d1248d9a7336c37599283bfca157fba4c5a2cdb7
author: Snesrev <snesrev@protonmail.com>
date: Fri Sep 2 16:54:01 EDT 2022

Fixed messed up X coordinate on spin attack. Fixes #19

--- a/player.c
+++ b/player.c
@@ -2751,7 +2751,7 @@
       if (ancilla_type[i] == 0x2a || ancilla_type[i] == 0x2b)
         ancilla_type[i] = 0;
     } while (--i >= 0);
-    link_x_coord &= 0xff;
+    link_z_coord &= 0xff;
     link_cant_change_direction &= ~1;
     link_delay_timer_spin_attack = 0;
     button_b_frames = 0;