From 5a4afc775efd7e0edc134ae49b5e3a3687f2c6bc Mon Sep 17 00:00:00 2001 From: sporchia Date: Mon, 31 Jul 2017 19:48:19 -0400 Subject: [PATCH] fix regression in digging game --- LTTP_RND_GeneralBugfixes.asm | 2 +- inventory.asm | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/LTTP_RND_GeneralBugfixes.asm b/LTTP_RND_GeneralBugfixes.asm index 5520ce7..f89d446 100644 --- a/LTTP_RND_GeneralBugfixes.asm +++ b/LTTP_RND_GeneralBugfixes.asm @@ -26,7 +26,7 @@ org $3FFFFF ; <- 1FFFFF db #$00 ; expand file to 2mb org $1FFFF8 ; timestamp rom -dl #$20170726 +dl #$20170731 ;================================================================================ diff --git a/inventory.asm b/inventory.asm index 8f43822..5689a59 100644 --- a/inventory.asm +++ b/inventory.asm @@ -920,7 +920,9 @@ RTL ;-------------------------------------------------------------------------------- SpawnShovelGamePrizeSFX: STA $7FFE00 ; thing we wrote over - LDA.b #$1B : STA $012F ; play puzzle sound + PHA + LDA.b #$1B : STA $012F ; play puzzle sound + PLA RTL ;-------------------------------------------------------------------------------- @@ -929,7 +931,6 @@ RTL ;-------------------------------------------------------------------------------- SpawnChestGamePrizeSFX: ORA.b #$40 : STA $0403 ; thing we wrote over - STA $FFFFFF PHA LDA.b #$1B : STA $012F ; play puzzle sound PLA