fix regression in digging game

This commit is contained in:
sporchia
2017-07-31 19:48:19 -04:00
parent 3fef7c61b4
commit 5a4afc775e
2 changed files with 4 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ org $3FFFFF ; <- 1FFFFF
db #$00 ; expand file to 2mb db #$00 ; expand file to 2mb
org $1FFFF8 ; timestamp rom org $1FFFF8 ; timestamp rom
dl #$20170726 dl #$20170731
;================================================================================ ;================================================================================

View File

@@ -920,7 +920,9 @@ RTL
;-------------------------------------------------------------------------------- ;--------------------------------------------------------------------------------
SpawnShovelGamePrizeSFX: SpawnShovelGamePrizeSFX:
STA $7FFE00 ; thing we wrote over 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 RTL
;-------------------------------------------------------------------------------- ;--------------------------------------------------------------------------------
@@ -929,7 +931,6 @@ RTL
;-------------------------------------------------------------------------------- ;--------------------------------------------------------------------------------
SpawnChestGamePrizeSFX: SpawnChestGamePrizeSFX:
ORA.b #$40 : STA $0403 ; thing we wrote over ORA.b #$40 : STA $0403 ; thing we wrote over
STA $FFFFFF
PHA PHA
LDA.b #$1B : STA $012F ; play puzzle sound LDA.b #$1B : STA $012F ; play puzzle sound
PLA PLA