'sets the new game values after a player\'s death'

def set_game_info_values(self):

    if (self.game_info[c.SCORE] > self.persist[c.TOP_SCORE]):
        self.persist[c.TOP_SCORE] = self.game_info[c.SCORE]
    if self.mario.dead:
        self.persist[c.LIVES] -= 1
    if (self.persist[c.LIVES] == 0):
        self.next = c.GAME_OVER
        self.game_info[c.CAMERA_START_X] = 0
    elif (self.mario.dead == False):
        self.next = c.MAIN_MENU
        self.game_info[c.CAMERA_START_X] = 0
    elif (self.overhead_info_display.time == 0):
        self.next = c.TIME_OUT
    else:
        if ((self.mario.rect.x > 3670) and (self.game_info[c.CAMERA_START_X] == 0)):
            self.game_info[c.CAMERA_START_X] = 3440
        self.next = c.LOAD_SCREEN
