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


int script_9224(int a0,int a1) {
	int v1 = 0;
	object v6 = "0";
	int v2 = a0;
	int v0 = a1;
	script_10022_struct(1,1,0) v3 = script_10022(v2, v0);
	object v5 = v3.objectpart_0;
	int v4 = v3.intpart_0;
	if (v4 == 1) {
		script_7773(0, -120, v5, 1);
	} else {
		if (v4 == 2) {
			v4 = 1;
		}
	}
	return v4;
}
