1 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
2 |
with (obj_dialogue) |
3 |
{ |
4 |
sndfnt = 108; |
5 |
ch_msg = 4; |
6 |
ch[1] = "Natural skill"; |
7 |
ch[2] = "Brick toys"; |
8 |
message[0] = "* You traveled with# Martlet before the Wild# East, right?"; |
9 |
message[1] = "* She's a bit of a# tinkerer if I recall."; |
10 |
message[2] = "* Did she teach you# anything about building# contraptions?"; |
11 |
message[3] = "* You seemed to know what# you were doing..."; |
12 |
message[4] = "* ...to an extent."; |
13 |
prt[0] = 370; |
14 |
prt[1] = 371; |
15 |
prt[2] = 370; |
16 |
prt[3] = 370; |
17 |
prt[4] = 377; |
18 |
if (outcome == 1) |
19 |
{ |
20 |
message[5] = "* Natural, eh?"; |
21 |
message[6] = "* Lotta tenacity for# someone your age."; |
22 |
message[7] = "* Then again..."; |
23 |
message[8] = "* Almost everything you# do goes against the norm# for kids your age."; |
24 |
message[9] = "* You're an interesting# one..."; |
25 |
prt[5] = 370; |
26 |
prt[6] = 377; |
27 |
prt[7] = 394; |
28 |
prt[8] = 370; |
29 |
prt[9] = 371; |
30 |
} |
31 |
else if (outcome == 2) |
32 |
{ |
33 |
message[5] = "* Brick toys? Like the# little plastic ones?"; |
34 |
message[6] = "* I guess I can see how# that would help."; |
35 |
message[7] = "* My daughter loved those# things when she was# younger."; |
36 |
message[8] = "* Not the complex sets# with instructions, "; |
37 |
message[9] = "* ...the bigger blocks# she couldn't attempt to# eat."; |
38 |
message[10] = "* Suckers would still# hurt when stepped on,# though."; |
39 |
prt[5] = 370; |
40 |
prt[6] = 371; |
41 |
prt[7] = 394; |
42 |
prt[8] = 371; |
43 |
prt[9] = 371; |
44 |
prt[10] = 395; |
45 |
} |
46 |
} |
47 |
if (!global.dialogue_open) |
48 |
instance_destroy(); |