'Changes Mario\'s image attribute based on time while
transitioning to big'

def changing_to_big(self):

    self.in_transition_state = True
    if (self.transition_timer == 0):
        self.transition_timer = self.current_time
    elif self.timer_between_these_two_times(135, 200):
        self.set_mario_to_middle_image()
    elif self.timer_between_these_two_times(200, 365):
        self.set_mario_to_small_image()
    elif self.timer_between_these_two_times(365, 430):
        self.set_mario_to_middle_image()
    elif self.timer_between_these_two_times(430, 495):
        self.set_mario_to_small_image()
    elif self.timer_between_these_two_times(495, 560):
        self.set_mario_to_middle_image()
    elif self.timer_between_these_two_times(560, 625):
        self.set_mario_to_big_image()
    elif self.timer_between_these_two_times(625, 690):
        self.set_mario_to_small_image()
    elif self.timer_between_these_two_times(690, 755):
        self.set_mario_to_middle_image()
    elif self.timer_between_these_two_times(755, 820):
        self.set_mario_to_big_image()
    elif self.timer_between_these_two_times(820, 885):
        self.set_mario_to_small_image()
    elif self.timer_between_these_two_times(885, 950):
        self.set_mario_to_big_image()
        self.state = c.WALK
        self.in_transition_state = False
        self.transition_timer = 0
        self.become_big()
