-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[proc,poh_costumes_drawalternates].cs2
49 lines (49 loc) · 1.85 KB
/
[proc,poh_costumes_drawalternates].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
// 3537
[proc,poh_costumes_drawalternates](int $int0, int $int1, int $int2, int $int3, int $int4, int $int5, namedobj $namedobj6, boolean $boolean7, component $component8, int $int9)(int, int, int, int)
def_boolean $boolean10 = enum(obj, boolean, enum_3305, $namedobj6);
def_int $int11 = 0;
def_namedobj $namedobj12 = null;
def_int $num13 = 0;
def_int $int14 = 0;
def_enum $enum15 = enum(obj, enum, enum_3304, $namedobj6);
if ($enum15 ! null) {
$int11 = enum_getoutputcount($enum15);
while ($int11 > 0) {
$int11 = calc($int11 - 1);
$namedobj12 = enum(int, namedobj, $enum15, $int11);
if ($namedobj12 ! null) {
$num13 = invother_total(inv_637, $namedobj12);
if ($num13 > 0) {
$int0, $int1, $int2, $int14 = ~poh_costumes_drawitem($int0, $int1, $int2, $int3, $int4, $int5, $namedobj12, $num13, $boolean7, $component8, $int9), 1;
if ($boolean10 = true) {
return($int0, $int1, $int2, $int14);
}
} else if ($boolean10 = false) {
$int2 = ~poh_costumes_hideitem($int2, $component8, $int9);
}
}
}
} else {
$namedobj12 = enum(obj, namedobj, enum_3303, $namedobj6);
if ($namedobj12 ! null) {
$num13 = invother_total(inv_637, $namedobj12);
if ($num13 > 0) {
$int0, $int1, $int2, $int14 = ~poh_costumes_drawitem($int0, $int1, $int2, $int3, $int4, $int5, $namedobj12, $num13, $boolean7, $component8, $int9), 1;
if ($boolean10 = true) {
return($int0, $int1, $int2, $int14);
}
} else if ($boolean10 = false) {
$int2 = ~poh_costumes_hideitem($int2, $component8, $int9);
}
}
}
$num13 = invother_total(inv_637, $namedobj6);
if ($int14 = 0 | $num13 > 0) {
$int0, $int1, $int2 = ~poh_costumes_drawitem($int0, $int1, $int2, $int3, $int4, $int5, $namedobj6, $num13, $boolean7, $component8, $int9);
if ($num13 > 0) {
$int14 = 1;
}
} else {
$int2 = ~poh_costumes_hideitem($int2, $component8, $int9);
}
return($int0, $int1, $int2, $int14);