1 |
event_inherited() |
2 |
npc_dynamic_depth = false |
3 |
if interact |
4 |
{ |
5 |
scr_textscr_textfunction scr_text() //gml_Script_scr_text
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue)
} () |
6 |
is_talking = 1 |
7 |
switch npc_flag |
8 |
{ |
9 |
case 0: |
10 |
with (msg) |
11 |
{ |
12 |
message[0] = "* Gragbh... Blaffm.....# Clfmph...... " |
13 |
message[1] = "* (Howdy human!)" |
14 |
} |
15 |
npc_flag = 1 |
16 |
break |
17 |
case 1: |
18 |
with (msg) |
19 |
{ |
20 |
message[0] = "* Fribb... Jiblem..... " |
21 |
message[1] = "* Hick..." |
22 |
message[2] = "* Blpshm......" |
23 |
message[3] = "* (Give me a drink, bartender!)" |
24 |
} |
25 |
break |
26 |
} |
27 |
|
28 |
} |
29 |
depth = -9999 |