Add shadow to bean vendor/magic bean
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
; =========================================================
|
; =========================================================
|
||||||
|
|
||||||
!SPRID = Sprite_BeanVendor
|
!SPRID = Sprite_BeanVendor
|
||||||
!NbrTiles = 04 ; Number of tiles used in a frame
|
!NbrTiles = 05 ; Number of tiles used in a frame
|
||||||
!Harmless = 01 ; 00 = Sprite is Harmful, 01 = Sprite is Harmless
|
!Harmless = 01 ; 00 = Sprite is Harmful, 01 = Sprite is Harmless
|
||||||
!HVelocity = 00 ; Is your sprite going super fast? put 01 if it is
|
!HVelocity = 00 ; Is your sprite going super fast? put 01 if it is
|
||||||
!Health = 00 ; Number of Health the sprite have
|
!Health = 00 ; Number of Health the sprite have
|
||||||
@@ -37,11 +37,10 @@
|
|||||||
Sprite_BeanVendor_Long:
|
Sprite_BeanVendor_Long:
|
||||||
{
|
{
|
||||||
PHB : PHK : PLB
|
PHB : PHK : PLB
|
||||||
|
|
||||||
LDA.w SprMiscD, X : BNE +
|
LDA.w SprMiscD, X : BNE +
|
||||||
JSR Sprite_BeanVendor_Draw
|
JSR Sprite_BeanVendor_Draw
|
||||||
|
JSL Sprite_DrawShadow
|
||||||
+
|
+
|
||||||
|
|
||||||
JSL Sprite_CheckActive : BCC .SpriteIsNotActive
|
JSL Sprite_CheckActive : BCC .SpriteIsNotActive
|
||||||
LDA.w SprSubtype, X : BEQ +
|
LDA.w SprSubtype, X : BEQ +
|
||||||
JSR Sprite_VillageElder_Main
|
JSR Sprite_VillageElder_Main
|
||||||
|
|||||||
Reference in New Issue
Block a user