1 |
event_inherited() |
2 |
if interact |
3 |
{ |
4 |
scr_textscr_textfunction scr_text() //gml_Script_scr_text
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue)
} () |
5 |
is_talking = 1 |
6 |
switch npc_flag |
7 |
{ |
8 |
case 0: |
9 |
with (msg) |
10 |
{ |
11 |
message[0] = "* Ugh. This place has like no# hygiene standards, yup." |
12 |
message[1] = "* I don't think these sheets have# ever been washed at all, yup." |
13 |
message[2] = "* Not to mention the food, it's# barely passable, yup." |
14 |
message[3] = "* You could find stuff more fresh# in the dump, yup." |
15 |
message[4] = "* ..." |
16 |
message[5] = "* Huh? Sick? Nuh-uh, I'm just# here to complain, yup." |
17 |
} |
18 |
npc_flag++ |
19 |
break |
20 |
case 1: |
21 |
with (msg) |
22 |
{ |
23 |
portrait = false |
24 |
sndfnt = 99 |
25 |
message[0] = "* Not to be rude, but I'd like# some privacy, yup." |
26 |
message[1] = "* Some monsters these days have# no manners, yup yup." |
27 |
} |
28 |
break |
29 |
} |
30 |
|
31 |
} |