Usually you can all capture it. Sometimes if you are all trying and someone else gets it, the pokemon will "run away" for others. I don't think it's a hard rule. Currently, you only battle at gyms. If it's your gym, you get one pokemon to go against any defenders. If it's another teams, you get...