Fix graphical issues from progressive bow

This commit is contained in:
Kevin Cathcart
2019-08-11 13:41:25 -04:00
parent 1521372996
commit c2d5f9d846
2 changed files with 1084 additions and 1083 deletions

View File

@@ -590,6 +590,7 @@ AddReceivedItemExpanded:
db $2C, $06, $0C, $38 db $2C, $06, $0C, $38
;new ;new
db $39, $3A, $3B, $3C db $39, $3A, $3B, $3C
;5x
db $18 ; Master Sword (Safe) db $18 ; Master Sword (Safe)
db $3D, $3E, $3F, $40 ; +5/+10 Bomb Arrows db $3D, $3E, $3F, $40 ; +5/+10 Bomb Arrows
db $00, $00, $00 ; 3x Programmable Item db $00, $00, $00 ; 3x Programmable Item
@@ -599,7 +600,7 @@ AddReceivedItemExpanded:
db $48, $48, $48 ; Red, Blue & Green Clocks db $48, $48, $48 ; Red, Blue & Green Clocks
db $FF, $FF, $04, $0D ; Progressive Sword, Shield, Armor & Gloves db $FF, $FF, $04, $0D ; Progressive Sword, Shield, Armor & Gloves
db $FF, $FF ; RNG Single & Multi db $FF, $FF ; RNG Single & Multi
db $FF, ; Progressive Bow db $FF ; Progressive Bow
db $FF, $FF, $FF, $FF, $FF ; Unused db $FF, $FF, $FF, $FF, $FF ; Unused
db $49, $4A, $49 ; Goal Item Single, Multi & Alt Multi db $49, $4A, $49 ; Goal Item Single, Multi & Alt Multi
db $FF, $FF, $FF ; Unused db $FF, $FF, $FF ; Unused

View File

@@ -29,7 +29,7 @@ GetSpriteID:
;-------- ;--------
TAX : LDA .gfxSlots, X ; look up item gfx TAX : LDA .gfxSlots, X ; look up item gfx
PLB : PLX PLB : PLX
CMP.b #$F9 : !BGE .specialHandling CMP.b #$F8 : !BGE .specialHandling
RTL RTL
.specialHandling .specialHandling
CMP.b #$F9 : BNE ++ ; Progressive Magic CMP.b #$F9 : BNE ++ ; Progressive Magic
@@ -168,7 +168,7 @@ GetSpritePalette:
;-------- ;--------
TAX : LDA .gfxPalettes, X ; look up item gfx TAX : LDA .gfxPalettes, X ; look up item gfx
PLB : PLX PLB : PLX
CMP.b #$FA : !BGE .specialHandling CMP.b #$F9 : !BGE .specialHandling
RTL RTL
.specialHandling .specialHandling
CMP.b #$FD : BNE ++ ; Progressive Sword CMP.b #$FD : BNE ++ ; Progressive Sword