-
Notifications
You must be signed in to change notification settings - Fork 11
/
[proc,bankmain_viewbuttons].cs2
93 lines (93 loc) · 6.25 KB
/
[proc,bankmain_viewbuttons].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
// 3276
[proc,bankmain_viewbuttons](component $component0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8, component $component9, component $component10, component $component11, component $component12, component $component13, component $component14, component $component15, component $component16, component $component17, component $component18, component $component19, component $component20, component $component21)
if ($component0 = $component16) {
if_sethide(true, $component14);
if_sethide(true, $component15);
if_sethide(false, $component16);
if_sethide(false, $component2);
if_sethide(true, $component3);
if_setonkey(null, $component15);
cc_deleteall($component2);
cc_create($component2, ^iftype_graphic, 0);
.cc_create($component2, ^iftype_graphic, 1);
cc_setposition(0, 0, ^setpos_abs_left, ^setpos_abs_top);
.cc_setposition(0, 0, ^setpos_abs_left, ^setpos_abs_top);
cc_setsize(25, 25, ^setsize_abs, ^setsize_abs);
.cc_setsize(25, 25, ^setsize_abs, ^setsize_abs);
cc_setgraphic("miscgraphics3,1");
.cc_setgraphic("banktab_icons,2");
.cc_settiling(true);
if_setonmouserepeat("cc_settrans(event_com, .cc_getid, 75, null)", $component2);
if_setonmouseleave("cc_settrans(event_com, .cc_getid, 0, null)", $component2);
if_setop(1, "Hide menu", $component2);
if_setonop("bankmain_viewbuttons($component14, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10, $component11, $component12, $component13, $component14, $component15, $component16, $component17, $component18, $component19, $component20, $component21)", $component2);
if (~bankmain_searching = 1) {
~meslayer_close(1, 1, 1);
}
if_settext("Bank settings menu", $component7);
%varcint386 = false;
} else if ($component0 = $component15) {
if_sethide(true, $component14);
if_sethide(false, $component15);
if_sethide(true, $component16);
if_sethide(true, $component2);
if_sethide(false, $component3);
cc_deleteall($component3);
cc_create($component3, ^iftype_graphic, 0);
.cc_create($component3, ^iftype_graphic, 1);
cc_setposition(0, 0, ^setpos_abs_left, ^setpos_abs_top);
.cc_setposition(0, 0, ^setpos_abs_left, ^setpos_abs_top);
cc_setsize(25, 25, ^setsize_abs, ^setsize_abs);
.cc_setsize(25, 25, ^setsize_abs, ^setsize_abs);
cc_setgraphic("miscgraphics3,1");
.cc_setgraphic("banktab_icons,3");
.cc_settiling(true);
if_setonmouserepeat("cc_settrans(event_com, .cc_getid, 75, null)", $component3);
if_setonmouseleave("cc_settrans(event_com, .cc_getid, 0, null)", $component3);
if_setop(1, "Hide worn items", $component3);
if_setonop("bankmain_viewbuttons($component14, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10, $component11, $component12, $component13, $component14, $component15, $component16, $component17, $component18, $component19, $component20, $component21)", $component3);
if_setonkey("script3326(event_key, event_keychar, $component14, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10, $component11, $component12, $component13, $component14, $component15, $component16, $component17, $component18, $component19, $component20, $component21)", $component3);
if (~bankmain_searching = 1) {
~meslayer_close(1, 1, 1);
}
if_settext("Equip your character...", $component7);
%varcint386 = true;
} else {
if_sethide(false, $component14);
if_sethide(true, $component15);
if_sethide(true, $component16);
if_sethide(false, $component2);
if_sethide(false, $component3);
cc_deleteall($component2);
cc_create($component2, ^iftype_graphic, 0);
.cc_create($component2, ^iftype_graphic, 1);
cc_setposition(0, 0, ^setpos_abs_left, ^setpos_abs_top);
.cc_setposition(0, 0, ^setpos_abs_left, ^setpos_abs_top);
cc_setsize(25, 25, ^setsize_abs, ^setsize_abs);
.cc_setsize(25, 25, ^setsize_abs, ^setsize_abs);
cc_setgraphic("miscgraphics3,0");
.cc_setgraphic("banktab_icons,2");
.cc_settiling(true);
if_setonmouserepeat("cc_settrans(event_com, .cc_getid, 75, null)", $component2);
if_setonmouseleave("cc_settrans(event_com, .cc_getid, 0, null)", $component2);
if_setop(1, "Show menu", $component2);
if_setonop("bankmain_viewbuttons($component16, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10, $component11, $component12, $component13, $component14, $component15, $component16, $component17, $component18, $component19, $component20, $component21)", $component2);
cc_deleteall($component3);
cc_create($component3, ^iftype_graphic, 0);
.cc_create($component3, ^iftype_graphic, 1);
cc_setposition(0, 0, ^setpos_abs_left, ^setpos_abs_top);
.cc_setposition(0, 0, ^setpos_abs_left, ^setpos_abs_top);
cc_setsize(25, 25, ^setsize_abs, ^setsize_abs);
.cc_setsize(25, 25, ^setsize_abs, ^setsize_abs);
cc_setgraphic("miscgraphics3,0");
.cc_setgraphic("banktab_icons,3");
.cc_settiling(true);
if_setonmouserepeat("cc_settrans(event_com, .cc_getid, 75, null)", $component3);
if_setonmouseleave("cc_settrans(event_com, .cc_getid, 0, null)", $component3);
if_setop(1, "Show worn items", $component3);
if_setonop("bankmain_viewbuttons($component15, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10, $component11, $component12, $component13, $component14, $component15, $component16, $component17, $component18, $component19, $component20, $component21)", $component3);
if_setonkey("script3326(event_key, event_keychar, $component15, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10, $component11, $component12, $component13, $component14, $component15, $component16, $component17, $component18, $component19, $component20, $component21)", $component3);
~bankmain_build($component1, $component2, $component4, $component5, $component6, $component7, $component8, $component9, $component10, $component11, $component12, $component13, $component17, $component18, $component19, $component20, $component21);
%varcint386 = false;
}
~deltooltip_action($component13);