add ThrownSprite_TileAndSpriteInteraction to puffstool, use gravity timer
This commit is contained in:
@@ -80,12 +80,13 @@ Sprite_Puffstool_Main:
|
|||||||
|
|
||||||
JSL Sprite_Move
|
JSL Sprite_Move
|
||||||
JSL Sprite_DamageFlash_Long
|
JSL Sprite_DamageFlash_Long
|
||||||
|
JSL ThrownSprite_TileAndSpriteInteraction_long
|
||||||
|
|
||||||
JSL Sprite_CheckDamageFromPlayer : BCC .no_dano
|
JSL Sprite_CheckDamageFromPlayer : BCC .no_dano
|
||||||
|
|
||||||
%GotoAction(1)
|
%GotoAction(1)
|
||||||
LDA.b #$60 : STA.w SprTimerA, X
|
LDA.b #$60 : STA.w SprTimerA, X
|
||||||
LDA.b #$60 : STA.w SprTimerF, X
|
LDA.b #$20 : STA.w SprTimerF, X
|
||||||
.no_dano
|
.no_dano
|
||||||
|
|
||||||
RTS
|
RTS
|
||||||
@@ -97,6 +98,7 @@ Sprite_Puffstool_Main:
|
|||||||
|
|
||||||
JSL Sprite_CheckIfLifted
|
JSL Sprite_CheckIfLifted
|
||||||
JSL Sprite_DamageFlash_Long
|
JSL Sprite_DamageFlash_Long
|
||||||
|
JSL ThrownSprite_TileAndSpriteInteraction_long
|
||||||
|
|
||||||
LDA.w SprTimerA, X : BNE +
|
LDA.w SprTimerA, X : BNE +
|
||||||
%GotoAction(0)
|
%GotoAction(0)
|
||||||
|
|||||||
@@ -390,6 +390,8 @@ Sprite_SetSpawnedCoordinates = $09AE64
|
|||||||
|
|
||||||
Guard_ParrySwordAttacks = $06EB5E
|
Guard_ParrySwordAttacks = $06EB5E
|
||||||
|
|
||||||
|
ThrownSprite_TileAndSpriteInteraction_long = $06DFF2
|
||||||
|
|
||||||
; =========================================================
|
; =========================================================
|
||||||
; Local functions which may be useful for sprites
|
; Local functions which may be useful for sprites
|
||||||
; Sprite_AttemptZapDamage - 06EC02
|
; Sprite_AttemptZapDamage - 06EC02
|
||||||
|
|||||||
Reference in New Issue
Block a user