'Updates mario in a transition state (like becoming big, small,
or dies). Checks if he leaves the transition state or dies to
change the level state back'

def update_during_transition_state(self, keys):

    self.mario.update(keys, self.game_info, self.powerup_group)
    for score in self.moving_score_list:
        score.update(self.moving_score_list, self.game_info)
    if self.flag_score:
        self.flag_score.update(None, self.game_info)
        self.check_to_add_flag_score()
    self.coin_box_group.update(self.game_info)
    self.flag_pole_group.update(self.game_info)
    self.check_if_mario_in_transition_state()
    self.check_flag()
    self.check_for_mario_death()
    self.overhead_info_display.update(self.game_info, self.mario)
