The error has nothing to do with the code, yes. But it doesn't matter. It simply means it's him who doesn't know what he's doing. If the error message says there's something in state 5110 for the character Ryu, then that's what it is, he doesn't have an animation 5110 and that's that, even if he only noticed it when adding that code. I mean, it's written there, it says what the problem is.