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


void script_1051(int a0,int a1,object a2) {
	if (a0 == 19 || a0 == 1019) {
		a0 = script_7026(a0);
	}
	if (script_174(a1, 1, a0, a2) == 0) {
		return;
	}
	script_1062(script_8599(a0), 0, script_1036(), -1, 0, a0);
	return;
}
