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


int script_9221(int a0) {
	int v5 = 0;
	object v3 = "0";
	int v4 = a0;
	script_10024_struct(1,1,0) v0 = script_10024(v4);
	object v1 = v0.objectpart_0;
	int v2 = v0.intpart_0;
	if (v2 == 1) {
		script_7773(0, -120, v1, 1);
	} else {
		if (v2 == 2) {
			v2 = 1;
		}
	}
	return v2;
}
