Update BeanVendor_Prep

This commit is contained in:
scawful
2024-12-16 22:37:02 -05:00
parent 5713b2357d
commit bf5bba7022

View File

@@ -64,18 +64,15 @@ Sprite_BeanVendor_Prep:
LDA.b $8A : CMP.b #$00 : BNE + LDA.b $8A : CMP.b #$00 : BNE +
LDA.l MagicBeanProg : BNE .in_progress LDA.l MagicBeanProg : BNE .in_progress
LDA.b #$04 : STA.w SprAction, X
LDA.b #$01 : STA.w SprMiscD, X LDA.b #$01 : STA.w SprMiscD, X
LDA.b #$04 : STA.w SprAction, X
JMP + JMP +
.in_progress .in_progress
CMP.b #$3F : BNE .not_flower LDA.l MagicBeanProg : CMP.b #$3F : BCS .not_flower
; Sprite is the flower on ranch map ; Sprite is the flower on ranch map
LDA.b #$05 : STA.w SprAction, X LDA.b #$05 : STA.w SprAction, X
JMP +
.not_flower .not_flower
CMP.b #$7F : BNE .not_done STA.w SprFrame, X
STZ.w SprState, X
.not_done
+ +
PLB PLB
RTL RTL