events.asm: optimized a loop & fixed a bug

icepalacegraphics.asm: commented out a debug sta
retro.asm: check for arrows by checking arrows instead of bow
tables.asm: change default retro arrow price to match the price set by the randomizer site
This commit is contained in:
Myramong
2019-02-01 01:05:08 -04:00
parent a1dcd27102
commit ec138f4f98
4 changed files with 13 additions and 15 deletions

View File

@@ -38,9 +38,7 @@ DecrementArrows:
DEC : STA $7EF377 : INC
BRA .done
.rupees
LDA $7EF340 : CMP.b #$01 : BNE .has_arrow
LDA.b #$00 : RTL
.has_arrow:
LDA $7EF377 : BEQ .done ; don't have arrows, we're done
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