How to ban a specific state from transition from Any State?

I literally want my character to play DEATH animation in any case unless it is falling, in which case I want it to play FALLING animation until it isn’t fallin. Is there a way to do it besides setting up transition to DEATH from every other state manually?

Here’s a similar thread from a few years ago: Animation Transition from AnyState issue