From e2a2fa36061202ecdcd940e3fe8a2ea7aca476dd Mon Sep 17 00:00:00 2001 From: scawful Date: Thu, 27 Jun 2024 09:09:00 -0400 Subject: [PATCH] inc goriya health, add timer on boom attack to decrease freq --- Sprites/Enemies/goriya.asm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Sprites/Enemies/goriya.asm b/Sprites/Enemies/goriya.asm index 5c87442..728b1ea 100644 --- a/Sprites/Enemies/goriya.asm +++ b/Sprites/Enemies/goriya.asm @@ -61,7 +61,7 @@ Sprite_Goriya_Prep: { PHB : PHK : PLB - LDA.b #$20 : STA.w SprHealth, X + LDA.b #$30 : STA.w SprHealth, X PLB RTL @@ -193,8 +193,10 @@ Sprite_Goriya_Move: JSR Goriya_HandleTileCollision - JSL GetRandomInt : AND.b #$9F : BNE ++ - JSR Goriya_BoomerangAttack + LDA.w SprTimerD, X : BNE ++ + JSL GetRandomInt : AND.b #$9F : BNE ++ + %SetTimerD(40) + JSR Goriya_BoomerangAttack ++ LDA.w SprTimerC, X : BNE +