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 |
portrait = false |
12 |
sndfnt = 99 |
13 |
message[0] = "* This is the hottest spot in# Snowdin. Quite literally." |
14 |
message[1] = "* I've wanted to come here for# forever and this is finally my# chance." |
15 |
message[2] = "* It was worth the wait. This is# complete bliss." |
16 |
} |
17 |
npc_flag = 1 |
18 |
break |
19 |
case 1: |
20 |
with (msg) |
21 |
{ |
22 |
portrait = false |
23 |
sndfnt = 99 |
24 |
message[0] = "* You know what the best part of# this place is?" |
25 |
message[1] = "* No one knows why the water is# so hot here!" |
26 |
message[2] = "* It's a mystery! Not a monster# alive could tell you!" |
27 |
} |
28 |
npc_flag = 2 |
29 |
break |
30 |
case 2: |
31 |
with (msg) |
32 |
{ |
33 |
portrait = false |
34 |
sndfnt = 99 |
35 |
message[0] = "* There are all sorts of theories# of course." |
36 |
message[1] = "* Some say it's heated by hot# rocks deep underground." |
37 |
message[2] = "* Some say it's caused by# volcanic activity." |
38 |
message[3] = "* Some say it's heated by runoff# from the Core in Hotland." |
39 |
message[4] = "* Whatever it is, the water is so# relaxing that folks don't seem# to care." |
40 |
message[5] = "* At least I know I don't.# Everything just melts away." |
41 |
} |
42 |
npc_flag = 3 |
43 |
break |
44 |
case 3: |
45 |
with (msg) |
46 |
{ |
47 |
portrait = false |
48 |
sndfnt = 99 |
49 |
message[0] = "* Ahhhh." |
50 |
message[1] = "* So nice and warm." |
51 |
} |
52 |
} |
53 |
|
54 |
} |
55 |
depth = -999 |