add puffstool spore subtype
This commit is contained in:
@@ -32,10 +32,18 @@
|
|||||||
|
|
||||||
; =========================================================
|
; =========================================================
|
||||||
|
|
||||||
|
pushpc
|
||||||
|
org $06DBB5
|
||||||
|
db $00 ; Puffstool single small char
|
||||||
|
pullpc
|
||||||
|
|
||||||
Sprite_Puffstool_Long:
|
Sprite_Puffstool_Long:
|
||||||
{
|
{
|
||||||
PHB : PHK : PLB
|
PHB : PHK : PLB
|
||||||
|
|
||||||
|
LDA.w SprSubtype, X : BEQ +
|
||||||
|
JSL Sprite_PrepAndDrawSingleSmall
|
||||||
|
+
|
||||||
JSR Sprite_Puffstool_Draw ; Call the draw code
|
JSR Sprite_Puffstool_Draw ; Call the draw code
|
||||||
JSL Sprite_DrawShadow
|
JSL Sprite_DrawShadow
|
||||||
JSL Sprite_CheckActive ; Check if game is not paused
|
JSL Sprite_CheckActive ; Check if game is not paused
|
||||||
@@ -67,9 +75,12 @@ Sprite_Puffstool_Main:
|
|||||||
{
|
{
|
||||||
LDA.w SprAction, X
|
LDA.w SprAction, X
|
||||||
JSL UseImplicitRegIndexedLocalJumpTable
|
JSL UseImplicitRegIndexedLocalJumpTable
|
||||||
|
|
||||||
dw Puffstool_Walking
|
dw Puffstool_Walking
|
||||||
dw Puffstool_Stunned
|
dw Puffstool_Stunned
|
||||||
|
|
||||||
|
dw Puffstool_Spores
|
||||||
|
|
||||||
Puffstool_Walking:
|
Puffstool_Walking:
|
||||||
{
|
{
|
||||||
%PlayAnimation(0,6,10)
|
%PlayAnimation(0,6,10)
|
||||||
@@ -117,6 +128,14 @@ Sprite_Puffstool_Main:
|
|||||||
RTS
|
RTS
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Puffstool_Spores:
|
||||||
|
{
|
||||||
|
JSL Sprite_PlayerCantPassThrough
|
||||||
|
JSL Sprite_MoveXyz
|
||||||
|
RTS
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Puffstool_SpawnSpores:
|
Puffstool_SpawnSpores:
|
||||||
{
|
{
|
||||||
LDA.b #$0C ; SFX2.0C
|
LDA.b #$0C ; SFX2.0C
|
||||||
|
|||||||
Reference in New Issue
Block a user