Housekeeping

This commit is contained in:
scawful
2025-01-11 21:10:30 -05:00
parent dea2ff1561
commit f9f4436df2
6 changed files with 27 additions and 60 deletions

View File

@@ -47,8 +47,6 @@ Sprite_KydreeokHead_Long:
RTL
}
; =========================================================
Sprite_KydreeokHead_Prep:
{
PHB : PHK : PLB
@@ -59,8 +57,6 @@ Sprite_KydreeokHead_Prep:
RTL
}
; =========================================================
SpeedTable:
db $00, $02, $04, $06, $07, $01, $06, $03
db 0, -2, -4, -6, -7, -1, -6, -3
@@ -219,8 +215,6 @@ KydreeokHead_RotationMove:
RTS
}
; =========================================================
CoordinateBasedRotation:
{
LDA.w Neck_Index : TAY
@@ -238,20 +232,18 @@ CoordinateBasedRotation:
LDA #0 : STA.w Neck_Index
.not_full
RTS
; Table for X coordinates (based on a radius of 8)
X_Coords:
db 8, 11, 8, 3, -4, -9, -12, -9
db -4, 3, 8, 11, 8, 3, -4, -9
; Table for Y coordinates (based on a radius of 8)
Y_Coords:
db 0, -3, -8, -11, -15, -15, -11, -8
db -3, 0, 3, 8, 11, 15, 15, 11
}
; Table for X coordinates (based on a radius of 8)
X_Coords:
db 8, 11, 8, 3, -4, -9, -12, -9
db -4, 3, 8, 11, 8, 3, -4, -9
; Table for Y coordinates (based on a radius of 8)
Y_Coords:
db 0, -3, -8, -11, -15, -15, -11, -8
db -3, 0, 3, 8, 11, 15, 15, 11
; =========================================================
RotateHeadUsingSpeedValues:
{
LDY.w Neck_Index
@@ -284,8 +276,6 @@ RotateHeadUsingSpeedValues:
db -12, -9, -6, -3
}
; =========================================================
RandomlyAttack:
{
JSL Sprite_DamageFlash_Long