store rock meat in SRAM when picked up
This commit is contained in:
@@ -130,6 +130,8 @@ Sprite_Collectible_Main:
|
|||||||
JSL Sprite_Move
|
JSL Sprite_Move
|
||||||
LDA.l $7EF354 : BEQ .do_you_even_lift_bro
|
LDA.l $7EF354 : BEQ .do_you_even_lift_bro
|
||||||
JSL ThrownSprite_TileAndSpriteInteraction_long
|
JSL ThrownSprite_TileAndSpriteInteraction_long
|
||||||
|
LDA.l RockMeat : INC A : STA.l RockMeat
|
||||||
|
STZ.w SprState, X
|
||||||
.do_you_even_lift_bro
|
.do_you_even_lift_bro
|
||||||
RTS
|
RTS
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user