'Default state of moving sideways'

def walking(self):

    if ((self.current_time - self.animate_timer) > 125):
        if (self.frame_index == 0):
            self.frame_index += 1
        elif (self.frame_index == 1):
            self.frame_index = 0
        self.animate_timer = self.current_time
