-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[proc,script4303].cs2
53 lines (53 loc) · 992 Bytes
/
[proc,script4303].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
// 4303
[proc,script4303](int $int0)(string, graphic)
def_int $int1 = -1;
switch_int ($int0) {
case 128 :
$int1 = -6;
case 127 :
$int1 = -5;
case 126 :
$int1 = -4;
case 125 :
$int1 = -3;
case 100 :
$int1 = -2;
case -1 :
$int1 = -1;
case 10 :
$int1 = %varbit12188;
case 20 :
$int1 = %varbit12189;
case 30 :
$int1 = %varbit12190;
case 40 :
$int1 = %varbit12191;
case 50 :
$int1 = %varbit12192;
case 60 :
$int1 = %varbit12193;
case 70 :
$int1 = %varbit12194;
case 80 :
$int1 = %varbit12195;
case 90 :
$int1 = %varbit12196;
case 105 :
$int1 = %varbit12197;
case 110 :
$int1 = %varbit12198;
case 115 :
$int1 = %varbit12201;
case 120 :
$int1 = %varbit12202;
case default :
$int1 = %varbit12187;
}
def_string $string0 = enum(int, string, enum_3797, $int1);
if (string_length($string0) > 0) {
return($string0, enum(int, graphic, enum_3798, $int1));
}
if ($int0 > 0) {
return("Rank <tostring($int0)>", null);
}
return("Not ranked", null);