int script_91(int arg0) {
	switch (cs2method5004(arg0)) {
		case 7:
			return 1;
		case 18:
		case 3:
			if (((boolean)cs2method5005())) {
				return 1;
			}
			if (((boolean)cs2method5005()) && isFriend(cs2method5019(arg0))) {
				return 1;
			}
			return 0;
		case 19:
		case 5:
		case 6:
			if (cs2method5005() < 2) {
				return 1;
			}
			return 0;
	}
	return 0;
}
