Zarby's arrow code, will need to be made configurable

probably just based on cost per arrow, or a flag and word for each
cost, silvers/wooden
This commit is contained in:
sporchia
2018-02-13 08:37:46 -05:00
parent b563d8d6d0
commit 6a6b22c3d5
3 changed files with 40 additions and 0 deletions

View File

@@ -2049,3 +2049,15 @@ org $00DF62 ; <- Bank00.asm:4672 (LDX.w #$0000 : LDY.w #$0040)
org $00DF6E ; <- A few instructions later, right after JSR Do3To4High16Bit
ReloadingFloorsCancel:
;================================================================================
;================================================================================
; Hook bow use - to use rupees instead of actual arrows
;--------------------------------------------------------------------------------
org $07A055
NOP #$12 ; Remove archery minigame code
org $07A06C ; <- Bank07.asm:5215 (LDA $7EF377) (Skip #$02) (DEC A : LDA $7EF377)
JSL CheckEnoughRupeeArrows
skip #$02 ;Skip the BEQ
NOP #$0B ;Remove hud update code for bow/arrow kinda useless / Remove decrease arrow code
;================================================================================