Fixed issue where bonk drops were drawing narrow sprites 4 pixels to the right

This commit is contained in:
codemann8
2023-05-14 17:55:14 -05:00
parent 9c08588d92
commit b170620285

View File

@@ -294,6 +294,7 @@ DrawSlottedTile:
BRA .draw
+ ; narrow
LDA.w $0E20, X : AND.w #$00FF : CMP.w #$003B : BEQ .draw ; bonk item
LDA.w $0ED0, X : AND.w #$00FF : BNE .draw ; bonk drop check
LDA.w #$0004
STA.w !SPRITE_DYNAMIC_OAM : STA.w !SPRITE_DYNAMIC_OAM+8