| 1 |
if (live_call()) |
| 2 |
return global.live_result; |
| 3 |
draw_set_alpha(hint_button_alpha); |
| 4 |
var check_confirm = keyboard_multicheck(0); |
| 5 |
var cancel_confirm = keyboard_multicheck(1); |
| 6 |
draw_sprite(spr_conveyor_puzzle_hint_blue_base, check_confirm, 254, 645); |
| 7 |
draw_sprite(spr_conveyor_puzzle_hint_red_base, cancel_confirm, 326, 645); |
| 8 |
var blue_button = 0; |
| 9 |
var red_button = 9; |
| 10 |
switch (global.action_key) |
| 11 |
{ |
| 12 |
case "Z": |
| 13 |
blue_button = 0; |
| 14 |
break; |
| 15 |
case "X": |
| 16 |
blue_button = 8; |
| 17 |
break; |
| 18 |
case "A": |
| 19 |
blue_button = 2; |
| 20 |
break; |
| 21 |
case "B": |
| 22 |
blue_button = 4; |
| 23 |
break; |
| 24 |
case "Y": |
| 25 |
blue_button = 6; |
| 26 |
break; |
| 27 |
} |
| 28 |
switch (global.cancel_key) |
| 29 |
{ |
| 30 |
case "X": |
| 31 |
red_button = 8; |
| 32 |
break; |
| 33 |
case "A": |
| 34 |
red_button = 2; |
| 35 |
break; |
| 36 |
case "B": |
| 37 |
red_button = 4; |
| 38 |
break; |
| 39 |
case "Y": |
| 40 |
red_button = 6; |
| 41 |
break; |
| 42 |
} |
| 43 |
draw_sprite(spr_conveyor_puzzle_hint_letters, blue_button + check_confirm, 254, 645); |
| 44 |
draw_sprite(spr_conveyor_puzzle_hint_letters, red_button + cancel_confirm, 326, 645); |
| 45 |
draw_set_alpha(1); |