-
Notifications
You must be signed in to change notification settings - Fork 11
/
[clientscript,bondif_init].cs2
40 lines (40 loc) · 1.33 KB
/
[clientscript,bondif_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
35
36
37
38
39
40
// 3650
[clientscript,bondif_init](int $int0, int $int1)
if ($int0 = 1) {
if_sethide(true, interface_65:28);
if_sethide(true, interface_65:31);
if_sethide(false, interface_65:37);
} else if ($int0 = 2) {
if_sethide(true, interface_65:28);
if_sethide(false, interface_65:31);
if_sethide(true, interface_65:37);
if_sethide(false, interface_65:34);
if_sethide(false, interface_65:35);
if_sethide(false, interface_65:36);
if_setgraphic("premier_silver", interface_65:35);
} else if ($int0 = 3) {
if_sethide(true, interface_65:28);
if_sethide(false, interface_65:31);
if_sethide(true, interface_65:37);
if_sethide(true, interface_65:34);
if_sethide(false, interface_65:35);
if_sethide(true, interface_65:36);
if_setgraphic("premier_gold", interface_65:35);
} else {
if_sethide(false, interface_65:28);
if_sethide(true, interface_65:31);
if_sethide(true, interface_65:37);
}
if ($int1 = 0) {
~script3723(interface_65:104, 1, "Use Bonds");
~script3723(interface_65:105, 0, "My Bonds");
if_sethide(false, interface_65:15);
if_sethide(true, interface_65:10);
if_setonop("bondif_init($int0, 1)", interface_65:105);
} else {
~script3723(interface_65:104, 0, "Use Bonds");
~script3723(interface_65:105, 1, "My Bonds");
if_sethide(true, interface_65:15);
if_sethide(false, interface_65:10);
if_setonop("bondif_init($int0, 0)", interface_65:104);
}