shithub: zelda3

Download patch

ref: e29fca223ac5f93992736d20c5d3d68e1c955123
parent: b70aae808d4ac2c7296b02e75cc52fc78809b886
author: Snesrev <snesrev@protonmail.com>
date: Fri Sep 23 08:03:06 EDT 2022

Fix a mismatch in the minigame chest code (Related to #113)

--- a/dungeon.c
+++ b/dungeon.c
@@ -5837,7 +5837,7 @@
   if (WORD(dung_bg2_attr_table[pos]) != 0x6363) {
     pos--;
     if (WORD(dung_bg2_attr_table[pos]) != 0x6363)
-      pos -= 2;
+      pos += 2;
   }
 
   *chest_position = pos * 2;