fix booki priority draw, adjust health by sword

This commit is contained in:
scawful
2024-07-04 23:07:44 -04:00
parent 54c2406d7b
commit 22486ba1ac

View File

@@ -56,11 +56,15 @@ Sprite_Booki_Prep:
{ {
PHB : PHK : PLB PHB : PHK : PLB
LDA.b #$08 : STA.w SprHealth, X LDA.l SWORD : DEC A : TAY
LDA.w .health, Y : STA.w SprHealth, X
STZ.w SprMiscB, X STZ.w SprMiscB, X
PLB PLB
RTL RTL
.health
db $08, $0F, $10, $18
} }
; ========================================================= ; =========================================================
@@ -231,9 +235,9 @@ Sprite_Booki_Draw:
INY INY
LDA.b $09 : BEQ .ToRight LDA.b $09 : BEQ .ToRight
LDA.b #$39 : JMP .Prop LDA.b #$29 : JMP .Prop
.ToRight .ToRight
LDA.b #$79 LDA.b #$59
.Prop .Prop
ORA $08 : STA ($90), Y ORA $08 : STA ($90), Y