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 |
portrait = false |
12 |
sndfnt = 99 |
13 |
message[0] = "* So you're the new kid , eh?" |
14 |
message[1] = "* I've heard the townsfolk raving# about you and all." |
15 |
message[2] = "* Not to burst your bubble,# but I could totally go toe# to toe with you." |
16 |
message[3] = "* I know for a fact I could win# an arm wrestle with you right# now, no training." |
17 |
message[4] = "* If I wanted, I could snap all# thirteen of my fingers and get# the deputy position." |
18 |
message[5] = "* If that upsets you, I'm not# sorry." |
19 |
message[6] = "* Heh, yeah. I wouldn't cross me# if I were me." |
20 |
} |
21 |
npc_flag++ |
22 |
break |
23 |
case 1: |
24 |
with (msg) |
25 |
{ |
26 |
portrait = false |
27 |
sndfnt = 99 |
28 |
message[0] = "* You see me sitting at this bar?" |
29 |
message[1] = "* Yeah. It's because I'm a cool# adult, unlike you." |
30 |
message[2] = "* I can do cool adult things like# cry and also weep." |
31 |
message[3] = "* Am I being mean? No. It's just# the hard truth." |
32 |
} |
33 |
npc_flag++ |
34 |
break |
35 |
case 2: |
36 |
with (msg) |
37 |
{ |
38 |
portrait = false |
39 |
sndfnt = 99 |
40 |
message[0] = "* If you're only talking to# me to hear my silky smooth# voice, give it up." |
41 |
message[1] = "* I won't let you in on my# secrets." |
42 |
} |
43 |
npc_flag++ |
44 |
break |
45 |
case 3: |
46 |
with (msg) |
47 |
{ |
48 |
portrait = false |
49 |
sndfnt = 99 |
50 |
message[0] = "* Blembino. Remember the name." |
51 |
} |
52 |
break |
53 |
} |
54 |
|
55 |
} |