1 | var _forcefield = instance_nearest(x + 120, y - 200, obj_forcefield); |
2 | if (!i_ex(_forcefield)) |
3 | exit; |
4 | if (buttonIndex == 0) |
5 | instance_destroy(_forcefield); |
6 | with (_forcefield) |
7 | { |
8 | x -= 240; |
9 | y += 160; |
10 | with (solid1) |
11 | { |
12 | x -= 240; |
13 | y += 160; |
14 | } |
15 | } |