1 | image_alpha = global.image_alpha_enemy_attacking |
2 | if global.using_gamepad |
3 | { |
4 | switch global.pause_key |
5 | { |
6 | case "A": |
7 | sprite_index = spr_autofire_toggle_a |
8 | break |
9 | case "B": |
10 | sprite_index = spr_autofire_toggle_b |
11 | break |
12 | case "X": |
13 | sprite_index = spr_autofire_toggle_x |
14 | break |
15 | case "Y": |
16 | sprite_index = spr_autofire_toggle_y |
17 | break |
18 | } |
19 | |
20 | } |
21 | else |
22 | sprite_index = spr_autofire_toggle_c |