| 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 |
with (msg) |
| 7 |
{ |
| 8 |
switch (other.npc_flag) |
| 9 |
{ |
| 10 |
case 0: |
| 11 |
message[0] = "* Hey!"; |
| 12 |
message[1] = "* You caught me chillin' by my# brand new house."; |
| 13 |
message[2] = "* That's right! Just bought this# sucker!"; |
| 14 |
message[3] = "* I've been down in the dumps# lately so I thought it was time# to move on."; |
| 15 |
message[4] = "* Do something nice for myself,# ya know?"; |
| 16 |
message[5] = "* I highly recommend doing# something nice for yourself# every now and then."; |
| 17 |
message[6] = "* It's therapeutic!"; |
| 18 |
other.npc_flag++; |
| 19 |
break; |
| 20 |
case 1: |
| 21 |
message[0] = "* Can't let anyone inside yet,# got a crew doing renovations."; |
| 22 |
message[1] = "* They're installing the latest# music production equipment.# Fancy stuff."; |
| 23 |
message[2] = "* Let's just say you're gonna# start hearing my hot beats# everywhere!"; |
| 24 |
other.npc_flag++; |
| 25 |
break; |
| 26 |
case 2: |
| 27 |
message[0] = "* Whatever your struggle, just# hold tight. Life gets better!"; |
| 28 |
break; |
| 29 |
} |
| 30 |
} |
| 31 |
} |