1 |
event_inherited(); |
2 |
if (interact) |
3 |
{ |
4 |
scr_textscr_textfunction 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 |
portrait = false; |
12 |
sndfnt = 99; |
13 |
message[0] = "* Now Charles, I know you've had# a long day but..."; |
14 |
message[1] = "* If the dishes in the sink# aren't done, we can't eat# dinner!"; |
15 |
} |
16 |
npc_flag = 1; |
17 |
break; |
18 |
case 1: |
19 |
with (msg) |
20 |
{ |
21 |
portrait = false; |
22 |
sndfnt = 99; |
23 |
message[0] = "* Don't even think about heating# up a TV dinner instead."; |
24 |
message[1] = "* Those do not have the# nutrition my hubby needs to get# big and strong!"; |
25 |
} |
26 |
npc_flag = 2; |
27 |
break; |
28 |
case 2: |
29 |
with (msg) |
30 |
{ |
31 |
portrait = false; |
32 |
sndfnt = 99; |
33 |
message[0] = "* Oh my! We've been quarreling# so long, it's way past dinner# time now!"; |
34 |
message[1] = "* I suppose we'll have to invent# a fourth meal of the day."; |
35 |
message[2] = "* Schminner!"; |
36 |
message[3] = "* Oh I love the sound of that# already! Schminner time!"; |
37 |
} |
38 |
npc_flag = 3; |
39 |
break; |
40 |
case 3: |
41 |
with (msg) |
42 |
{ |
43 |
portrait = false; |
44 |
sndfnt = 99; |
45 |
message[0] = "* I ought to go into# entrepreneurship, don't you# think Charles?"; |
46 |
message[1] = "* I'll invent many useful# things, like a new attitude for# you!"; |
47 |
} |
48 |
} |
49 |
} |