update kydreeok formatting

This commit is contained in:
scawful
2024-06-07 23:16:51 -04:00
parent 9a6917304f
commit 8cc0442cdd

View File

@@ -189,19 +189,17 @@ Sprite_Kydreeok_Main:
; Use a range of + 0x05 because being exact equal didnt trigger consistently
LDA $20 : SBC SprCachedY : CMP.w #$FFFB : BCC .notEqualY
SEP #$20
%GotoAction(2) ; Kydreeok_MoveXandY
BRA .notEqualX
.notEqualY
; Use a range of + 0x05 because being exact equal didnt trigger consistently
LDA $22 : SBC SprCachedX : CMP.w #$FFFB : BCC .notEqualX
SEP #$20
%GotoAction(2) ; Kydreeok_MoveXandY
.notEqualX
SEP #$20
JSR StopIfOutOfBounds
@@ -209,7 +207,6 @@ Sprite_Kydreeok_Main:
LDA.w SprYSpeed : BNE .notZero
LDA.w SprXSpeed : BNE .notZero
%GotoAction(3) ; Kydreeok_MoveXorY
.notZero
JSR MoveBody
@@ -323,7 +320,6 @@ SpawnCenterHead:
.return
RTS
}
; =========================================================
@@ -331,13 +327,11 @@ SpawnCenterHead:
SpawnRightHead:
{
LDA #$CF
JSL Sprite_SpawnDynamically : BMI .return
TYA : STA Offspring2_Id
;store the sub-type
LDA.b #$01 : STA $0E30, Y
PHX
; code that controls where to spawn the offspring.
REP #$20
@@ -360,7 +354,6 @@ SpawnRightHead:
STZ.w SprYRound, X
STZ.w SprXRound, X
PLX
.return
RTS
}