1 |
event_inherited(); |
2 |
if (interact) |
3 |
{ |
4 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
5 |
is_talking = 1; |
6 |
switch (npc_flag) |
7 |
{ |
8 |
case 0: |
9 |
with (msg) |
10 |
{ |
11 |
message[0] = "* Oh, hey there, kid!\t"; |
12 |
message[1] = "* Thought I'd make somethin' of# myself and get a real job.\t"; |
13 |
message[2] = "* Despite playing a great# bandit, Star doesn't actually# pay anyone in town.\t"; |
14 |
message[3] = "* Well, he lets the shopkeepers# have most of their revenue but# that's about it.\t"; |
15 |
message[4] = "* Oh well, it was pretty fun# while it lasted."; |
16 |
} |
17 |
npc_flag += 1; |
18 |
break; |
19 |
case 1: |
20 |
with (msg) |
21 |
{ |
22 |
message[0] = "* One day, you're gonna be in my# situation."; |
23 |
message[1] = "* Forced to let go of childlike# fantasy and tossed into# adulthood."; |
24 |
message[2] = "* Hey, it sucks but everyone's# gotta go through it."; |
25 |
message[3] = "* One thing though..."; |
26 |
message[4] = "* Don't totally let go of your# adventurous side."; |
27 |
message[5] = "* Some adults become far too# cynical because they forget the# good times."; |
28 |
message[6] = "* I should know, it's my first# day here and I'm already hating# my life!"; |
29 |
} |
30 |
npc_flag += 1; |
31 |
break; |
32 |
case 2: |
33 |
with (msg) |
34 |
{ |
35 |
message[0] = "* Hang in there, Clover!\t"; |
36 |
message[1] = "* You're gonna do great things!"; |
37 |
} |
38 |
break; |
39 |
} |
40 |
} |