From 58b0f5e7a480ad9bfe66c3086724115a0112bfd9 Mon Sep 17 00:00:00 2001 From: Zarby89 Date: Wed, 30 Oct 2024 02:12:37 -0400 Subject: [PATCH] pumpkinhead damage --- PumpkinHeadCD.asm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/PumpkinHeadCD.asm b/PumpkinHeadCD.asm index 5e0fe11..5c32767 100644 --- a/PumpkinHeadCD.asm +++ b/PumpkinHeadCD.asm @@ -7,7 +7,7 @@ !Harmless = 00 ; 00 = Sprite is Harmful, 01 = Sprite is Harmless !HVelocity = 00 ; Is your sprite going super fast? put 01 if it is !Health = 25 ; Number of Health the sprite have -!Damage = 01 ; (08 is a whole heart), 04 is half heart +!Damage = 04 ; (08 is a whole heart), 04 is half heart !DeathAnimation = 00 ; 00 = normal death, 01 = no death animation !ImperviousAll = 00 ; 00 = Can be attack, 01 = attack will clink on it !SmallShadow = 00 ; 01 = small shadow, 00 = no shadow @@ -77,7 +77,7 @@ Sprite_PumpkinHead_Prep: LDA.b #$00 : STA.w SprFrame, X LDA.b #$01 : STA.w SprMiscF, X LDA.b #$35 : STA.w SprHealth, X - LDA.b !Damage : STA $0CD2, X + LDA.b #$03 : STA.w $0CD2, X STX.w $0FC0 ; keep spirit id ; Spawn the head @@ -89,7 +89,7 @@ Sprite_PumpkinHead_Prep: LDA.b #$01 : STA.w SprAction, Y LDA.b #$04 : STA.w SprFrame, Y LDA.b #$01 : STA.w SprMiscF, Y - LDA.b !Damage : STA $0CD2, Y + LDA.b #$03 : STA $0CD2, Y STA.w SprMiscG, Y ; on body ; Spawn the body @@ -104,7 +104,7 @@ Sprite_PumpkinHead_Prep: LDA.b #$40 : STA.w SprTimerA, Y : STA.w SprTimerB, Y LDA.b #$03 : STA.w SprMiscG, Y ; Body Health LDA.b #$01 : STA.w SprMiscF, Y ; Visibility (invisible if zero) - LDA.b !Damage : STA $0CD2, Y + LDA.b #$03 : STA $0CD2, Y PLB RTL @@ -135,7 +135,7 @@ Sprite_PumpkinHead_Main: Spiritx: { ; SUBTYPE 00 spirit - + LDA.b #$03 : STA.w $0CD2, X ; respawn the body! JSL Sprite_MoveZ DEC $0F80, X : DEC $0F80, X