Changed bonk drops to not set flag if sprite is off screen

This commit is contained in:
codemann8
2023-04-13 15:01:23 -05:00
parent c2538d44cb
commit e1fe3e1639
3 changed files with 2 additions and 1 deletions

View File

@@ -607,6 +607,7 @@ OWBonkDrops:
.mark_collected ; S = Collected, FlagBitmask, X (row + 2)
PLA : BNE + ; S = FlagBitmask, X (row + 2)
TYX : JSL Sprite_IsOnscreen : BCC +
LDX.b $8A : LDA.l OverworldEventDataWRAM,X : ORA 1,S : STA.l OverworldEventDataWRAM,X
REP #$20