Remove the sprite spawn delay when bonking prizes

This commit is contained in:
codemann8
2022-11-08 18:52:11 -06:00
parent 0174e5dbf5
commit 1e2a0c7774
2 changed files with 12 additions and 0 deletions

View File

@@ -220,6 +220,12 @@ MaybeMarkDigSpotCollected:
PLP : PLA
RTL
;--------------------------------------------------------------------------------
HeartPieceSpawnDelayFix:
; Fix the delay when spawning a HeartPiece sprite
JSL.l Sprite_CheckIfPlayerPreoccupied : BCS + ; what we moved from $05F037
JSL.l Sprite_CheckDamageToPlayerSameLayerLong : RTL ; what we wrote over
+ CLC : RTL
;--------------------------------------------------------------------------------
macro GetPossiblyEncryptedItem(ItemLabel,TableLabel)
LDA IsEncrypted : BNE ?encrypted
LDA.l <ItemLabel>