def METHOD_NAME(multiworld: MultiWorld, player: int) -> None:
    victory_condition = multiworld.victory_condition[player].value
    victory_location = multiworld.get_location("Victory", player)
    if victory_condition == VictoryCondition.option_pure_ending:
        victory_location.access_rule = lambda state: has_orb_count(state, player, 11)
    elif victory_condition == VictoryCondition.option_peaceful_ending:
        victory_location.access_rule = lambda state: has_orb_count(state, player, 33)