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] = "* Neigh!! Neigh!!!"; |
14 |
message[1] = "* Neigh I say!"; |
15 |
message[2] = "* For I am a horse, each and# every day!"; |
16 |
message[3] = "* I crunch upon carrots and munch# upon hay,"; |
17 |
message[4] = "* But a shy horse I am, so please# go away!"; |
18 |
} |
19 |
npc_flag = 1; |
20 |
break; |
21 |
case 1: |
22 |
with (msg) |
23 |
{ |
24 |
portrait = false; |
25 |
sndfnt = 99; |
26 |
message[0] = "* Sorry, I only had time to write# one jingle."; |
27 |
message[1] = "* It took me all night."; |
28 |
message[2] = "* Maybe I'll think of another# soon."; |
29 |
message[3] = "* ..."; |
30 |
message[4] = "* That last line wasn't a joke,# by the way."; |
31 |
message[5] = "* Being a horse is my only form# of true expression."; |
32 |
} |
33 |
npc_flag = 2; |
34 |
break; |
35 |
case 2: |
36 |
with (msg) |
37 |
{ |
38 |
portrait = false; |
39 |
sndfnt = 99; |
40 |
message[0] = "* NeeeiGH!!!!"; |
41 |
} |
42 |
break; |
43 |
} |
44 |
} |
45 |
depth = -9999; |