This repository was archived by the owner on Feb 4, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path[proc,script4941].cs2
32 lines (32 loc) · 1.54 KB
/
[proc,script4941].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
// 4941
[proc,script4941](int $int0, int $int1)
def_component $component2 = null;
def_struct $struct3 = enum(int, struct, enum_5312, $int1);
switch_int ($int0) {
case 0 :
$component2 = interface_865:27;
case 1 :
$component2 = interface_865:28;
case 2 :
$component2 = interface_865:29;
}
cc_deleteall($component2);
def_string $string0 = struct_param($struct3, param_1896);
def_string $text1 = ~script4920($struct3);
def_boolean $boolean4 = struct_param($struct3, param_1901);
def_int $int5 = 0;
if ($boolean4 = true) {
$int5 = ~script4980($struct3);
}
if ($int5 = 1) {
$string0 = append($string0, " (II)");
} else if ($int5 = 2) {
$string0 = append($string0, " (III)");
}
def_enum $enum6 = enum(int, enum, enum_5364, calc($int5 + 1));
def_graphic $graphic7 = enum(int, graphic, $enum6, struct_param($struct3, param_1914));
def_graphic $graphic8 = enum(int, graphic, enum_5363, calc($int5 + 1));
def_string $text2 = "+<tostring(struct_param($struct3, param_1903))> Glory per wave";
~create_text($component2, 0, b12_full, 0, 0, ^setpos_abs_centre, ^setpos_abs_top, 0, 20, ^setsize_minus, ^setsize_abs, $string0, true, 0xff981f, ^settextalign_centre, ^settextalign_centre, 13);
~create_text($component2, 1, p12_full, 0, 0, ^setpos_abs_centre, ^setpos_abs_centre, 0, 60, ^setsize_minus, ^setsize_abs, $text1, true, 0xff981f, ^settextalign_centre, ^settextalign_centre, 0);
~create_text($component2, 2, p11_full, 0, 0, ^setpos_abs_centre, ^setpos_abs_bottom, 0, 20, ^setsize_minus, ^setsize_abs, $text2, true, 0x0dc10d, ^settextalign_centre, ^settextalign_bottom, 0);