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


int script_9828(int a0,int a1) {
	if (a1 != 1) {
		return 0;
	}
	if (a0 == 31165) {
		return 0;
	}
	if (itemDefsAttribute(a0, 4076) == 1) {
		return 1;
	}
	if (cs2method_10873(a0) != -1 && idx17mapData('o', '1', 3446, a0) == 0) {
		return 1;
	}
	return 0;
}
