1 | function scr_controls_battle_heart_red |
2 | { |
3 | if (moveable == true) |
4 | { |
5 | key_right = global.right_key |
6 | key_left = (-global.left_key) |
7 | key_down = global.down_key |
8 | key_up = (-global.up_key) |
9 | key_select = keyboard_multicheck(0) |
10 | key_revert = keyboard_multicheck(1) |
11 | } |
12 | else |
13 | { |
14 | key_right = 0 |
15 | key_left = 0 |
16 | key_down = 0 |
17 | key_up = 0 |
18 | key_select = 0 |
19 | key_revert = 0 |
20 | } |
21 | } |