-
Notifications
You must be signed in to change notification settings - Fork 0
/
[clientscript,ironman_modebutton_op].cs2
25 lines (25 loc) · 2.03 KB
/
[clientscript,ironman_modebutton_op].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
// 2115
[clientscript,ironman_modebutton_op](int $opindex0, component $component1, int $int2, int $int3, int $int4, component $component5, component $component6, component $component7, component $component8, component $component9, component $component10)
if ($opindex0 = 1 & cc_find($component1, $int3) = ^true & .cc_find($component1, $int2) = ^true) {
sound_synth(interface_select1, 1, 0);
%varbit1777 = $int4;
~ironman_modebutton_redraw($component1, $int2, $int3, $int4, $component5, $component6, $component7, $component8, $component9, $component10);
if ($component1 ! $component5 & cc_find($component5, $int3) = ^true & .cc_find($component5, $int2) = ^true) {
~ironman_modebutton_redraw($component5, $int2, $int3, 0, $component5, $component6, $component7, $component8, $component9, $component10);
}
if ($component1 ! $component6 & cc_find($component6, $int3) = ^true & .cc_find($component6, $int2) = ^true) {
~ironman_modebutton_redraw($component6, $int2, $int3, 1, $component5, $component6, $component7, $component8, $component9, $component10);
}
if ($component1 ! $component7 & cc_find($component7, $int3) = ^true & .cc_find($component7, $int2) = ^true) {
~ironman_modebutton_redraw($component7, $int2, $int3, 3, $component5, $component6, $component7, $component8, $component9, $component10);
}
if ($component1 ! $component8 & cc_find($component8, $int3) = ^true & .cc_find($component8, $int2) = ^true) {
~ironman_modebutton_redraw($component8, $int2, $int3, 2, $component5, $component6, $component7, $component8, $component9, $component10);
}
if ($component1 ! $component9 & cc_find($component9, $int3) = ^true & .cc_find($component9, $int2) = ^true) {
~ironman_modebutton_redraw($component8, $int2, $int3, 2, $component5, $component6, $component7, $component8, $component9, $component10);
}
if ($component1 ! $component10 & cc_find($component10, $int3) = ^true & .cc_find($component10, $int2) = ^true) {
~ironman_modebutton_redraw($component8, $int2, $int3, 2, $component5, $component6, $component7, $component8, $component9, $component10);
}
}