shithub: zelda3

Download patch

ref: d5e99ba5bf035d6f454b751d5697c981a33dd4c7
parent: 18f471c82d32259000238b662fb5bb8ddbfa45f6
author: Snesrev <[email protected]>
date: Mon Sep 5 21:51:08 EDT 2022

Remove some testing code commited by mistake

--- a/messaging.c
+++ b/messaging.c
@@ -1313,12 +1313,12 @@
 
   if (overworld_map_flags) {
     int k = (joypad1H_last & 12) >> 1;
-    if (BG1VOFS_copy2 != (uint16)kOverworldMap_Table2[k]||1) {
+    if (BG1VOFS_copy2 != (uint16)kOverworldMap_Table2[k]) {
       BG1VOFS_copy2 += kOverworldMap_Table3[k];
       M7Y_copy = BG1VOFS_copy2 + 0x100;
     }
     k = (joypad1H_last & 3) * 2 + 1;
-    if (BG1HOFS_copy2 != (uint16)kOverworldMap_Table2[k]||1)
+    if (BG1HOFS_copy2 != (uint16)kOverworldMap_Table2[k])
       BG1HOFS_copy2 += kOverworldMap_Table3[k];
   }
   WorldMap_HandleSprites();