1 |
event_inherited() |
2 |
if interact |
3 |
{ |
4 |
scr_textscr_textfunction scr_text() //gml_Script_scr_text
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue)
} () |
5 |
is_talking = 1 |
6 |
if (global.snowdin_flag[18] >= 1) |
7 |
{ |
8 |
global.snowdin_flag[18] = 2 |
9 |
switch npc_flag |
10 |
{ |
11 |
case 0: |
12 |
with (msg) |
13 |
{ |
14 |
message[0] = "* 'Ay, it's you again!" |
15 |
message[1] = "* Nice to see a face around 'ere# that's seen places other than# this desert, heh heh." |
16 |
message[2] = "* I live 'round these parts, but# it's not always like... this..." |
17 |
message[3] = "* The Wild East is changin';# something's in the air." |
18 |
message[4] = "* North Star and his gang are# doin' their best I suppose." |
19 |
} |
20 |
npc_flag = 1 |
21 |
break |
22 |
case 1: |
23 |
with (msg) |
24 |
{ |
25 |
message[0] = "* Speakin' of North Star, he's# got you roped into his crew,# huh." |
26 |
message[1] = "* Don't be too intimidated,# they're all a bunch of softies# at heart!" |
27 |
message[2] = "* Maybe not that Ed guy though...# Something tells me not to cross# him, heh heh..." |
28 |
} |
29 |
npc_flag = 2 |
30 |
break |
31 |
case 2: |
32 |
with (msg) |
33 |
{ |
34 |
message[0] = "* I'm thinkin' of taking a trip# to Waterfall." |
35 |
message[1] = "* You should stop by that place# if ya get the chance!" |
36 |
message[2] = "* Prettier than here, fer'sure." |
37 |
} |
38 |
break |
39 |
} |
40 |
|
41 |
} |
42 |
else |
43 |
{ |
44 |
switch npc_flag |
45 |
{ |
46 |
case 0: |
47 |
with (msg) |
48 |
{ |
49 |
message[0] = "* You must be that new kid in the# paper, eh?" |
50 |
message[1] = "* Trust me, the Wild East ain't# always this... active..." |
51 |
message[2] = "* North Star must just be excited# to add another member to his# posse!" |
52 |
} |
53 |
npc_flag = 1 |
54 |
break |
55 |
case 1: |
56 |
with (msg) |
57 |
{ |
58 |
message[0] = "* If you plan on leavin' here,# don't expect it to be easy." |
59 |
message[1] = "* When North Star gets his mind# set on something, he sees it# though." |
60 |
message[2] = "* So embrace yer position. I'm# sure only good things can come# from it!" |
61 |
} |
62 |
npc_flag = 2 |
63 |
break |
64 |
case 2: |
65 |
with (msg) |
66 |
message[0] = "* I'm gonna head out of town,# don't get into too much trouble,# heh heh." |
67 |
break |
68 |
} |
69 |
|
70 |
} |
71 |
} |