'Called when Mario is in a DEATH_JUMP state'

def jumping_to_death(self):

    if (self.death_timer == 0):
        self.death_timer = self.current_time
    elif ((self.current_time - self.death_timer) > 500):
        self.rect.y += self.y_vel
        self.y_vel += self.gravity
