1 | if (noleavefield == 0 && global.flag[352 solved_viro_dodge] != 1) |
2 | { |
3 | if (obj_mainchara.x >= 240) |
4 | noleavefield = instance_create(200, 240, obj_forcefield); |
5 | } |
6 | if (con == 1) |
7 | { |
8 | instance_create(0, 0, obj_shake); |
9 | snd_play(snd_locker); |
10 | global.interact = 1; |
11 | scr_speaker |
12 | msgsetloc(0, |
13 | d = d_make(); |
14 | d.side = 0; |
15 | if (instance_exists(obj_ow_viromaze2_viro)) |
16 | obj_ow_viromaze2_viro.con = 3; |
17 | if (i_ex(noleavefield)) |
18 | { |
19 | with (noleavefield) |
20 | instance_destroy(); |
21 | } |
22 | global.flag[352 solved_viro_dodge] = 1; |
23 | if (instance_exists(obj_overworld_bulletarea)) |
24 | { |
25 | obj_overworld_bulletarea.x = room_width * 5; |
26 | obj_overworld_bulletarea.y = room_height * 5; |
27 | } |
28 | if (instance_exists(obj_forcefield)) |
29 | { |
30 | with (obj_forcefield) |
31 | instance_destroy(); |
32 | } |
33 | con = 2; |
34 | } |
35 | if (con == 2) |
36 | { |
37 | if (!d_ex()) |
38 | { |
39 | global.interact = 0; |
40 | con = 3; |
41 | } |
42 | } |