inc goriya health, add timer on boom attack to decrease freq

This commit is contained in:
scawful
2024-06-27 09:09:00 -04:00
parent e326fa83c7
commit e2a2fa3606

View File

@@ -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 +