Fixed Apple GFX by using other VRAM slots in the rotation

This commit is contained in:
codemann8
2023-05-09 21:22:31 -05:00
parent 06d22255ef
commit 1b564d99fc
6 changed files with 56 additions and 14 deletions

View File

@@ -816,6 +816,7 @@ Shopkeeper_DrawNextItem:
CMP.b #$2E : BNE + : JMP .potion
+ CMP.b #$2F : BNE + : JMP .potion
+ CMP.b #$30 : BNE + : JMP .potion
+ CMP.b #$B1 : BNE + : BRA .apple
+ CMP.b #$B2 : BNE + : BRA .fairy
+ CMP.b #$B5 : BNE + : BRA .goodbee
+ CMP.b #$34 : BCC + : CMP.b #$36+1 : BCS +
@@ -857,6 +858,10 @@ Shopkeeper_DrawNextItem:
LDA.b #$E4 ; good bee is #$E4/D4 because it's already there in VRAM
STA.b $0E
BRA .vramLoc
.apple
LDA.b #$E5 ; apple is #$E5 because it's already there in VRAM
STA.b $0E
BRA .vramLoc
.potion
LDA.b #$C0 ; potion is #$C0 because it's already there in VRAM
+