Fix for Hera Basement key for this dungeon not displaying correctly

This commit is contained in:
codemann8
2024-03-20 17:44:29 -05:00
parent e34466e214
commit 859cfcc275

View File

@@ -617,7 +617,7 @@ SpriteKeyPrep:
CPX.b #$0A : BNE .continue ; the hera basement key is always sprite 0x0A
LDA.b LinkQuadrantH : ORA.b LinkQuadrantV : AND.b #$03 : CMP.b #$02 : BNE .continue
LDA.b #$00 : STA.w SpawnedItemFlag : STA.w SprItemFlags, X
LDA.b #$24 : STA.w SprSourceItemId, X
LDA.b #$24 : STA.w SprSourceItemId, X : STA.w SprItemReceipt, X
BRA +
.continue
LDA.w SpawnedItemIndex : STA.w SprItemIndex, X