-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[clientscript,duel_confirm_initworn].cs2
93 lines (93 loc) · 2.27 KB
/
[clientscript,duel_confirm_initworn].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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
// 764
[clientscript,duel_confirm_initworn]
def_int $int0 = 0;
def_int $slot1 = 0;
if_setonvartransmit("duel_confirm_worn{var286}", interface_476:39);
while ($int0 < 11) {
cc_create(interface_476:11, ^iftype_graphic, $int0);
cc_setsize(36, 32, ^setsize_abs, ^setsize_abs);
if ($int0 = 0) {
cc_setposition(60, 7, ^setpos_abs_left, ^setpos_abs_top);
$slot1 = 0;
}
if ($int0 = 1) {
cc_setposition(19, 46, ^setpos_abs_left, ^setpos_abs_top);
$slot1 = 1;
}
if ($int0 = 2) {
cc_setposition(60, 46, ^setpos_abs_left, ^setpos_abs_top);
$slot1 = 2;
}
if ($int0 = 3) {
cc_setposition(98, 46, ^setpos_abs_left, ^setpos_abs_top);
$slot1 = 13;
}
if ($int0 = 4) {
cc_setposition(19, 85, ^setpos_abs_left, ^setpos_abs_top);
$slot1 = 3;
}
if ($int0 = 5) {
cc_setposition(60, 85, ^setpos_abs_left, ^setpos_abs_top);
$slot1 = 4;
}
if ($int0 = 6) {
cc_setposition(101, 85, ^setpos_abs_left, ^setpos_abs_top);
$slot1 = 5;
}
if ($int0 = 7) {
cc_setposition(60, 125, ^setpos_abs_left, ^setpos_abs_top);
$slot1 = 7;
}
if ($int0 = 8) {
cc_setposition(19, 165, ^setpos_abs_left, ^setpos_abs_top);
$slot1 = 9;
}
if ($int0 = 9) {
cc_setposition(60, 165, ^setpos_abs_left, ^setpos_abs_top);
$slot1 = 10;
}
if ($int0 = 10) {
cc_setposition(101, 165, ^setpos_abs_left, ^setpos_abs_top);
$slot1 = 12;
}
if (inv_getobj(worn, $slot1) ! null) {
cc_setobject(inv_getobj(worn, $slot1), inv_getnum(worn, $slot1));
cc_setopbase("<col=ff981f><oc_name(inv_getobj(worn, $slot1))>");
cc_setgraphicshadow(0x333333);
cc_setoutline(1);
if ($slot1 = 0) {
if_setgraphic(null, interface_476:28);
}
if ($slot1 = 1) {
if_setgraphic(null, interface_476:29);
}
if ($slot1 = 2) {
if_setgraphic(null, interface_476:30);
}
if ($slot1 = 13) {
if_setgraphic(null, interface_476:31);
}
if ($slot1 = 3) {
if_setgraphic(null, interface_476:32);
}
if ($slot1 = 4) {
if_setgraphic(null, interface_476:33);
}
if ($slot1 = 5) {
if_setgraphic(null, interface_476:34);
}
if ($slot1 = 7) {
if_setgraphic(null, interface_476:35);
}
if ($slot1 = 9) {
if_setgraphic(null, interface_476:38);
}
if ($slot1 = 10) {
if_setgraphic(null, interface_476:37);
}
if ($slot1 = 12) {
if_setgraphic(null, interface_476:36);
}
}
$int0 = calc($int0 + 1);
}