Cleanup business_scrub.asm
This commit is contained in:
@@ -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,14 +336,12 @@ 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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user