Character stuck in attack animation & not going back to normal animation after pressing button

So I’m in the middle of making my own “demake” of sorts of RE2 for fun, and my sprites are from RE: Gaiden, but I changed up some designs and stuff.

Anyways, I can get Leon to move normally, but I want to make it so when I’m facing left and not moving, and I press B, my shooting pose can occur.

So I press B when Leon is not moving and is facing left, and the animation happens, but when I move around and go back to facing left and not moving (I didn’t press B ever again after that first time) he stays in the shooting pose, and I can’t make him go back to facing left normally.

Here’s the game…help: https://makecode.com/_ebq6ME0hUAuU

Here ya go:

1 Like

Can you at least tell them what you changed instead of just giving them the fixed code?
It can create a learning opportunity, MakeCode also has a purpose to teach code, you know.

1 Like

Yes I can:

So what I changed was: since this block sets an animation for whenever the character is facing left and not moving, it updates the other animation that you created before to that animation.

So I took away that block and added this block, so it doesn’t replace the other animation