Reduce HelmetChuchu health

This commit is contained in:
scawful
2024-11-21 21:29:04 -05:00
parent 454f84382e
commit d4843293f2

View File

@@ -53,25 +53,22 @@ Sprite_HelmetChuchu_Long:
Sprite_HelmetChuchu_Prep: Sprite_HelmetChuchu_Prep:
{ {
PHB : PHK : PLB PHB : PHK : PLB
LDA.l SWORD : DEC A : TAY LDA.l SWORD : DEC A : TAY
LDA.w .health, Y : STA.w SprHealth, X LDA.w .health, Y : STA.w SprHealth, X
JSL GetRandomInt : AND.b #$02 : STA.w SprAction, X JSL GetRandomInt : AND.b #$02 : STA.w SprAction, X
STZ.w SprMiscB, X STZ.w SprMiscB, X
STZ.w SprMiscD, X STZ.w SprMiscD, X
LDA.w SprAction, X : BNE + LDA.w SprAction, X : BNE +
LDA.b #$04 : STA.w SprFrame, X LDA.b #$04 : STA.w SprFrame, X
+ +
CMP.b #$02 : BNE + CMP.b #$02 : BNE +
LDA.b #$02 : STA.w SprFrame, X LDA.b #$02 : STA.w SprFrame, X
+ +
PLB PLB
RTL RTL
.health .health
db $0C, $10, $80, $C0 db $08, $0C, $40, $C0
} }
; ========================================================= ; =========================================================
@@ -167,11 +164,8 @@ HelmetChuchu_SpawnHookshotDrag:
{ {
; Based on the subtype either spawn the helmet or the mask ; Based on the subtype either spawn the helmet or the mask
PHX PHX
LDA.w SprAction, X LDA.w SprAction, X : CMP.b #$01 : BEQ .spawn_helmet
CMP.b #$01 CMP.b #$03 : BEQ .spawn_mask
BEQ .spawn_helmet
CMP.b #$03
BEQ .spawn_mask
.spawn_helmet .spawn_helmet
LDA.b #$05 LDA.b #$05