1 | if (instance_exists(obj_mainchara)) |
2 | { |
3 | if (obj_mainchara.xprevious < obj_mainchara.x || global.facing == 1 || obj_time.right) |
4 | { |
5 | if (obj_mainchara.x > x) |
6 | caster_set_volume(mynoise, 1); |
7 | } |
8 | else |
9 | { |
10 | caster_set_volume(mynoise, 0); |
11 | } |
12 | alarm[0] = 6; |
13 | } |
14 | else |
15 | { |
16 | caster_set_volume(mynoise, 0); |
17 | } |
18 | global.flag[47 status_creepy_tundra] += 1; |