Enemy housekeeping
This commit is contained in:
@@ -56,9 +56,7 @@ Sprite_Goriya_Long:
|
||||
Sprite_Goriya_Prep:
|
||||
{
|
||||
PHB : PHK : PLB
|
||||
|
||||
LDA.b #$08 : STA.w SprHealth, X
|
||||
|
||||
PLB
|
||||
RTL
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
; =========================================================
|
||||
; Sprite Properties
|
||||
; =========================================================
|
||||
;
|
||||
|
||||
!SPRID = Sprite_HelmetChuchu
|
||||
!NbrTiles = 03 ; Number of tiles used in a frame
|
||||
@@ -35,7 +34,6 @@
|
||||
Sprite_HelmetChuchu_Long:
|
||||
{
|
||||
PHB : PHK : PLB
|
||||
|
||||
JSR Sprite_HelmetChuchu_Draw
|
||||
JSL Sprite_DrawShadow
|
||||
JSL Sprite_CheckActive : BCC .SpriteIsNotActive
|
||||
@@ -205,16 +203,11 @@ Sprite_CheckForHookshot:
|
||||
{
|
||||
PHX
|
||||
LDX.b #$0A
|
||||
|
||||
.next_ancilla
|
||||
LDA.w $0C4A,X
|
||||
CMP.b #$1F ; ANCILLA 1F
|
||||
BNE .not_hooker
|
||||
|
||||
LDA.w $0C4A, X : CMP.b #$1F : BNE .not_hooker
|
||||
PLX
|
||||
SEC
|
||||
RTS
|
||||
|
||||
.not_hooker
|
||||
DEX
|
||||
BPL .next_ancilla
|
||||
|
||||
@@ -167,9 +167,7 @@ SpawnLightningAttack:
|
||||
{
|
||||
PHX
|
||||
LDA.b #$CD
|
||||
JSL Sprite_SpawnDynamically
|
||||
BMI .no_space
|
||||
|
||||
JSL Sprite_SpawnDynamically : BMI .no_space
|
||||
; Use SprXSpeed, SprYSpeed, SprXRound, SprYRound
|
||||
; SprX, SprY, SprXH, SprY, to cast the lightning spell
|
||||
; and make it move off to the bottom left or bottom right
|
||||
|
||||
Reference in New Issue
Block a user