| 1 |
event_inherited(); |
| 2 |
if (interact == 1) |
| 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] = "* Pinch pinch!"; |
| 12 |
message[1] = "* Just kidding!"; |
| 13 |
message[2] = "* I'm so glad the Royal Guard# protects our home."; |
| 14 |
message[3] = "* Well, not my home really."; |
| 15 |
message[4] = "* My home is on my back and I# protect it at all costs!"; |
| 16 |
message[5] = "* Or... it protects me?"; |
| 17 |
message[6] = "* It's a mutually beneficial# relationship!"; |
| 18 |
} |
| 19 |
npc_flag += 1; |
| 20 |
break; |
| 21 |
case 1: |
| 22 |
with (msg) |
| 23 |
{ |
| 24 |
message[0] = "* I've been thinking of moving# soon actually."; |
| 25 |
message[1] = "* There are so many cool places# out there!"; |
| 26 |
message[2] = "* I took a vacation to the Wild# East a while back."; |
| 27 |
message[3] = "* Maybe I'll move there, it# seemed really cool."; |
| 28 |
message[4] = "* At least based on my experience# as a tourist."; |
| 29 |
} |
| 30 |
npc_flag += 1; |
| 31 |
break; |
| 32 |
case 2: |
| 33 |
with (msg) |
| 34 |
{ |
| 35 |
message[0] = "* Pinch pinch!"; |
| 36 |
message[1] = "* Hehe!"; |
| 37 |
} |
| 38 |
break; |
| 39 |
} |
| 40 |
} |