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 |
switch npc_flag |
6 |
{ |
7 |
case 0: |
8 |
with (msg) |
9 |
{ |
10 |
portrait = false |
11 |
sndfnt = 99 |
12 |
talker[0] = other |
13 |
message[0] = "* Is that a new hat?" |
14 |
message[1] = "* Love it!" |
15 |
message[2] = "* Average eyes probably couldn't# tell it changed but my eyes are# anything but!" |
16 |
message[3] = "* For starters, I can't blink!" |
17 |
} |
18 |
npc_flag = 1 |
19 |
break |
20 |
case 1: |
21 |
with (msg) |
22 |
{ |
23 |
portrait = false |
24 |
sndfnt = 99 |
25 |
talker[0] = other |
26 |
message[0] = "* I think I settled on a goal# for my journey." |
27 |
message[1] = "* I wish to become the King's# tailor!" |
28 |
message[2] = "* Yes, you heard that right!" |
29 |
message[3] = "* His look, his whole presence,# it's nothing short of iconic!" |
30 |
message[4] = "* Oh the cloaks I could craft..." |
31 |
message[5] = "* He's already a ten out of ten# but hey, we can shoot for# eleven, baby!" |
32 |
} |
33 |
npc_flag = 2 |
34 |
break |
35 |
case 2: |
36 |
with (msg) |
37 |
{ |
38 |
portrait = false |
39 |
sndfnt = 99 |
40 |
talker[0] = other |
41 |
message[0] = "* I find this resort so quant,# don't you agree?" |
42 |
message[1] = "* Tying the wooden aesthetic# together with bears and honey?" |
43 |
message[2] = "* Splendid!" |
44 |
message[3] = "* The whole place really says# \"We love you and would never# maul you.\"" |
45 |
message[4] = "* A real victory over bear# prejudice." |
46 |
} |
47 |
npc_flag = 3 |
48 |
break |
49 |
case 3: |
50 |
with (msg) |
51 |
{ |
52 |
portrait = false |
53 |
sndfnt = 99 |
54 |
talker[0] = other |
55 |
message[0] = "* Oh, right! My complexion." |
56 |
message[1] = "* What can I say?" |
57 |
message[2] = "* I'm not a fan of baby blue." |
58 |
} |
59 |
npc_flag = 4 |
60 |
break |
61 |
case 4: |
62 |
with (msg) |
63 |
{ |
64 |
portrait = false |
65 |
sndfnt = 99 |
66 |
talker[0] = other |
67 |
message[0] = "* Knock 'em dead out there!" |
68 |
message[1] = "* Figuratively." |
69 |
} |
70 |
break |
71 |
} |
72 |
|
73 |
} |