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 |
if (global.hotland_flag[1] > 0 && global.party_member != -4) |
9 |
{ |
10 |
other.is_talking = 0; |
11 |
sndfnt = 102; |
12 |
message[0] = "* (We need to stay# focused.)"; |
13 |
message[1] = "* (Let's not bother# others with our# problems.)"; |
14 |
prt[0] = 321; |
15 |
prt[1] = 329; |
16 |
} |
17 |
else |
18 |
{ |
19 |
switch (other.npc_flag) |
20 |
{ |
21 |
case 0: |
22 |
message[0] = "* Blub blub..."; |
23 |
message[1] = "* I apologize but we're all out# of reservations tonight."; |
24 |
message[2] = "* A large party of ghosts are# here and the kitchen doesn't# know how to make ghost food."; |
25 |
message[3] = "* Please come back in a few# days. Please..."; |
26 |
break; |
27 |
} |
28 |
} |
29 |
} |
30 |
} |