1 |
event_inherited(); |
2 |
animate = obj_rodney_snowdin_14b_overworld_yellow.animate; |
3 |
if (animate == 0) |
4 |
{ |
5 |
image_speed = 0; |
6 |
image_index = 0; |
7 |
} |
8 |
else |
9 |
{ |
10 |
image_speed = 0.2; |
11 |
} |
12 |
if (interact) |
13 |
{ |
14 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
15 |
is_talking = true; |
16 |
with (msg) |
17 |
{ |
18 |
portrait = false; |
19 |
if (global.route != 3) |
20 |
{ |
21 |
switch (other.npc_flag) |
22 |
{ |
23 |
case 0: |
24 |
message[0] = "* Confession time:"; |
25 |
message[1] = "* I claim to be a musician,"; |
26 |
message[2] = "* but I know nothing about# reading sheet music, scales,# intervals, or any of that."; |
27 |
message[3] = "* That's why I just hit things# with sticks rhythmically for a# living."; |
28 |
other.npc_flag++; |
29 |
break; |
30 |
case 1: |
31 |
message[0] = "* Just goes to show, you don't# need smarts to be a Cool Dude"; |
32 |
other.npc_flag++; |
33 |
break; |
34 |
case 2: |
35 |
message[0] = "* Drums give me a rhythmic# purpose in life."; |
36 |
break; |
37 |
} |
38 |
} |
39 |
if (global.route == 3) |
40 |
{ |
41 |
message[0] = "* Confession time:"; |
42 |
message[1] = "* I claim to be a musician,"; |
43 |
message[2] = "* but I know nothing about# reading sheet music, scales,# intervals, or any of that."; |
44 |
message[3] = "* That's why I just hit things# with sticks rhythmically for a# living."; |
45 |
} |
46 |
} |
47 |
} |