From cba62e46559edef718d84b4bb88f13a697d5a199 Mon Sep 17 00:00:00 2001 From: Myramong Date: Sun, 10 Feb 2019 23:34:06 -0400 Subject: [PATCH] minor cleanup of previous commit --- retro.asm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/retro.asm b/retro.asm index 50276d2..2278dff 100644 --- a/retro.asm +++ b/retro.asm @@ -39,14 +39,12 @@ DecrementArrows: BRA .done .rupees REP #$20 - LDA.b $A0 : CMP #$0111 : BNE .not_archery_game - LDA.b $A2 : BNE .not_archery_game ; in overworld - SEP #$20 + LDA.b $A0 : CMP #$0111 : SEP #$20 : BNE .not_archery_game + LDA.b $1B : BEQ .not_archery_game ; in overworld LDA.w $0B9A : BEQ .shoot_arrow ; arrow game active LDA.b #$00 : BRA .done .not_archery_game - SEP #$20 LDA.l $7EF377 : BNE .shoot_arrow ; check if we have arrows BRA .done