fix: minor drops shouldn't drop if outside of proper dungeon
This commit is contained in:
@@ -433,9 +433,7 @@ RevealSpriteDrop:
|
|||||||
JMP DoNormalDrop
|
JMP DoNormalDrop
|
||||||
|
|
||||||
CheckIfDropValid:
|
CheckIfDropValid:
|
||||||
LDA.l SprItemFlags, X : BIT #$80 : BNE .do_the_drop ; it's a minor item
|
|
||||||
JSR CheckIfDropsInThisLocation : BCC DoNormalDrop
|
JSR CheckIfDropsInThisLocation : BCC DoNormalDrop
|
||||||
.do_the_drop
|
|
||||||
;This section sets up the drop
|
;This section sets up the drop
|
||||||
LDA.b #$02 : STA.l SpawnedItemFlag
|
LDA.b #$02 : STA.l SpawnedItemFlag
|
||||||
STX.w SpawnedItemIndex
|
STX.w SpawnedItemIndex
|
||||||
|
|||||||
Reference in New Issue
Block a user