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


void script_8294(int a0) {
	int v2 = idx22mapAttribute(21301, 3509);
	int v0 = 0;
	int v1 = 0;
	if (a0 == 1) {
		script_8844(1, 13, 0, idx22mapAttribute(21301, 3507), 1);
	} else {
		if (cs2method_11038(idx22mapAttribute(21301, 3507), 1) == 1) {
			cs2method_10159(1, 0, 0, -1, 0, -1, 0, -1, 0, -1, 0);
		}
	}
	return;
}
