Merge pull request #91 from CaitSith2/rupee-chest-game-fix

Low stakes and high stakes chest game no longer increments item counter.
This commit is contained in:
KatDevsGames
2020-09-20 01:57:15 -04:00
committed by GitHub
2 changed files with 9 additions and 0 deletions

View File

@@ -1270,6 +1270,10 @@ JSL.l RigDigRNG
;--------------------------------------------------------------------------------
org $01EE94 ; <- EE94 - Bank01.asm : 14121
JSL.l RigChestRNG
org $01EEF5 ; <- EEF5 - Bank01.asm
JSL.l FixChestCounterForChestGame
org $01EEFD ; <- EEFD - Bank01.asm
JSL.l FixChestCounterForChestGame
;--------------------------------------------------------------------------------
org $1ED63E ; <- F563E - sprite_agahnim.asm
JSL RNG_Agahnim1

View File

@@ -36,6 +36,11 @@ RTL
+
RTL
;--------------------------------------------------------------------------------
FixChestCounterForChestGame:
JSL.l DecrementItemCounter
JSL $0DBA71
RTL
;--------------------------------------------------------------------------------
RNG_Lanmolas1:
LDA.b #$00 : BRA _rng_done
RNG_Moldorm1: