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 |
if (global.party_member != -4 && global.dunes_flag[41] > 0) |
6 |
{ |
7 |
with (msg) |
8 |
{ |
9 |
sndfnt = 102 |
10 |
message[0] = "* (We need to stay# focused.)" |
11 |
message[1] = "* (Let's not bother others# with our problems.)" |
12 |
prt[0] = 321 |
13 |
prt[1] = 338 |
14 |
} |
15 |
return; |
16 |
} |
17 |
is_talking = 1 |
18 |
with (msg) |
19 |
{ |
20 |
switch other.npc_flag |
21 |
{ |
22 |
case 0: |
23 |
message[0] = "* Hey, dude." |
24 |
message[1] = "* I know you'll say no, but I'm# selling free hugs." |
25 |
message[2] = "* Darn it, you already read my# sign, didn't you?" |
26 |
message[3] = "* I hate myself." |
27 |
break |
28 |
case 1: |
29 |
message[0] = "* No, don't bother asking." |
30 |
message[1] = "* I'm closing shop, okay?" |
31 |
message[2] = "* This was a dumb idea." |
32 |
message[3] = "* Even if you did hug me, which# would be sick, I'd probably# kill you." |
33 |
message[4] = "* Not intentionally, of course.# That'd be a crime, and I hate# crime." |
34 |
message[5] = "* Oh great. You might be a# criminal and now you definitely# won't hug me." |
35 |
message[6] = "* Just walk away. It would be# better for both of us." |
36 |
break |
37 |
case 2: |
38 |
message[0] = "* You still want a hug?" |
39 |
message[1] = "* Bro, you need to learn when to# let go." |
40 |
message[2] = "* If you won't leave me alone,# the hugs are no longer free." |
41 |
message[3] = "* In fact, they are very# expensive hugs." |
42 |
message[4] = "* Whatever amount of money you# own? They're like, triple that." |
43 |
message[5] = "* I'm honestly not sorry." |
44 |
break |
45 |
case 3: |
46 |
message[0] = "* Okay, I KINDA still want a hug# but I'm in this way too deep." |
47 |
message[1] = "* Ignore my existence, please." |
48 |
break |
49 |
} |
50 |
|
51 |
} |
52 |
if (npc_flag < 3) |
53 |
npc_flag++ |
54 |
} |