-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[proc,script3640].cs2
54 lines (54 loc) · 2.74 KB
/
[proc,script3640].cs2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// 3640
[proc,script3640](int $count0, component $component1, component $component2, component $component3, component $component4, component $component5)
def_int $count6 = 0;
while ($count6 < $count0) {
if (cc_find($component1, $count6) = ^true) {
cc_clearops;
switch_int (%varbit6348) {
case 1 :
cc_setop(1, "Buy 1");
cc_setop(2, "Value");
cc_setop(4, "Buy 5");
cc_setop(5, "Buy X");
case 2 :
cc_setop(1, "Buy 5");
cc_setop(2, "Value");
cc_setop(3, "Buy 1");
cc_setop(5, "Buy X");
case 3 :
cc_setop(1, "Buy X");
cc_setop(2, "Value");
cc_setop(3, "Buy 1");
cc_setop(4, "Buy 5");
case default :
cc_setop(1, "Value");
cc_setop(3, "Buy 1");
cc_setop(4, "Buy 5");
cc_setop(5, "Buy X");
}
cc_setop(10, "Examine");
}
$count6 = calc($count6 + 1);
}
switch_int (%varbit6348) {
case 1 :
~script3642(false, false, $component2, -1, $count0, $component1, $component2, $component3, $component4, $component5);
~script3642(true, null, $component3, 1, $count0, $component1, $component2, $component3, $component4, $component5);
~script3642(false, false, $component4, 5, $count0, $component1, $component2, $component3, $component4, $component5);
~script3642(false, false, $component5, 0, $count0, $component1, $component2, $component3, $component4, $component5);
case 2 :
~script3642(false, false, $component2, -1, $count0, $component1, $component2, $component3, $component4, $component5);
~script3642(false, false, $component3, 1, $count0, $component1, $component2, $component3, $component4, $component5);
~script3642(true, null, $component4, 5, $count0, $component1, $component2, $component3, $component4, $component5);
~script3642(false, false, $component5, 0, $count0, $component1, $component2, $component3, $component4, $component5);
case 3 :
~script3642(false, false, $component2, -1, $count0, $component1, $component2, $component3, $component4, $component5);
~script3642(false, false, $component3, 1, $count0, $component1, $component2, $component3, $component4, $component5);
~script3642(false, false, $component4, 5, $count0, $component1, $component2, $component3, $component4, $component5);
~script3642(true, null, $component5, 0, $count0, $component1, $component2, $component3, $component4, $component5);
case default :
~script3642(true, null, $component2, -1, $count0, $component1, $component2, $component3, $component4, $component5);
~script3642(false, false, $component3, 1, $count0, $component1, $component2, $component3, $component4, $component5);
~script3642(false, false, $component4, 5, $count0, $component1, $component2, $component3, $component4, $component5);
~script3642(false, false, $component5, 0, $count0, $component1, $component2, $component3, $component4, $component5);
}