1 |
event_inherited(); |
2 |
if (interact) |
3 |
{ |
4 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
5 |
is_talking = 1; |
6 |
with (msg) |
7 |
{ |
8 |
sndfnt_array[0] = 391; |
9 |
message[0] = "* (You decide to keep a safe# distance between you and the# knife.)"; |
10 |
if (other.npc_flag == 0 && global.party_member != -4) |
11 |
{ |
12 |
sndfnt_array[1] = 102; |
13 |
message[0] = "* (You reach for the# knife on the counter.)"; |
14 |
message[1] = "* Nuh-uh!"; |
15 |
message[2] = "* Kids shouldn't mess# with knives."; |
16 |
message[3] = "* ...Kids shouldn't mess# with guns either."; |
17 |
message[4] = "* ..."; |
18 |
message[5] = "* I think I might be# guilty of child# endangerment."; |
19 |
prt[1] = 308; |
20 |
prt[2] = 334; |
21 |
prt[3] = 335; |
22 |
prt[4] = 335; |
23 |
prt[5] = 323; |
24 |
} |
25 |
} |
26 |
npc_flag = 1; |
27 |
} |