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


void script_8705(int a0) {
	if (idx17mapData('i', 'J', 7716, a0) == -1 || cs2method_11114(105, 7717, a0) == 0) {
		return;
	}
	script_8707(a0);
	if (cs2_configs['cfg3477'] == 1 || script_1241() == 1 || script_8785() == 1) {
	} else if (cs2_configs['cfg3475'] == 1) {
		script_8702(9, 8);
		cs2_configs['cfg3475'] = 0;
	} else {
		script_8708(a0, 8);
	}
	script_8706(a0);
	return;
}
