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[clientscript,script6286].cs2
31 lines (31 loc) · 1.79 KB
/
[clientscript,script6286].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
// 6286
[clientscript,script6286](int $int0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8, component $component9, component $component10)
def_int $comsubid11 = ~steelborder($component1, "", 0);
if (cc_find($component1, $comsubid11) = ^true) {
~script6298;
}
if_setonvartransmit("script6297($component1, $comsubid11){var3464, var3465}", $component1);
cc_deleteall($component2);
def_string $string0 = "Are you ready to fight?";
def_int $int12 = calc(parawidth($string0, if_getwidth($component2), p12_full) + 3 + 17);
cc_create($component2, ^iftype_rectangle, 0);
.cc_create($component2, ^iftype_text, 1);
def_int $comsubid13 = .cc_getid;
cc_setsize(calc(3 + $int12), 1, ^setsize_abs, ^setsize_minus);
.cc_setsize($int12, 1, ^setsize_abs, ^setsize_minus);
cc_setposition(0, 0, ^setpos_abs_right, ^setpos_abs_top);
.cc_setposition(0, 0, ^setpos_abs_right, ^setpos_abs_top);
cc_setfill(true);
cc_setcolour(^white);
cc_setop(1, "Set");
.cc_setcolour(0xffb83f);
.cc_settextfont(p12_full);
.cc_settextalign(^settextalign_left, ^settextalign_centre, 0);
.cc_settextshadow(true);
.cc_settext($string0);
.cc_create($component2, ^iftype_graphic, 2);
.cc_setsize(17, 17, ^setsize_abs, ^setsize_abs);
.cc_setposition(0, calc((if_getheight($component2) - 1 - 17) / 2), ^setpos_abs_right, ^setpos_abs_top);
%varcint213 = -1;
if_setonvartransmit("script6287(event_com, cc_getid, $comsubid13, .cc_getid, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10){var3464, var3465}", $component2);
~script6288($component2, cc_getid, $comsubid13, .cc_getid, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10);