-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[proc,script1665].cs2
25 lines (25 loc) · 1.61 KB
/
[proc,script1665].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
// 1665
[proc,script1665](component $component0, int $int1, int $int2, string $string0, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8)
cc_deleteall($component0);
cc_create($component0, ^iftype_graphic, 0);
cc_setsize(7, 5, ^setsize_abs, ^setsize_abs);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre);
if (%varcint186 = $int2) {
cc_setgraphic("sortarrows,1");
cc_settrans(0);
if_setonmouserepeat("script1528(event_com, cc_getid, 120, $component8, $string0)", $component0);
if_setonmouseleave("cc_settrans(event_com, cc_getid, 0, $component8)", $component0);
if_setonclick("chatchannel_setup_sortbutton_clicksort($int1, $component3, $component4, $component5, $component6, $component7, $component8)", $component0);
} else if (%varcint186 = $int1) {
cc_setgraphic("sortarrows,0");
cc_settrans(0);
if_setonmouserepeat("script1528(event_com, cc_getid, 120, $component8, $string0)", $component0);
if_setonmouseleave("cc_settrans(event_com, cc_getid, 0, $component8)", $component0);
if_setonclick("chatchannel_setup_sortbutton_clicksort($int2, $component3, $component4, $component5, $component6, $component7, $component8)", $component0);
} else {
cc_setgraphic("sortarrows,0");
cc_settrans(100);
if_setonmouserepeat("script1528(event_com, cc_getid, 200, $component8, $string0)", $component0);
if_setonmouseleave("cc_settrans(event_com, cc_getid, 100, $component8)", $component0);
if_setonclick("chatchannel_setup_sortbutton_clicksort($int1, $component3, $component4, $component5, $component6, $component7, $component8)", $component0);
}