-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[proc,boardgames_challenge_update].cs2
31 lines (31 loc) · 1.36 KB
/
[proc,boardgames_challenge_update].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
// 3426
[proc,boardgames_challenge_update](int $int0)
def_graphic $graphic1 = "options_radio_buttons,0";
def_graphic $graphic2 = "options_radio_buttons,1";
if_setgraphic($graphic1, boardgames_challenge:5);
if_setgraphic($graphic1, boardgames_challenge:9);
if_setgraphic($graphic1, boardgames_challenge:13);
if_setgraphic($graphic1, boardgames_challenge:17);
if (~on_mobile = false) {
if_setonmouserepeat("settrans(boardgames_challenge:5, 127)", boardgames_challenge:4);
if_setonmouseleave("settrans(boardgames_challenge:5, 0)", boardgames_challenge:4);
if_setonmouserepeat("settrans(boardgames_challenge:9, 127)", boardgames_challenge:8);
if_setonmouseleave("settrans(boardgames_challenge:9, 0)", boardgames_challenge:8);
if_setonmouserepeat("settrans(boardgames_challenge:13, 127)", boardgames_challenge:12);
if_setonmouseleave("settrans(boardgames_challenge:13, 0)", boardgames_challenge:12);
if_setonmouserepeat("settrans(boardgames_challenge:17, 127)", boardgames_challenge:16);
if_setonmouseleave("settrans(boardgames_challenge:17, 0)", boardgames_challenge:16);
}
if ($int0 = -1) {
$int0 = %varbit61;
}
switch_int ($int0) {
case 0 :
if_setgraphic($graphic2, boardgames_challenge:5);
case 1 :
if_setgraphic($graphic2, boardgames_challenge:9);
case 2 :
if_setgraphic($graphic2, boardgames_challenge:13);
case 3 :
if_setgraphic($graphic2, boardgames_challenge:17);
}