-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[proc,script413].cs2
38 lines (38 loc) · 1.49 KB
/
[proc,script413].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
// 413
[proc,script413](int $int0, string $string0, component $component1, component $component2, component $component3, component $component4, component $component5)
if ($int0 < 32 & testbit(%var1076, $int0) = ^true | $int0 >= 32 & testbit(%var1344, calc($int0 % 32)) = ^true) {
if ($int0 = 35) {
if (%varbit5362 = 1) {
cc_setgraphic("options_radio_buttons,5");
.cc_setop(1, "Enable");
} else {
cc_setgraphic("options_radio_buttons,6");
.cc_setop(1, "Disable");
}
.cc_setonop("slayer_rewards_unlock_confirm(false, $int0, $string0, $component1, $component2, $component3, $component4, $component5, -1)");
return;
}
if ($int0 = 43) {
if (%varbit6251 = 1) {
cc_setgraphic("options_radio_buttons,5");
.cc_setop(1, "Enable");
} else {
cc_setgraphic("options_radio_buttons,6");
.cc_setop(1, "Disable");
}
.cc_setonop("slayer_rewards_unlock_confirm(false, $int0, $string0, $component1, $component2, $component3, $component4, $component5, -1)");
return;
}
cc_setgraphic("options_radio_buttons,6");
if (enum(int, boolean, enum_854, $int0) = true) {
.cc_setop(1, "Disable");
.cc_setonop("slayer_rewards_unlock_confirm(false, $int0, $string0, $component1, $component2, $component3, $component4, $component5, -1)");
} else {
.cc_setop(1, "");
.cc_setonop(null);
}
} else {
cc_setgraphic("options_radio_buttons,4");
.cc_setop(1, "Unlock");
.cc_setonop("slayer_rewards_unlock_confirm(true, $int0, $string0, $component1, $component2, $component3, $component4, $component5, -1)");
}