Retro Mode Arrow Fix

Added a branch to disallow the firing of an arrow without obtaining arrows in Retro Mode
This commit is contained in:
Jonathan Hanon
2018-11-21 22:40:33 -05:00
committed by GitHub
parent ee437d8388
commit 5b9fd6f4c7

View File

@@ -38,6 +38,9 @@ DecrementArrows:
DEC : STA $7EF377 : INC DEC : STA $7EF377 : INC
BRA .done BRA .done
.rupees .rupees
LDA $7EF340 : CMP.b #$01 : BNE .has_arrow
LDA.b #$00 : RTL
.has_arrow:
LDA $7EF340 : AND.b #$01 : BEQ + LDA $7EF340 : AND.b #$01 : BEQ +
LDA.b $0B99 : BNE + ; Arrow Game active and has credits left LDA.b $0B99 : BNE + ; Arrow Game active and has credits left
LDA.b $0B9A : BNE + ; Arrow Game active and on last arrow LDA.b $0B9A : BNE + ; Arrow Game active and on last arrow