-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[proc,target_system_redraw].cs2
44 lines (44 loc) · 1.71 KB
/
[proc,target_system_redraw].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
// 3144
[proc,target_system_redraw](component $component0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7)
if (%varbit6704 = 1) {
if_sethide(true, $component2);
if_sethide(false, $component1);
} else {
if_sethide(false, $component2);
if_sethide(true, $component1);
}
if (~on_mobile = true) {
~script4729(interface_90:4, $component0, clearbit(clearbit(36580, 13), 12), ^setpos_abs_right, ^setpos_abs_top, false);
} else if (%varbit6715 = 2) {
if (%varbit4143 = 1) {
if_setposition(106, 2, ^setpos_abs_left, ^setpos_abs_top, $component0);
} else {
if_setposition(5, 2, ^setpos_abs_left, ^setpos_abs_top, $component0);
}
~script4729(interface_90:4, $component0, 52968, ^setpos_abs_left, ^setpos_abs_top, false);
} else if (%varbit6715 = 3) {
if_setposition(0, 2, ^setpos_abs_centre, ^setpos_abs_top, $component0);
~script4729(interface_90:4, $component0, clearbit(clearbit(52968, 12), 13), ^setpos_abs_centre, ^setpos_abs_top, false);
} else {
if_setposition(0, 2, ^setpos_abs_right, ^setpos_abs_top, $component0);
~script4729(interface_90:4, $component0, clearbit(clearbit(36578, 13), 12), ^setpos_abs_right, ^setpos_abs_top, true);
}
if (%varbit9495 = 0) {
if_settext("---", $component4);
if_setcolour(^white, $component4);
if_sethide(true, $component3);
if_sethide(true, $component6);
return;
}
def_int $int8 = 0;
if (%varbit9493 > 0) {
if (%varbit14886 = 0) {
if_settext("Crater<br>(Nearby!)", $component4);
} else {
if_settext("Crater<br>(<tostring(calc(%varbit14886 * 10))>m)", $component4);
}
} else {
if_settext("Lobby", $component4);
}
if_sethide(true, $component3);
if_sethide(false, $component6);