1 |
if (path_position == 1 && conversation == 0) |
2 |
{ |
3 |
with (obj_mainchara) |
4 |
path_end(); |
5 |
path_end(); |
6 |
global.phasing = 0; |
7 |
obj_spiketile2.solid = 1; |
8 |
obj_mainchara.visible = true; |
9 |
tor = instance_create(x + 12, y, obj_toroverworld4); |
10 |
alarm[0] = 2; |
11 |
with (tor) |
12 |
direction = 180; |
13 |
with (tor) |
14 |
facing = 3; |
15 |
visible = false; |
16 |
conversation = 2; |
17 |
} |
18 |
if (conversation == 3 && instance_exists(obj_dialoguer) == 0) |
19 |
{ |
20 |
with (tor) |
21 |
path_start(path_walkright, 3, path_action_stop, 0); |
22 |
global.interact = 0; |
23 |
instance_destroy(); |
24 |
global.plot = 8; |
25 |
} |