1 |
event_inherited() |
2 |
if (interact == 1) |
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 |
message[0] = "* I wish those miners would've# told me about the boulder# problem." |
12 |
message[1] = "* I coulda charged right through# 'em, breaking into a million# bits!" |
13 |
message[2] = "* Uh-breaking THEM into a# million bits. Not me. Ahem." |
14 |
} |
15 |
npc_flag += 1 |
16 |
break |
17 |
case 1: |
18 |
with (msg) |
19 |
{ |
20 |
message[0] = "* I've learned a lot from being# a clean boy." |
21 |
message[1] = "* Mostly how absolutely# disgusting the Dunes are." |
22 |
message[2] = "* I mean, everything's covered# in sand!" |
23 |
message[3] = "* Whoever built that giant fan# needs to build a giant vacuum." |
24 |
} |
25 |
npc_flag += 1 |
26 |
break |
27 |
case 2: |
28 |
with (msg) |
29 |
{ |
30 |
message[0] = "* You're lucky that bandana# you're wearing isn't red." |
31 |
message[1] = "* We'd probably have issues,# haha!" |
32 |
} |
33 |
npc_flag += 1 |
34 |
break |
35 |
case 3: |
36 |
with (msg) |
37 |
message[0] = "* Never forget to sparkle out# there!" |
38 |
break |
39 |
} |
40 |
|
41 |
} |