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


void script_7099(int a0,int a1,int a2) {
	object v1;
	if (a1 == -1) {
		return;
	}
	object v0 = "";
	if (cs2method_10133() >= a0) {
		if (cs2_configs['cfg2229'] > 0) {
			v1 = (string)cs2method_10379(cs2method_11048(1, a2)) + "s";
		} else {
			v1 = "Done";
		}
		cs2method_10026(a1, v1);
		if (a2 > 0) {
			cs2method_20162(load function<7099>, new WidgetPointer(-32768,3), cs2method_10461(a2, 1), cs2method_10060(cs2method_10133(), 50), "Iii", new WidgetPointer(1251,11));
		} else {
			cs2method_20162(new function<none>() {
			}, "", new WidgetPointer(1251,11));
		}
	}
	return;
}
