Code uniform, flickering bug fix

var under_score, func camelCase;
frame count was reset after a new animation was started, not before;