/* 
 * Script decompiled by jagdecs2 v3.2
 * Decompiler opts:
 * --------------
 * t1LocalAnalyzer:true
 * t2LocalAnalyzer:true
 * beautifier:true
 * --------------
 * Made by mgi125 ;)
 */


int script_6213(int a0) {
	int v0 = idx17mapData('i', 'J', 7716, a0);
	if (v0 == -1) {
		return 0;
	}
	if (idx22mapAttribute(v0, 3522) == 1) {
		if (a0 == 17 && client_configs['cfg3871'] != 1) {
			return 0;
		}
		return 1;
	}
	if (client_configs['cfg3680'].bitcfg22315 == 1 && a0 == 9) {
		return 1;
	}
	return 0;
}
