1 | if ((!instance_exists(obj_dialogue)) && waiter == 0) |
2 | { |
3 | msg = instance_create(x, y, obj_dialogue) |
4 | waiter = 1 |
5 | } |
6 | with (msg) |
7 | { |
8 | sndfnt = 97 |
9 | message[0] = "* Do not wander off." |
10 | message[1] = "* It's dangerous in here." |
11 | prt[0] = 340 |
12 | prt[1] = 343 |
13 | } |
14 | if ((!global.dialogue_open) && waiter == 1) |
15 | { |
16 | global.cutscene = true |
17 | obj_pl.vspeed = -3 |
18 | if (!alarm[0]) |
19 | alarm[0] |
20 | } |