1 | function scr_controls_battle_main |
2 | { |
3 | if (image_alpha == 0) |
4 | { |
5 | moveable = false |
6 | no_loop_moveable = false |
7 | } |
8 | if (image_alpha == 1 && no_loop_moveable == false) |
9 | { |
10 | alarm[0] |
11 | no_loop_moveable = true |
12 | } |
13 | if (image_alpha == 1) |
14 | { |
15 | key_right = global.right_keyp |
16 | key_left = global.left_keyp |
17 | } |
18 | else |
19 | { |
20 | key_right = 0 |
21 | key_left = 0 |
22 | } |
23 | if (image_alpha == 1 && moveable == true) |
24 | key_select = keyboard_multicheck_pressed(0) |
25 | else |
26 | key_select = 0 |
27 | } |