Added logic for scripted behaviors, emotions, and some bug fixes
Merge pull request #3 from leungmanhin/master

Added logic for scripted behaviors, emotions, and some bug fixes