1 |
if (conversation == 1 && instance_exists(OBJ_WRITER) == 0) |
2 |
{ |
3 |
global.interact = 1; |
4 |
conversation = 2; |
5 |
with (obj_toroverworld3) |
6 |
path_start(path_torielwalk2, 3, path_action_stop, 1); |
7 |
} |
8 |
if (instance_exists(obj_toroverworld3)) |
9 |
{ |
10 |
if (conversation == 2 && obj_toroverworld3.path_position == 1) |
11 |
{ |
12 |
conversation = 2.5; |
13 |
with (obj_wallswitchcut1) |
14 |
on = 1; |
15 |
with (obj_toroverworld3) |
16 |
path_end(); |
17 |
obj_toroverworld3.direction = 90; |
18 |
alarm[4] = 20; |
19 |
} |
20 |
} |
21 |
if (conversation == 3 && instance_exists(OBJ_WRITER) == 0) |
22 |
{ |
23 |
conversation = 4; |
24 |
global.interact = 0; |
25 |
global.plot = 3; |
26 |
} |
27 |
if (instance_exists(obj_toroverworld3)) |
28 |
{ |
29 |
if (conversation == 4 && obj_toroverworld3.path_position == 1 && abs(obj_mainchara.y - obj_toroverworld3.y) < 50) |
30 |
{ |
31 |
conversation = 5; |
32 |
with (obj_toroverworld3) |
33 |
path_start(path_walkup, 3, path_action_stop, 0); |
34 |
} |
35 |
} |