1 |
event_inherited(); |
2 |
if (!interact) |
3 |
exit; |
4 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
5 |
switch (global.dunes_flag_ext[6]) |
6 |
{ |
7 |
case 0: |
8 |
with (msg) |
9 |
{ |
10 |
talker[0] = other.object_index; |
11 |
message[0] = "* I have to say, it's fun# watching the five's# missions."; |
12 |
message[1] = "* Can't say the same for# rooming with them."; |
13 |
message[2] = "* All six of us sleep in# one room."; |
14 |
message[3] = "* Any annoyance you can# think of? It happens."; |
15 |
message[4] = "* Snoring, sleep talking,# teeth grinding... it's# pretty exhausting."; |
16 |
message[5] = "* I can't complain much,# though. It's a free# place to stay."; |
17 |
message[6] = "* You see, in the past, I# haven't lived here."; |
18 |
message[7] = "* I have... well, had a# place near Oasis Valley."; |
19 |
message[8] = "* I suppose I outgrew it...# moved here a few weeks# back."; |
20 |
message[9] = "* Star and I have been# friends since childhood,# so there's no rent."; |
21 |
message[10] = "* It's nice..."; |
22 |
prt[0] = 370; |
23 |
prt[1] = 394; |
24 |
prt[2] = 382; |
25 |
prt[3] = 384; |
26 |
prt[4] = 382; |
27 |
prt[5] = 377; |
28 |
prt[6] = 370; |
29 |
prt[7] = 370; |
30 |
prt[8] = 394; |
31 |
prt[9] = 370; |
32 |
prt[10] = 372; |
33 |
} |
34 |
global.dunes_flag_ext[6] = 1; |
35 |
break; |
36 |
case 1: |
37 |
with (msg) |
38 |
{ |
39 |
talker[0] = other.object_index; |
40 |
message[0] = "* About leaving:"; |
41 |
message[1] = "* Once you pass your# training, you'll be# free to roam wherever."; |
42 |
message[2] = "* It'll be tough when I# have to tell Star about# your departure."; |
43 |
message[3] = "* He's taken a real liking# to you. Shame you'll be# gone so soon..."; |
44 |
prt[0] = 375; |
45 |
prt[1] = 375; |
46 |
prt[2] = 377; |
47 |
prt[3] = 372; |
48 |
} |
49 |
global.dunes_flag_ext[6] = 2; |
50 |
break; |
51 |
case 2: |
52 |
with (msg) |
53 |
{ |
54 |
talker[0] = other.object_index; |
55 |
message[0] = "* The sooner you do your# missions, the sooner# you're on your way."; |
56 |
prt[0] = 377; |
57 |
} |
58 |
break; |
59 |
} |