store rock meat in SRAM when picked up

This commit is contained in:
scawful
2024-08-31 16:25:30 -04:00
parent 42747d9647
commit 94cdb40437

View File

@@ -130,6 +130,8 @@ Sprite_Collectible_Main:
JSL Sprite_Move
LDA.l $7EF354 : BEQ .do_you_even_lift_bro
JSL ThrownSprite_TileAndSpriteInteraction_long
LDA.l RockMeat : INC A : STA.l RockMeat
STZ.w SprState, X
.do_you_even_lift_bro
RTS
}