fix spacing and retro arrow game money making
This commit is contained in:
@@ -39,6 +39,8 @@ DecrementArrows:
|
||||
BRA .done
|
||||
.rupees
|
||||
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
|
||||
LDA.b #$00 : RTL
|
||||
+
|
||||
PHX
|
||||
@@ -63,10 +65,11 @@ ArrowGame:
|
||||
LDA.l ArrowMode : BNE .rupees
|
||||
.normal
|
||||
LDA $7EF377 : INC #2 : STA $7EF377 ; increment arrow count (by 2 for some reason)
|
||||
RTL
|
||||
.rupees
|
||||
PHX
|
||||
REP #$20 ; set 16-bit accumulator
|
||||
PHA : LDA $7EF340 : DEC : AND #$0002 : TAX : PLA
|
||||
LDA $7EF340 : DEC : AND #$0002 : TAX
|
||||
LDA $7EF360 : !ADD.l ArrowModeWoodArrowCost, X : STA $7EF360
|
||||
SEP #$20 ; set 8-bit accumulator
|
||||
PLX
|
||||
|
||||
Reference in New Issue
Block a user