add ThrownSprite_TileAndSpriteInteraction to puffstool, use gravity timer

This commit is contained in:
scawful
2024-06-17 00:39:36 -04:00
parent 3319e775c1
commit 95a6ee24cd
2 changed files with 5 additions and 1 deletions

View File

@@ -80,12 +80,13 @@ Sprite_Puffstool_Main:
JSL Sprite_Move
JSL Sprite_DamageFlash_Long
JSL ThrownSprite_TileAndSpriteInteraction_long
JSL Sprite_CheckDamageFromPlayer : BCC .no_dano
%GotoAction(1)
LDA.b #$60 : STA.w SprTimerA, X
LDA.b #$60 : STA.w SprTimerF, X
LDA.b #$20 : STA.w SprTimerF, X
.no_dano
RTS
@@ -97,6 +98,7 @@ Sprite_Puffstool_Main:
JSL Sprite_CheckIfLifted
JSL Sprite_DamageFlash_Long
JSL ThrownSprite_TileAndSpriteInteraction_long
LDA.w SprTimerA, X : BNE +
%GotoAction(0)