def distance_score(pos1: list,
                   pos2: list,
                   scene_x_scale: float,
                   scene_y_scale: float):
    """
    Calculate distance score between two points using scene relative scale.

    :param pos1: First point.
    :param pos2: Second point.
    :param scene_x_scale: X scene scale.
    :param scene_y_scale: Y scene scale.
    :return: Distance score.
    """
    # Calculate distances
    dif_x = abs(pos1[0] - pos2[0])
    dif_y = abs(pos1[1] - pos2[1])

    # Calculate relative distances
    scale_x = dif_x / scene_x_scale
    scale_y = dif_y / scene_y_scale

    return 1 - (0.5 * scale_x + 0.5 * scale_y)