object housekeeping

This commit is contained in:
scawful
2025-01-19 13:39:15 -05:00
parent 236e888bdb
commit a0f1ae77a5
4 changed files with 46 additions and 108 deletions

View File

@@ -1,6 +1,6 @@
; =========================================================
; Sprite Properties
; =========================================================
; Collectible Sprites
; (Pineapple, Seashell, Sword/Shield, Rock Sirloin)
!SPRID = $52
!NbrTiles = 03 ; Number of tiles used in a frame
@@ -32,8 +32,6 @@
%Set_Sprite_Properties(Sprite_Collectible_Prep, Sprite_Collectible_Long)
; =========================================================
Sprite_Collectible_Long:
{
PHB : PHK : PLB
@@ -59,8 +57,6 @@ Sprite_Collectible_Long:
RTL
}
; =========================================================
Sprite_Collectible_Prep:
{
PHB : PHK : PLB
@@ -80,12 +76,10 @@ Sprite_Collectible_Prep:
RTL
}
; =========================================================
Sprite_Collectible_Main:
{
LDA.w SprAction, X
JSL UseImplicitRegIndexedLocalJumpTable
JSL JumpTableLocal
dw Pineapple
dw Seashell
@@ -139,8 +133,6 @@ Sprite_Collectible_Main:
}
; =========================================================
Sprite_Pineapple_Draw:
{
JSL Sprite_PrepOamCoord
@@ -196,9 +188,6 @@ Sprite_Pineapple_Draw:
RTS
; =========================================================
.start_index
db $00
.nbr_of_tiles
@@ -271,7 +260,6 @@ Sprite_SwordShield_Draw:
RTS
.start_index
db $00
.nbr_of_tiles