From b206f12c50dee3fcede9777326a964276f9787df Mon Sep 17 00:00:00 2001 From: scawful Date: Sat, 10 Aug 2024 14:06:12 -0400 Subject: [PATCH] update oam alloc and subtype for collectible sword --- Sprites/Objects/collectible.asm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Sprites/Objects/collectible.asm b/Sprites/Objects/collectible.asm index 8f69c3f..5642598 100644 --- a/Sprites/Objects/collectible.asm +++ b/Sprites/Objects/collectible.asm @@ -3,8 +3,8 @@ ; ========================================================= !SPRID = $2D ; The sprite ID you are overwriting (HEX) -!NbrTiles = 00 ; Number of tiles used in a frame -!Harmless = 00 ; 00 = Sprite is Harmful, 01 = Sprite is Harmless +!NbrTiles = 03 ; Number of tiles used in a frame +!Harmless = 01 ; 00 = Sprite is Harmful, 01 = Sprite is Harmless !HVelocity = 00 ; Is your sprite going super fast? put 01 if it is !Health = 00 ; Number of Health the sprite have !Damage = 00 ; (08 is a whole heart), 04 is half heart @@ -65,8 +65,10 @@ Sprite_Collectible_Prep: LDA.b $8A : CMP.b #$58 : BNE .not_intro_sword LDA.l $7EF359 : BEQ + STZ.w SprState, X + + + LDA.b #$02 : STA.w SprAction, X .not_intro_sword - + + PLB RTL