-
Notifications
You must be signed in to change notification settings - Fork 11
/
[proc,script2989].cs2
33 lines (33 loc) · 1 KB
/
[proc,script2989].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
// 2989
[proc,script2989](component $component0, int $int1, graphic $graphic2)(int)
if (cc_find($component0, calc($int1 + 0)) = ^true) {
cc_setgraphic("tradebacking_dark");
}
if (cc_find($component0, calc($int1 + 1)) = ^true) {
cc_setgraphic("v2_stone_button_in,0");
}
if (cc_find($component0, calc($int1 + 2)) = ^true) {
cc_setgraphic("v2_stone_button_in,1");
}
if (cc_find($component0, calc($int1 + 3)) = ^true) {
cc_setgraphic("v2_stone_button_in,2");
}
if (cc_find($component0, calc($int1 + 4)) = ^true) {
cc_setgraphic("v2_stone_button_in,3");
}
if (cc_find($component0, calc($int1 + 5)) = ^true) {
cc_setgraphic("v2_stone_button_in,4");
}
if (cc_find($component0, calc($int1 + 6)) = ^true) {
cc_setgraphic("v2_stone_button_in,5");
}
if (cc_find($component0, calc($int1 + 7)) = ^true) {
cc_setgraphic("v2_stone_button_in,6");
}
if (cc_find($component0, calc($int1 + 8)) = ^true) {
cc_setgraphic("v2_stone_button_in,7");
}
if (cc_find($component0, calc($int1 + 9)) = ^true) {
cc_setgraphic($graphic2);
}
return(0);