AnimationTree is messy

Godot Version

4.2.1

Question

I cannot play an animation if its true when godot is transitioning between two animations
I cannot play actions from a weapon without linking all the specific animations to all the other animations. Is there any way I can just make this in code so it can play whatever animation it wants depending on if something is true or not instead of having to deal with a cluttered tree like this?