'Adjusts Mario\'s image for animation'

def animation(self):

    if ((self.state == c.DEATH_JUMP) or (self.state == c.SMALL_TO_BIG) or (self.state == c.BIG_TO_FIRE) or (self.state == c.BIG_TO_SMALL) or (self.state == c.FLAGPOLE) or (self.state == c.BOTTOM_OF_POLE) or self.crouching):
        pass
    elif self.facing_right:
        self.image = self.right_frames[self.frame_index]
    else:
        self.image = self.left_frames[self.frame_index]
