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


void script_2864() {
	int v0 = 0;
	if (cs2_configs['cfg1074'] == 0) {
		cs2method_10676(script_2865(cs2_configs['cfg1070'], cs2_configs['cfg1071']), cs2_configs['cfg1073'], 0, 25);
		cs2method_10886(cs2_configs['cfg1070'], cs2_configs['cfg1069'], 0, 25);
		v0 = script_2867(cs2_configs['cfg1070'], script_2865(cs2_configs['cfg1070'], cs2_configs['cfg1071']));
	} else if (cs2_configs['cfg1074'] == 1) {
		cs2method_10886(cs2_configs['cfg1070'], cs2_configs['cfg1069'], 20, 3);
		cs2method_10676(cs2_configs['cfg1072'], 50, 20, 3);
		v0 = script_2867(cs2_configs['cfg1070'], cs2_configs['cfg1072']);
	} else {
		cs2method_11137(cs2_configs['cfg1070']);
	}
	if (v0 == 0) {
		cs2_configs['cfg1075'] = 0;
	} else {
		cs2_configs['cfg1075'] = cs2method_10051(cs2method_10461(v0, 1), 8191);
	}
	return;
}
