Enemy housekeeping

This commit is contained in:
scawful
2024-11-27 10:54:47 -05:00
parent 2d0942a1d9
commit 8c8611465f
3 changed files with 42 additions and 53 deletions

View File

@@ -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
PLX
SEC
RTS
LDA.w $0C4A, X : CMP.b #$1F : BNE .not_hooker
PLX
SEC
RTS
.not_hooker
DEX
BPL .next_ancilla