'Adjusts mario\'s state when the flag is at the bottom'

def check_flag(self):

    if ((self.flag.state == c.BOTTOM_OF_POLE) and (self.mario.state == c.FLAGPOLE)):
        self.mario.set_state_to_bottom_of_pole()
