clear bottle the bean came from when releasing it
This commit is contained in:
@@ -256,6 +256,7 @@ Sprite_BeanVendor_Main:
|
|||||||
|
|
||||||
ReleaseMagicBean:
|
ReleaseMagicBean:
|
||||||
{
|
{
|
||||||
|
; X is the bottle ID
|
||||||
LDA.b $8A : CMP.b #$00 : BNE .not_the_ranch
|
LDA.b $8A : CMP.b #$00 : BNE .not_the_ranch
|
||||||
LDA.b #$07
|
LDA.b #$07
|
||||||
JSL Sprite_SpawnDynamically
|
JSL Sprite_SpawnDynamically
|
||||||
@@ -268,6 +269,7 @@ ReleaseMagicBean:
|
|||||||
|
|
||||||
LDA.b #$01 : STA.w SprAction, Y
|
LDA.b #$01 : STA.w SprAction, Y
|
||||||
STA.w SprSubtype, Y
|
STA.w SprSubtype, Y
|
||||||
|
LDA.b #$02 : STA.l $7EF35C, X
|
||||||
RTL
|
RTL
|
||||||
|
|
||||||
.not_the_ranch
|
.not_the_ranch
|
||||||
|
|||||||
Reference in New Issue
Block a user