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[3]) |
6 |
{ |
7 |
case 0: |
8 |
with (msg) |
9 |
{ |
10 |
talker[0] = other.object_index; |
11 |
message[0] = "* Hey, kid."; |
12 |
message[1] = "* Sorry for bein' so# forceful earlier. "; |
13 |
message[2] = "* I'm just doin' what Star# thinks is best."; |
14 |
message[3] = "* This whole thing snuck# up on us, that's for# sure."; |
15 |
message[4] = "* I'm optimistic about it!"; |
16 |
prt[0] = 451; |
17 |
prt[1] = 454; |
18 |
prt[2] = 451; |
19 |
prt[3] = 451; |
20 |
prt[4] = 452; |
21 |
} |
22 |
global.dunes_flag_ext[3] = 1; |
23 |
break; |
24 |
case 1: |
25 |
with (msg) |
26 |
{ |
27 |
talker[0] = other.object_index; |
28 |
message[0] = "* Not to brag but I'm# basically Star's# right-hand man."; |
29 |
message[1] = "* I do all the heavy# liftin' 'round here."; |
30 |
message[2] = "* Star just asks nicely# and off I go."; |
31 |
message[3] = "* Ain't that a cool# relationship?"; |
32 |
prt[0] = 451; |
33 |
prt[1] = 451; |
34 |
prt[2] = 451; |
35 |
prt[3] = 452; |
36 |
} |
37 |
global.dunes_flag_ext[3] = 2; |
38 |
break; |
39 |
case 2: |
40 |
with (msg) |
41 |
{ |
42 |
talker[0] = other.object_index; |
43 |
message[0] = "* I'm sure you'll have a# good time here."; |
44 |
message[1] = "* Lookin' forward to the# trainin'!"; |
45 |
prt[0] = 453; |
46 |
prt[1] = 454; |
47 |
} |
48 |
break; |
49 |
} |