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 |
with (msg) |
7 |
{ |
8 |
switch other.npc_flag |
9 |
{ |
10 |
case 0: |
11 |
message[0] = "* Ah, it is you!" |
12 |
message[1] = "* Welcome to my club!" |
13 |
message[2] = "* I am glad I remembered to put# you on the guest list!" |
14 |
message[3] = "* Now, join us in a dance, will# you?" |
15 |
other.npc_flag++ |
16 |
break |
17 |
case 1: |
18 |
message[0] = "* Oh right, I forgot you are not# big on dancing." |
19 |
message[1] = "* More of a Sentinel of Silence,# right?" |
20 |
message[2] = "* Funny history I have with those# folk." |
21 |
message[3] = "* We all used to live on the top# floor of UG Apartments north of# here." |
22 |
message[4] = "* Our side of the hall wanted to# be bold! High energy!" |
23 |
message[5] = "* While the other preferred the# deafening sound of silence." |
24 |
message[6] = "* We feuded over the SVL for# weeks! The Standard Volume# Level, that is." |
25 |
message[7] = "* Long story short, we all were# kicked out, haha!" |
26 |
message[8] = "* Gone our separate ways now,# free to chase any comfort we# choose." |
27 |
message[9] = "* I sometimes wonder what that# bat got up to? Probably lives# in some Snowdin cave." |
28 |
other.npc_flag++ |
29 |
break |
30 |
case 2: |
31 |
message[0] = "* If I were you, I would let# loose and dance with us!" |
32 |
message[1] = "* One never knows when they dance# their last!" |
33 |
break |
34 |
} |
35 |
|
36 |
} |
37 |
} |