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 |
switch npc_flag |
7 |
{ |
8 |
case 0: |
9 |
with (msg) |
10 |
{ |
11 |
message[0] = "* H-hey kid. Sorry about the# whole train thing earlier." |
12 |
message[1] = "* I love playing the villain,# but I never considered how# the others felt." |
13 |
message[2] = "* Maybe in the end, that's# what makes me the real# villain." |
14 |
} |
15 |
npc_flag = 1 |
16 |
break |
17 |
case 1: |
18 |
with (msg) |
19 |
{ |
20 |
message[0] = "* I wanna move on once this all# blows over." |
21 |
message[1] = "* You know, get a honest job and# move to a more... conventional# place." |
22 |
message[2] = "* Vengeful Virgil redemption arc,# here we go!" |
23 |
} |
24 |
break |
25 |
} |
26 |
|
27 |
} |