inc goriya health, add timer on boom attack to decrease freq
This commit is contained in:
@@ -61,7 +61,7 @@ Sprite_Goriya_Prep:
|
|||||||
{
|
{
|
||||||
PHB : PHK : PLB
|
PHB : PHK : PLB
|
||||||
|
|
||||||
LDA.b #$20 : STA.w SprHealth, X
|
LDA.b #$30 : STA.w SprHealth, X
|
||||||
|
|
||||||
PLB
|
PLB
|
||||||
RTL
|
RTL
|
||||||
@@ -193,8 +193,10 @@ Sprite_Goriya_Move:
|
|||||||
|
|
||||||
JSR Goriya_HandleTileCollision
|
JSR Goriya_HandleTileCollision
|
||||||
|
|
||||||
JSL GetRandomInt : AND.b #$9F : BNE ++
|
LDA.w SprTimerD, X : BNE ++
|
||||||
JSR Goriya_BoomerangAttack
|
JSL GetRandomInt : AND.b #$9F : BNE ++
|
||||||
|
%SetTimerD(40)
|
||||||
|
JSR Goriya_BoomerangAttack
|
||||||
++
|
++
|
||||||
|
|
||||||
LDA.w SprTimerC, X : BNE +
|
LDA.w SprTimerC, X : BNE +
|
||||||
|
|||||||
Reference in New Issue
Block a user