1 |
if (interact) |
2 |
{ |
3 |
if (global.hotland_flag[1] > 0 && global.party_member != -4) |
4 |
{ |
5 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
6 |
with (msg) |
7 |
{ |
8 |
sndfnt = 102; |
9 |
message[0] = "* (We need to stay# focused.)"; |
10 |
message[1] = "* (Let's not bother# others with our# problems.)"; |
11 |
prt[0] = 321; |
12 |
prt[1] = 329; |
13 |
} |
14 |
} |
15 |
else |
16 |
{ |
17 |
waiter = 1; |
18 |
} |
19 |
} |
20 |
if (waiter == 1) |
21 |
{ |
22 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
23 |
if (!instance_exists(obj_dialoguebox_dummy)) |
24 |
instance_create(x, y, obj_dialoguebox_dummy); |
25 |
talk = 1; |
26 |
switch (other.npc_flag) |
27 |
{ |
28 |
case 0: |
29 |
with (msg) |
30 |
{ |
31 |
portrait = false; |
32 |
message[0] = "* What's up?"; |
33 |
message[1] = "* You enjoying the tune we're# currently bangin' out?"; |
34 |
message[2] = "* Hope you are 'cause it's the# only one we're playing tonight."; |
35 |
message[3] = "* No requests this time, sorry# kid."; |
36 |
other.npc_flag += 1; |
37 |
other.waiter = 0; |
38 |
} |
39 |
break; |
40 |
case 1: |
41 |
with (msg) |
42 |
{ |
43 |
portrait = false; |
44 |
message[0] = "* You might be confused why our# instruments sound different# from the usual."; |
45 |
message[1] = "* Just the sound system this# place provides. Different mix.# Out of our hands."; |
46 |
message[2] = "* Still a vibe, though."; |
47 |
other.npc_flag += 1; |
48 |
other.waiter = 0; |
49 |
} |
50 |
break; |
51 |
case 2: |
52 |
with (msg) |
53 |
{ |
54 |
portrait = false; |
55 |
message[0] = "* Good luck on the rest of your# journey, human."; |
56 |
message[1] = "* You've come a long way."; |
57 |
other.waiter = 0; |
58 |
} |
59 |
break; |
60 |
} |
61 |
} |
62 |
if (!instance_exists(obj_dialoguebox_dummy) && talk == true) |
63 |
talk = false; |
64 |
if (animate == 0) |
65 |
{ |
66 |
image_speed = 0; |
67 |
image_index = 0; |
68 |
} |
69 |
else |
70 |
{ |
71 |
image_speed = 0.2; |
72 |
} |