1 |
event_inherited() |
2 |
var snow_geno = false |
3 |
if (global.kill_number[2] <= 0) |
4 |
snow_geno = true |
5 |
if (!instance_exists(obj_dialogue)) |
6 |
{ |
7 |
waiter = 0 |
8 |
talk = 0 |
9 |
} |
10 |
if interact |
11 |
{ |
12 |
scr_textscr_textfunction scr_text() //gml_Script_scr_text
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue)
} () |
13 |
waiter = 1 |
14 |
talk = 1 |
15 |
} |
16 |
if (waiter == 1) |
17 |
{ |
18 |
with (msg) |
19 |
{ |
20 |
portrait = false |
21 |
switch other.npc_flag |
22 |
{ |
23 |
case 0: |
24 |
ch_msg = 3 |
25 |
ch[1] = "Major" |
26 |
ch[2] = "Minor" |
27 |
message[0] = "* What's up?" |
28 |
message[1] = "* Glad you could stop by for a# listen." |
29 |
message[2] = "* Mind if I ask you a question?" |
30 |
message[3] = "* Which are better, minor scales# or major scales?" |
31 |
switch outcome |
32 |
{ |
33 |
case 1: |
34 |
message[4] = "* Sad." |
35 |
message[5] = "* I thought I might find another# minor scale fan." |
36 |
message[6] = "* Everyone I've talked to likes# major scales." |
37 |
message[7] = "* Can't be happy all the time,# sometimes you need to switch it# up." |
38 |
if (global.route == 3) |
39 |
message[7] = "* It just doesn't seem to fit the# mood anymore." |
40 |
other.npc_flag = 1 |
41 |
break |
42 |
case 2: |
43 |
if (global.route == 3) |
44 |
{ |
45 |
message[4] = "* Yeah, I agree." |
46 |
message[5] = "* There's something about the# bittersweet tune that feels# especially relevant right now." |
47 |
} |
48 |
else |
49 |
{ |
50 |
message[4] = "* Whoa, hey, really?" |
51 |
message[5] = "* You appreciate the bittersweet# sound of a minor scale?" |
52 |
message[6] = "* I never thought I'd find# another fan!" |
53 |
message[7] = "* No one around here appreciates# them like I do." |
54 |
message[8] = "* Not even my bandmates." |
55 |
message[9] = "* You need both to coexist, but# minor just flows better, you# know?" |
56 |
} |
57 |
other.npc_flag = 2 |
58 |
break |
59 |
} |
60 |
|
61 |
break |
62 |
case 1: |
63 |
message[0] = "* Even though I'm alone in this# debate, I can tell you have# good taste in music." |
64 |
message[1] = "* Maybe one day you'll grow to# love minor scales like me." |
65 |
break |
66 |
case 2: |
67 |
message[0] = "* You're pretty cool." |
68 |
message[1] = "* We should jam sometime." |
69 |
break |
70 |
} |
71 |
|
72 |
} |
73 |
} |
74 |
var animate = obj_rodney_snowdin_14b_overworld_yellow.animate |
75 |
if (animate == 0) |
76 |
{ |
77 |
image_speed = 0 |
78 |
image_index = 0 |
79 |
} |
80 |
else |
81 |
image_speed = 0.2 |