Moved animation handling to a separate method.
Cleaned up some code, added creature types.