'During a change from small to big, sets mario\'s image to small'

def set_mario_to_small_image(self):

    if self.facing_right:
        self.image = self.normal_small_frames[0][0]
    else:
        self.image = self.normal_small_frames[1][0]
    bottom = self.rect.bottom
    centerx = self.rect.centerx
    self.rect = self.image.get_rect()
    self.rect.bottom = bottom
    self.rect.centerx = centerx
