"DEFINE standonehand,6; // this animations doesnt work!!"

Do you actually use these names in the function?
Simply showing the defines doesn't help.
One has to see where and how you use that defines in the functions.