Pirates claim cup advantage