1 | if (global.interact == 0 && (global.facing == 1 || global.facing == 3)) |
2 | { |
3 | movedir = global.facing; |
4 | ix = 0; |
5 | iy = 0; |
6 | confirm = 1; |
7 | if (movedir == 1) |
8 | { |
9 | ix = x + wd; |
10 | iy = y + 2; |
11 | } |
12 | if (movedir == 3) |
13 | { |
14 | ix = (x - wd) + 5; |
15 | iy = y + 2; |
16 | } |
17 | snd_play(snd_noise); |
18 | snd_play(snd_acquire_lancer); |
19 | if (confirm == 1) |
20 | { |
21 | global.interact = 1; |
22 | movecourse = 1; |
23 | movetimer = 0; |
24 | } |
25 | } |