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] = "* Man, I don't know what's goin'# on these days." |
14 |
message[1] = "* Debt... Drama..." |
15 |
message[2] = "* When did this gang get so# serious?" |
16 |
message[3] = "* Frankly..." |
17 |
message[4] = "* I liked it when we just played# shuffle games with the# residents." |
18 |
} |
19 |
npc_flag = 1 |
20 |
break |
21 |
case 1: |
22 |
with (msg) |
23 |
{ |
24 |
portrait = false |
25 |
sndfnt = 99 |
26 |
talker[0] = other |
27 |
message[0] = "* You wanna know my real dream?" |
28 |
message[1] = "* Bein' a bodyguard!" |
29 |
message[2] = "* For someone of status, of# course." |
30 |
message[3] = "* Keepin' watch while they carry# out business... That sounds fun." |
31 |
message[4] = "* I know I'd be a pro at it# since I've been practicin' my# pivot." |
32 |
message[5] = "* No one could ever sneak by# without my blinkers catchin'# 'em!" |
33 |
} |
34 |
npc_flag = 2 |
35 |
break |
36 |
case 2: |
37 |
with (msg) |
38 |
{ |
39 |
portrait = false |
40 |
sndfnt = 99 |
41 |
talker[0] = other |
42 |
message[0] = "* Don't worry about us." |
43 |
message[1] = "* Best to leave this type-a# business to the Shufflers." |
44 |
message[2] = "* Yeah, Shufflers." |
45 |
message[3] = "* ..." |
46 |
message[4] = "* Wait..." |
47 |
} |
48 |
break |
49 |
} |
50 |
|
51 |
} |