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


int script_9967(int a0) {
	int v1 = idx17mapData('i', 'J', 7699, a0);
	if (v1 == -1) {
		return 0;
	}
	int v0 = idx22mapAttribute(v1, 3481);
	if (v0 == -1) {
		return 0;
	}
	return script_9968(script_9970(v0));
}
