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


script_5614_struct(3,0,0) script_5614(int a0,int a1,int a2,int a3,int a4) {
	if (cs2method_10133() > a1) {
		a1 = cs2method_10060(cs2method_10133(), 50);
		if (a2 == 1) {
			if (cs2method_10060(a3, 5) <= 100) {
				a3 = cs2method_10060(a3, 5);
			} else {
				a3 = 100;
				a2 = 0;
			}
		} else if (cs2method_10461(a3, 5) >= 0) {
			a3 = cs2method_10461(a3, 5);
		} else {
			a3 = 0;
			a2 = 1;
		}
		cs2method_10960(a4, 5, 60, a3, a0);
	}
	return new script_5614_struct(a3, a2, a1);
}
