0th Animation Layer Problem

Hello friends, I have a bit of a funny problem here

I purchased some animal assets from the asset store, specifically from Malbers, in order to use it in my own project.

Personally, I want complete control over the animations and how they play, but I have a problem. Malbers placed some of the most important transitions to have those animals work correctly on the 0th layer of the animations, which is the layer that can never have it’s weight turned down to zero

As a result, I have my own animation layers colliding with his, and I can’t seem to get rid of it, and needless to say, I won’t get into his code on my own (I tried doing so multiple times, it’s dark magic in there)

The goal is, when needed, whatever animation is being played on the 0th layer must be turned off regardless of what’s going on (and maybe play an ‘Empty State’ animation or something, a place holder for cases like this)

How else can I deactivate the 0th animation layer through code without creating some chaos? In other words, in my own state machine, I don’t want Malbers’ animations interrupting with what I’m trying to do on another animation layer

Thank you

Didn’t exactly “Solve” the problem, but I managed to get rid of it by placing a boolean for the conditions of the animations in the 0th layer.

As my code relies on a state machine, when I enter the state, we set the boolean to false, and when we exit the state, we set the boolean to true, indicating the layer can get back to work again