1 |
event_inherited() |
2 |
if (interact == 1) |
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] = "* Ah, bonjour! Mon apprenti!" |
12 |
message[1] = "* Welcome back to ze kitchen!" |
13 |
message[2] = "* Thanks to your infinite# wisdom, I have kept myself# busy!" |
14 |
message[3] = "* Oui! Nossing but frying eggs# for ze past ‘our!" |
15 |
message[4] = "* I am gifting free samples so# have a taste if you like!" |
16 |
} |
17 |
npc_flag += 1 |
18 |
break |
19 |
case 1: |
20 |
with (msg) |
21 |
{ |
22 |
message[0] = "* Have you seen ze flora# everywhere?" |
23 |
message[1] = "* Ces plantes blanches..." |
24 |
message[2] = "* Well! Zeir taste iz just# lovely!" |
25 |
message[3] = "* I ground some up into a new# spice to use on zi eggs!" |
26 |
message[4] = "* But, for some reason, zi eggs# did not like it." |
27 |
message[5] = "* Zey melted in my pan when the# spice touched zem!" |
28 |
message[6] = "* Quelle tragédie! Amour# interdit!" |
29 |
} |
30 |
npc_flag += 1 |
31 |
break |
32 |
case 2: |
33 |
with (msg) |
34 |
{ |
35 |
message[0] = "* You are ze first monstre I# have spoken to in a while!" |
36 |
message[1] = "* I do miss conversing with# ozers, espessially my creator!" |
37 |
message[2] = "* We have a lot in common. Our# physique, voice, culinary# skills - zey all match!" |
38 |
message[3] = "* I was confused why we were zi# only ones in ze Steamworks like# zis..." |
39 |
message[4] = "* He said zat many monstres come# from ze outside world. Ze# Surface!" |
40 |
message[5] = "* And on ze Surface are many# different types of beings from# different places!" |
41 |
message[6] = "* When all monstres migrated to# zis mountain, some of zem# hailed from zose places!" |
42 |
message[7] = "* And so, zeir wonderful# traditions and cultures have# spread around down here!" |
43 |
message[8] = "* What a beautiful sing!" |
44 |
} |
45 |
npc_flag += 1 |
46 |
break |
47 |
case 3: |
48 |
with (msg) |
49 |
{ |
50 |
message[0] = "* I asked my creator where his# family was from." |
51 |
message[1] = "* He told me about a land far# away with millions like me!" |
52 |
message[2] = "* But I simply cannot believe# such a sing!" |
53 |
message[3] = "* Millions of culinary bots# living togezer?" |
54 |
message[4] = "* Impossible!" |
55 |
message[5] = "* Zere would not be enough# frying pans to go around!" |
56 |
} |
57 |
npc_flag += 1 |
58 |
break |
59 |
case 4: |
60 |
with (msg) |
61 |
{ |
62 |
message[0] = "* I better get back to ze stove!" |
63 |
message[1] = "* Until we cook again! " |
64 |
message[2] = "* Au revoir!" |
65 |
} |
66 |
break |
67 |
} |
68 |
|
69 |
} |