-
Notifications
You must be signed in to change notification settings - Fork 11
/
[proc,league_side_panel_update_text].cs2
38 lines (38 loc) · 1.21 KB
/
[proc,league_side_panel_update_text].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
// 3228
[proc,league_side_panel_update_text](component $component0, component $component1, component $component2, component $component3, int $int4, int $int5)
def_int $int6 = -1;
if ($int5 ! -1 & $int4 ! -1) {
$int6 = calc($int5 - $int4);
}
if ($int6 <= 0 & if_find($component1) = true) {
if (%varbit11696 = 0) {
cc_settext("<col=ffffff>You can unlock a new Relic!</col>");
} else {
cc_settext("<col=ffffff>You have unlocked all Relics!</col>");
}
} else if (if_find($component1) = true) {
cc_settext("<col=ffffff><tostring($int6)></col> points until next Relic.");
}
def_int $int7 = -1;
def_struct $struct8 = ~script3682(0);
if ($struct8 ! null) {
$int7 = struct_param($struct8, param_1010);
} else {
$int7 = 1;
}
$int6 = calc($int7 - %varbit10046);
if ($int6 <= 0 & if_find($component0) = true) {
if (%varbit10666 = 0) {
cc_settext("<col=ffffff>You can unlock a new Area!</col>");
} else {
cc_settext("<col=ffffff>You have unlocked all Areas!</col>");
}
} else if (if_find($component0) = true) {
cc_settext("<col=ffffff><tostring($int6)></col> tasks until next Area.");
}
if (if_find($component2) = true) {
cc_settext(tostring($int4));
}
if (if_find($component3) = true) {
cc_settext(tostring(%varbit10046));
}