Cleanup KydrogBoss

This commit is contained in:
scawful
2024-03-07 17:42:22 -05:00
parent 2de94ef20f
commit b16f2bdb6f

View File

@@ -1,17 +1,14 @@
; ============================================================================= ; =========================================================
; Kydrog Boss ; Kydrog Boss
; ============================================================================= ; =========================================================
; RAM Addresses ; RAM Addresses
; =============================================================================
!ConsecutiveHits = $AC ;0x01 !ConsecutiveHits = $AC ;0x01
!KydrogPhase = $7A ;0x01 !KydrogPhase = $7A ;0x01
!WalkSpeed = 10 ;0x01 !WalkSpeed = 10 ;0x01
;============================================================================== ; =========================================================
; Sprite Properties
;==============================================================================
!SPRID = $CB ; The sprite ID you are overwriting (HEX) !SPRID = $CB ; The sprite ID you are overwriting (HEX)
!NbrTiles = 11 ; Number of tiles used in a frame !NbrTiles = 11 ; Number of tiles used in a frame
@@ -43,7 +40,7 @@
%Set_Sprite_Properties(Sprite_KydrogBoss_Prep, Sprite_KydrogBoss_Long) %Set_Sprite_Properties(Sprite_KydrogBoss_Prep, Sprite_KydrogBoss_Long)
;============================================================================== ; =========================================================
Sprite_KydrogBoss_Long: Sprite_KydrogBoss_Long:
{ {
@@ -63,7 +60,7 @@ Sprite_KydrogBoss_Long:
RTL ; Go back to original code RTL ; Go back to original code
} }
;============================================================================== ; =========================================================
Sprite_KydrogBoss_CheckIfDead: Sprite_KydrogBoss_CheckIfDead:
{ {
@@ -90,7 +87,7 @@ Sprite_KydrogBoss_CheckIfDead:
RTS RTS
} }
;============================================================================== ; =========================================================
Sprite_KydrogBoss_Prep: Sprite_KydrogBoss_Prep:
{ {
@@ -116,7 +113,7 @@ Sprite_KydrogBoss_Prep:
PLB PLB
RTL RTL
} }
;============================================================================== ; =========================================================
pushpc pushpc
org $1ECD97 org $1ECD97
@@ -174,7 +171,7 @@ Sprite_KydrogBoss_Main:
dw KydrogBoss_Descend ; 0B dw KydrogBoss_Descend ; 0B
dw KydrogBoss_Abscond ; 0C dw KydrogBoss_Abscond ; 0C
; --------------------------------------------------------------------------- ; -------------------------------------------------------
KydrogBoss_Init: KydrogBoss_Init:
{ {
@@ -191,7 +188,7 @@ Sprite_KydrogBoss_Main:
RTS RTS
} }
; --------------------------------------------------------------------------- ; -------------------------------------------------------
KydrogBoss_WalkState: KydrogBoss_WalkState:
{ {
@@ -241,7 +238,7 @@ Sprite_KydrogBoss_Main:
RTS RTS
} }
; --------------------------------------------------------------------------- ; -------------------------------------------------------
KydrogBoss_WalkForward: KydrogBoss_WalkForward:
{ {
@@ -261,7 +258,7 @@ Sprite_KydrogBoss_Main:
RTS RTS
} }
; --------------------------------------------------------------------------- ; -------------------------------------------------------
KydrogBoss_WalkLeft: KydrogBoss_WalkLeft:
{ {
@@ -281,7 +278,7 @@ Sprite_KydrogBoss_Main:
RTS RTS
} }
; --------------------------------------------------------------------------- ; -------------------------------------------------------
KydrogBoss_WalkRight: KydrogBoss_WalkRight:
{ {
@@ -301,7 +298,7 @@ Sprite_KydrogBoss_Main:
RTS RTS
} }
; --------------------------------------------------------------------------- ; -------------------------------------------------------
KydrogBoss_WalkBackward: KydrogBoss_WalkBackward:
{ {
@@ -321,7 +318,7 @@ Sprite_KydrogBoss_Main:
RTS RTS
} }
; --------------------------------------------------------------------------- ; -------------------------------------------------------
KydrogBoss_TakeDamage: ;0x06 KydrogBoss_TakeDamage: ;0x06
{ {
@@ -360,7 +357,7 @@ Sprite_KydrogBoss_Main:
RTS RTS
} }
; --------------------------------------------------------------------------- ; -------------------------------------------------------
KydrogBoss_TauntPlayer: ;0x07 KydrogBoss_TauntPlayer: ;0x07
{ {
@@ -380,7 +377,7 @@ Sprite_KydrogBoss_Main:
RTS RTS
} }
; --------------------------------------------------------------------------- ; -------------------------------------------------------
KydrogBoss_SummonStalfos: ;0x08 KydrogBoss_SummonStalfos: ;0x08
{ {
@@ -404,7 +401,7 @@ Sprite_KydrogBoss_Main:
RTS RTS
} }
; --------------------------------------------------------------------------- ; -------------------------------------------------------
KydrogBoss_Death: ;0x09 KydrogBoss_Death: ;0x09
{ {
@@ -493,7 +490,7 @@ Sprite_KydrogBoss_Main:
} }
; ============================================================================= ; =========================================================
CheckForNextPhase: CheckForNextPhase:
{ {
@@ -537,7 +534,7 @@ CheckForNextPhase:
} }
; ============================================================================= ; =========================================================
;BA: Boomerang ;BA: Boomerang
;D1: Damage 1 ;D1: Damage 1
@@ -576,7 +573,7 @@ KydrogBoss_Set_Damage:
;BA D1 D2 D3 D4 D5 AR HS BM SA PD FR IR BB ET QU ;BA D1 D2 D3 D4 D5 AR HS BM SA PD FR IR BB ET QU
} }
; ============================================================================= ; =========================================================
Sprite_DamageFlash_Long: Sprite_DamageFlash_Long:
{ {
@@ -588,7 +585,7 @@ Sprite_DamageFlash_Long:
RTL RTL
} }
; ============================================================================= ; =========================================================
Sprite_Damage_Flash: Sprite_Damage_Flash:
{ {
@@ -612,7 +609,7 @@ Sprite_Damage_Flash:
RTS RTS
} }
; ============================================================================= ; =========================================================
Sprite_Offspring_SpawnHead: Sprite_Offspring_SpawnHead:
{ {
@@ -744,7 +741,7 @@ GetNumberSpawnStalfos:
db $7C, $02, $A7, $85 db $7C, $02, $A7, $85
} }
;============================================================================== ; =========================================================
Sprite_KydrogBoss_Draw: Sprite_KydrogBoss_Draw:
{ {