-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[proc,script6197].cs2
23 lines (23 loc) · 1.12 KB
/
[proc,script6197].cs2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 6197
[proc,script6197](component $component0, component $component1)
if (%varbit14028 >= 2) {
if_settext("Now you've agreed on a combat style, customise your <col=ffb83f>load-out</col> and check your opponent's.", $component0);
~stonebutton_draw(true, "<col=9f9f9f>---</col>", p12_full, 0, $component1);
if_clearops($component1);
if_setonmouserepeat(null, $component1);
if_setonmouseleave(null, $component1);
if_setontimer(null, $component1);
if_setonop(null, $component1);
} else if (%varbit14026 = 1) {
if_settext("Please <col=ffb83f>wait</col> while your opponent considers your choice.", $component0);
~stonebutton_draw(true, "<col=9f9f9f>Confirmed</col>", p12_full, 0, $component1);
if_clearops($component1);
if_setonmouserepeat(null, $component1);
if_setonmouseleave(null, $component1);
if_setontimer(null, $component1);
if_setonop(null, $component1);
} else {
if_settext("When you are satisfied with the combat style, select <col=ffb83f>Confirm</col>.", $component0);
~stonebutton_init("<col=0dc10d>Confirm</col>", $component1, p12_full, 0);
if_setonop("script6198(event_op, $component0, $component1)", $component1);
}