From 5b9fd6f4c7b87b2c20906e320bcd71492282e44a Mon Sep 17 00:00:00 2001 From: Jonathan Hanon Date: Wed, 21 Nov 2018 22:40:33 -0500 Subject: [PATCH] Retro Mode Arrow Fix Added a branch to disallow the firing of an arrow without obtaining arrows in Retro Mode --- retro.asm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/retro.asm b/retro.asm index 6bd3645..a6633e0 100644 --- a/retro.asm +++ b/retro.asm @@ -38,6 +38,9 @@ DecrementArrows: DEC : STA $7EF377 : INC BRA .done .rupees + LDA $7EF340 : CMP.b #$01 : BNE .has_arrow + LDA.b #$00 : RTL + .has_arrow: LDA $7EF340 : AND.b #$01 : BEQ + LDA.b $0B99 : BNE + ; Arrow Game active and has credits left LDA.b $0B9A : BNE + ; Arrow Game active and on last arrow