Cleanup business_scrub.asm

This commit is contained in:
scawful
2024-10-04 00:06:54 -04:00
parent adaf5cb5be
commit 15ea5fbfe6

View File

@@ -157,7 +157,6 @@ Sprite_DekuScrubEnemy_Main:
LDA.w SprTimerA, X : BNE +
%GotoAction(0)
+
RTS
}
@@ -325,7 +324,6 @@ SpawnPeaShot:
LDA.b #$01 : STA.w SprNbrOAM, Y
PHX
; Spawn Location
REP #$20
LDA $0FD8
@@ -338,18 +336,16 @@ SpawnPeaShot:
STA.w SprY, Y : XBA : STA.w SprYH, Y
TYX
STZ $0D70, X
LDA #$10 : STA.w SprYSpeed, X
STA.w SprYRound, X
STX.w Offspring1_Id
PLX
.return
RTS
RTS
}
; =========================================================
@@ -369,7 +365,6 @@ Sprite_DekuScrubEnemy_Draw:
.nextTile
PHX ; Save current Tile Index?
TXA : CLC : ADC $06 ; Add Animation Index Offset
PHA ; Keep the value with animation index offset?
@@ -397,13 +392,9 @@ Sprite_DekuScrubEnemy_Draw:
LDA .properties, X : STA ($90), Y
PHY
TYA : LSR #2 : TAY
LDA .sizes, X : ORA $0F : STA ($92), Y ; store size in oam buffer
PLY : INY
PLX : DEX : BPL .nextTile
PLX