-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[proc,keybind_get_slot].cs2
33 lines (33 loc) · 1.08 KB
/
[proc,keybind_get_slot].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
// 986
[proc,keybind_get_slot](int $key0)(int)
def_int $int1 = -1;
if ($key0 = enum(int, int, enum_1160, %varbit4675)) {
$int1 = 0;
} else if ($key0 = enum(int, int, enum_1160, %varbit4676)) {
$int1 = 1;
} else if ($key0 = enum(int, int, enum_1160, %varbit4677)) {
$int1 = 2;
} else if ($key0 = enum(int, int, enum_1160, %varbit4678)) {
$int1 = 3;
} else if ($key0 = enum(int, int, enum_1160, %varbit4679)) {
$int1 = 4;
} else if ($key0 = enum(int, int, enum_1160, %varbit4680)) {
$int1 = 5;
} else if ($key0 = enum(int, int, enum_1160, %varbit4682)) {
$int1 = 6;
} else if ($key0 = enum(int, int, enum_1160, %varbit4683)) {
$int1 = 7;
} else if ($key0 = enum(int, int, enum_1160, %varbit4684)) {
$int1 = 9;
} else if ($key0 = enum(int, int, enum_1160, %varbit6517)) {
$int1 = 8;
} else if ($key0 = enum(int, int, enum_1160, %varbit4686)) {
$int1 = 11;
} else if ($key0 = enum(int, int, enum_1160, %varbit4687)) {
$int1 = 12;
} else if ($key0 = enum(int, int, enum_1160, %varbit4688)) {
$int1 = 13;
} else if ($key0 = enum(int, int, enum_1160, %varbit4689)) {
$int1 = 10;
}
return($int1);