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