Despawn Twinrova when maiden present

This commit is contained in:
scawful
2024-03-17 16:10:47 -04:00
parent 93b63032da
commit 0adc6f17bf

View File

@@ -80,7 +80,8 @@ Sprite_Twinrova_Prep:
{
PHB : PHK : PLB
STZ $0D80, X
; PrepareBattle
LDA.l $7EF3CC : CMP.b #$06 : BEQ .despawn
LDA.b #$40 : STA $0E50, X ; Health
LDA.b #$04 : STA $0CD2, X ; Bump damage type (4 hearts, green tunic)
@@ -89,11 +90,12 @@ Sprite_Twinrova_Prep:
LDA #$10 : STA $08
LDA #$10 : STA $09
STZ $0D80, X
; TODO: Setup the follower logic with a hook
; rather than dismissing the follower here.
LDA #$00 : STA $7EF3CC
PLB
RTL
.despawn
STZ.w $0DD0, X
PLB
RTL
}