-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[clientscript,script2361].cs2
27 lines (27 loc) · 1.16 KB
/
[clientscript,script2361].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
// 2361
[clientscript,script2361](component $drop0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, struct $struct7, component $drop8, int $dropsubid9, int $int10)
def_int $int11 = 4;
if (%varbit6670 = 2) {
$int11 = 8;
} else if (%varbit6670 = 3) {
$int11 = 31;
}
if ($int10 < 0 | $int10 > $int11) {
return;
}
def_int $int12 = 0;
if ($drop8 = $drop0) {
if ($dropsubid9 < 0 | $dropsubid9 >= $int11) {
return;
}
$int12 = ~telenexus_get_slot_value($int10);
~telenexus_set_slot($int10, ~telenexus_get_slot_value($dropsubid9));
~telenexus_set_slot($dropsubid9, ~telenexus_get_slot_value($int12));
~script2273($drop0, $component1, $component2, $component3, $component4, $component5, $component6, false);
} else if ($drop8 = interface_19:20) {
~telenexus_remove_tele(~telenexus_get_slot_value($int10));
~script2273($drop0, $component1, $component2, $component3, $component4, $component5, $component6, false);
} else if ($drop8 = interface_19:3) {
%varbit6669 = ~telenexus_get_slot_value($int10);
~telenexus_left_click($drop8, interface_19:7, interface_19:8, interface_19:4, interface_19:6);
}