'State when mario is at the bottom of the flag pole'

def sitting_at_bottom_of_pole(self):

    if (self.flag_pole_timer == 0):
        self.flag_pole_timer = self.current_time
        self.image = self.left_frames[10]
    elif ((self.current_time - self.flag_pole_timer) < 210):
        self.image = self.left_frames[10]
    else:
        self.in_transition_state = False
        if (self.rect.bottom < 485):
            self.state = c.END_OF_LEVEL_FALL
        else:
            self.state = c.WALKING_TO_CASTLE
