-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[proc,script6210].cs2
23 lines (23 loc) · 1.29 KB
/
[proc,script6210].cs2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 6210
[proc,script6210](component $component0, component $component1, component $component2)
if (%varbit14029 = 1) {
if_settext("Please <col=ffb83f>wait</col> while your opponent considers your load-out.", $component0);
~stonebutton_draw(true, "<col=9f9f9f>Confirmed</col>", p12_full, 0, $component1);
~stonebutton_draw(true, "<col=9f9f9f>Copy Load-out</col>", p12_full, 0, $component2);
if_clearops($component1);
if_setonmouserepeat(null, $component1);
if_setonmouseleave(null, $component1);
if_setontimer(null, $component1);
if_setonop(null, $component1);
if_clearops($component2);
if_setonmouserepeat(null, $component2);
if_setonmouseleave(null, $component2);
if_setontimer(null, $component2);
if_setonop(null, $component2);
} else {
if_settext("Don't forget to <col=ffb83f>check your load-out</col> for <img=11> warnings!<br><br>When you are satisfied with it, and with <col=ffb83f>your opponent's load-out</col>, select <col=ffb83f>Confirm</col>.", $component0);
~stonebutton_init("<col=0dc10d>Confirm</col>", $component1, p12_full, 0);
if_setonop("script6420(event_op, $component0, $component1, $component2)", $component1);
~stonebutton_init("<col=0dc10d>Copy Load-out</col>", $component2, p12_full, 0);
if_setonop("script6420(event_op, $component0, $component1, $component2)", $component1);
}