From c0fd6dfab68d22b892ea541590c6c8ced6f7aafc Mon Sep 17 00:00:00 2001 From: scawful Date: Sun, 10 Mar 2024 17:49:02 -0400 Subject: [PATCH] Make pols voice weak to arrows --- Sprites/Enemies/pols_voice.asm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sprites/Enemies/pols_voice.asm b/Sprites/Enemies/pols_voice.asm index 9307e9b..813b48c 100644 --- a/Sprites/Enemies/pols_voice.asm +++ b/Sprites/Enemies/pols_voice.asm @@ -3,7 +3,7 @@ !NbrTiles = 02 ; Number of tiles used in a frame !Harmless = 00 ; 00 = Sprite is Harmful, 01 = Sprite is Harmless !HVelocity = 00 ; Is your sprite going super fast? put 01 if it is -!Health = 20 ; Number of Health the sprite have +!Health = 10 ; Number of Health the sprite have !Damage = 00 ; (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 @@ -51,8 +51,9 @@ Sprite_PolsVoice_Prep: { PHB : PHK : PLB - ; Add more code here to initialize data - LDA #$80 : STA SprTimerA, X + LDA #$80 : STA SprTimerA, X + LDA #$00 : STA $0CAA, X + LDA #$00 : STA $0B6B, X PLB RTL @@ -121,7 +122,6 @@ Sprite_PolsVoice_Main: JSL Sprite_BounceFromTileCollision JSL Sprite_DamageFlash_Long - %DoDamageToPlayerSameLayerOnContact() LDA SprTimerA, X : BNE .not_done