-
Notifications
You must be signed in to change notification settings - Fork 11
/
[clientscript,bankside_init].cs2
34 lines (34 loc) · 1.92 KB
/
[clientscript,bankside_init].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
// 294
[clientscript,bankside_init](component $component0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8, component $component9, component $component10)
cc_deleteall($component3);
cc_deleteall($component4);
def_int $size11 = 0;
def_int $size12 = inv_size(inv);
while ($size11 < $size12) {
cc_create($component3, ^iftype_graphic, $size11);
.cc_create($component4, ^iftype_graphic, $size11);
cc_setsize(36, 32, ^setsize_abs, ^setsize_abs);
.cc_setsize(36, 32, ^setsize_abs, ^setsize_abs);
cc_setgraphicshadow(0x333333);
.cc_setgraphicshadow(0x333333);
cc_setoutline(1);
.cc_setoutline(1);
cc_setdragdeadzone(5);
.cc_setdragdeadzone(5);
cc_setdragdeadtime(5);
.cc_setdragdeadtime(5);
cc_sethide(false);
.cc_sethide(false);
$size11 = calc($size11 + 1);
}
~bankside_build($component1, $component3, $component2, $component4, $component5, $component8);
if_setoninvtransmit("bankside_build($component1, $component3, $component2, $component4, $component5, $component8){inv, inv_516, inv_646}", $component1);
if_setonvartransmit("bankside_build($component1, $component3, $component2, $component4, $component5, $component8){var304, var1666, var1141, var261, var262, var263}", $component1);
~bankside_bag_draw($component6, inv_516);
if_setoninvtransmit("bankside_bag_draw($component6, inv_516){inv_516}", $component5);
~bankside_bag_draw($component9, inv_646);
if_setoninvtransmit("bankside_bag_draw($component9, inv_646){inv_646}", $component8);
~bankside_switchview($component1, $component5, $component8);
if_setonvartransmit("bankside_switchview(-1, $component1, $component5, $component8, -1){var115}", $component0);
if_setonop("bankside_switchview(event_opindex, $component1, $component5, $component8, 0)", $component7);
if_setonop("bankside_switchview(event_opindex, $component1, $component5, $component8, 0)", $component10);