|
1
|
global.interact = 1;
|
|
2
|
image_speed_fake = 0.2;
|
|
3
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "gerson" || _speaker == "ger" || _speaker == "gers")
global.typer = 85;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
... ("noone");
|
|
4
|
myid = global.flag[800 + seat];
|
|
5
|
seat0 = global.flag[800 cafe_topleft];
|
|
6
|
seat1 = global.flag[801 cafe_topright];
|
|
7
|
seat2 = global.flag[802 cafe_bottomleft];
|
|
8
|
seat3 = global.flag[803 cafe_bottomright];
|
|
9
|
aite = -1;
|
|
10
|
if (seat == 0)
|
|
11
|
aite = seat1;
|
|
12
|
if (seat == 1)
|
|
13
|
aite = seat0;
|
|
14
|
if (myid == 5 && aite == 6)
|
|
15
|
_dialogue[0] = stringsetloc(* Sure is great to be here with my best friend Hathy.Wait for inputClose Message"* Sure is great to be here with my best friend Hathy./%", "obj_npc_cafe_slash_Other_10_gml_27_0" );
|
|
16
|
if (myid == 6 && aite == 5)
|
|
17
|
_dialogue[0] = stringsetloc(* (Hathy seems fine.)Wait for inputClose Message"* (Hathy seems fine.)/%", "obj_npc_cafe_slash_Other_10_gml_32_0" );
|
|
18
|
if (myid == 5 && aite == 22)
|
|
19
|
_dialogue[0] = stringsetloc(* Sigh...Delay 11 does this guy have to one-up me on everything!?Wait for inputClose Message"* Sigh..^1. does this guy have to one-up me on everything!?/%", "obj_npc_cafe_slash_Other_10_gml_38_0" );
|
|
20
|
if (myid == 22 && aite == 5)
|
|
21
|
_dialogue[0] = stringsetloc(* I'll have a double Starfait. No,Delay 11 triple. Oh,Delay 11 hi,Delay 11 boss!Delay 11 (Smile)Wait for inputClose Message"* I'll have a double Starfait. No^1, triple. Oh^1, hi^1, boss^1! (Smile)/%", "obj_npc_cafe_slash_Other_10_gml_43_0" );
|
|
22
|
if (myid == 6 && aite == 23)
|
|
23
|
_dialogue[0] = stringsetloc(* (Hathy is letting Head Hathy have a sip of her latte.)Wait for inputClose Message"* (Hathy is letting Head Hathy have a sip of her latte.)/%", "obj_npc_cafe_slash_Other_10_gml_50_0" );
|
|
24
|
if (myid == 23 && aite == 6)
|
|
25
|
_dialogue[0] = stringsetloc(* (Head Hathy doesn't seem so alone...)Wait for inputClose Message"* (Head Hathy doesn't seem so alone...)/%", "obj_npc_cafe_slash_Other_10_gml_55_0" );
|
|
26
|
if (myid == 35 && aite == 30)
|
|
27
|
_dialogue[0] = stringsetloc(* We don't get along...Delay 11 but we can drink together.Wait for inputClose Message"* We don't get along..^1. but we can drink together./%", "obj_npc_cafe_slash_Other_10_gml_61_0" );
|
|
28
|
if (myid == 30 && aite == 35)
|
|
29
|
_dialogue[0] = stringsetloc(* I'll get you next time,Delay 11 pipo!Delay 11 ...Delay 11 Want some more sugar?Wait for inputClose Message"* I'll get you next time^1, pipo^1! ..^1. Want some more sugar?/%", "obj_npc_cafe_slash_Other_10_gml_66_0" );
|
|
30
|
if (myid == 32 && aite == 34)
|
|
31
|
{
|
|
32
|
_dialogue[0] = stringsetloc(* [Miaouw]Wait for inputClose Message"* [Miaouw]/%", "obj_npc_cafe_slash_Other_10_gml_72_0" );
|
|
33
|
if (i_ex(obj_npc_castle_cafe))
|
|
34
|
{
|
|
35
|
with (obj_npc_castle_cafe)
|
|
36
|
t_con = 1;
|
|
37
|
}
|
|
38
|
}
|
|
39
|
if (myid == 34 && aite == 32)
|
|
40
|
_dialogue[0] = stringsetloc(* [Brrrrrrrr....]Wait for inputClose Message"* [Brrrrrrrr....]/%", "obj_npc_cafe_slash_Other_10_gml_77_0" );
|
|
41
|
if (myid == 33 && aite == 40)
|
|
42
|
_dialogue[0] = stringsetloc(* (...Delay 11 it seems annoyed that its energy drink has been crushed.)Wait for inputClose Message"* (..^1. it seems annoyed that its energy drink has been crushed.)/%", "obj_npc_cafe_slash_Other_10_gml_83_0" );
|
|
43
|
if (myid == 40 && aite == 33)
|
|
44
|
_dialogue[0] = stringsetloc(* (It's crushing many of the surrounding drinks.)Wait for inputClose Message"* (It's crushing many of the surrounding drinks.)/%", "obj_npc_cafe_slash_Other_10_gml_88_0" );
|
|
45
|
if (myid == 13 && aite == 36)
|
|
46
|
_dialogue[0] = stringsetloc(* (I'm the dust off his shoulder.)Delay 11 * (Sukkiri.)Wait for inputClose Message"* (I'm the dust off his shoulder.^1)&* (Sukkiri.)/%", "obj_npc_cafe_slash_Other_10_gml_100_0_b" );
|
|
47
|
if (myid == 36 && aite == 13)
|
|
48
|
_dialogue[0] = stringsetloc(* We'll make sure to clean our plates.Delay 11 * (Sukkiri.)Wait for inputClose Message"* We'll make sure to clean our plates^1.&* (Sukkiri.)/%", "obj_npc_cafe_slash_Other_10_gml_105_0" );
|
|
49
|
if (seat0 == 36 && seat1 == 36 && seat2 == 36 && seat3 == 36)
|
|
50
|
_dialogue[0] = stringsetloc(* Boss,Delay 11 are you enjoying your Butler Cafe?Wait for inputClose Message"* Boss^1, are you enjoying your \\cYButler Cafe\\c0?/%", "obj_npc_cafe_slash_Other_10_gml_111_0" );
|
|
51
|
if (myid == 23 && aite == 40)
|
|
52
|
{
|
|
53
|
if (global.flag[327 interacted_hathyx_www] == 0)
|
|
54
|
global.flag[327 interacted_hathyx_www] = 1;
|
|
55
|
_dialogue[0] = stringsetloc(* (...Delay 11 it seems relaxed its partner is so quiet.)Wait for inputClose Message"* (..^1. it seems relaxed its partner is so quiet.)/%", "obj_npc_cafe_slash_Other_10_gml_100_0" );
|
|
56
|
}
|
|
57
|
if (myid == 40 && aite == 23)
|
|
58
|
{
|
|
59
|
if (global.flag[327 interacted_hathyx_www] == 0)
|
|
60
|
global.flag[327 interacted_hathyx_www] = 1;
|
|
61
|
_dialogue[0] = stringsetloc(* (...)Wait for inputClose Message"* (...)/%", "obj_npc_cafe_slash_Other_10_gml_110_0" );
|
|
62
|
}
|
|
63
|
if (myid == 40 && global.flag[327 interacted_hathyx_www] == 1 && aite != 23)
|
|
64
|
{
|
|
65
|
if (seat0 == 23 || seat1 == 23)
|
|
66
|
{
|
|
67
|
if (seat1 == 33 || seat0 == 33)
|
|
68
|
_dialogue[0] = stringsetloc(* (...Delay 11 looks like it's about to flip its table over.)Wait for inputClose Message"* (..^1. looks like it's about to flip its table over.)/%", "obj_npc_cafe_slash_Other_10_gml_120_0" );
|
|
69
|
else
|
|
70
|
_dialogue[0] = stringsetloc(* (...Delay 11 it's staring at the southern seats and crushing its drink hard.)Wait for inputClose Message"* (..^1. it's staring at the southern seats and crushing its drink hard.)/%", "obj_npc_cafe_slash_Other_10_gml_124_0" );
|
|
71
|
}
|
|
72
|
}
|
|
73
|
if (myid == 54 && aite == 30)
|
|
74
|
_dialogue[0] = stringsetloc(* (Seems to just be enjoying the musical ambulance.)Wait for inputClose Message"* (Seems to just be enjoying the musical ambulance.)/%", "obj_npc_cafe_slash_Other_10_gml_155_0" );
|
|
75
|
if (myid == 56 && aite == 36)
|
|
76
|
_dialogue[0] = stringsetloc(* Dis pretty boy ain't nothin',Delay 11 boss. Watch me down dis tea!Wait for inputClose Message"* Dis pretty boy ain't nothin'^1, boss. Watch me down dis tea!/%", "obj_npc_cafe_slash_Other_10_gml_161_0" );
|
|
77
|
if (myid == 36 && aite == 56)
|
|
78
|
_dialogue[0] = stringsetloc(* Oh,Delay 11 boss. This brutish boor can't even handle a little tea...Wait for inputClose Message"* Oh^1, boss. This brutish boor can't even handle a little tea.../%", "obj_npc_cafe_slash_Other_10_gml_167_0" );
|
|
79
|
if (myid == 57 && aite == 13)
|
|
80
|
_dialogue[0] = stringsetloc(* (Rabbit,Delay 11 rabbit...Delay 11 Oops,Delay 11 forget I said that.)Wait for inputClose Message"* (Rabbit^1, rabbit..^1. Oops^1, forget I said that.)/%", "obj_npc_cafe_slash_Other_10_gml_173_0" );
|
|
81
|
if (myid == 13 && aite == 57)
|
|
82
|
_dialogue[0] = stringsetloc(* (Ribbit,Delay 11 ribbit...Delay 11 Oops,Delay 11 forget I said that.)Wait for inputClose Message"* (Ribbit^1, ribbit..^1. Oops^1, forget I said that.)/%", "obj_npc_cafe_slash_Other_10_gml_179_0" );
|
|
83
|
if (myid == 60)
|
|
84
|
{
|
|
85
|
if (aite >= 5)
|
|
86
|
_dialogue[0] = stringsetloc(* Kris!Delay 11 This doesn't look like a date,Delay 11 does it!? It's not!Wait for inputClose Message"* Kris^1! This doesn't look like a date^1, does it!? It's not!/%", "obj_npc_cafe_slash_Other_10_gml_189_0" );
|
|
87
|
if (seat0 == 61 || seat1 == 61)
|
|
88
|
_dialogue[0] = stringsetloc(* What is that moon doing!? I'll have to make him jealous,Delay 11 too!!Wait for inputClose Message"* What is that moon doing!? I'll have to make him jealous^1, too!!/%", "obj_npc_cafe_slash_Other_10_gml_195_0" );
|
|
89
|
if (aite == 61)
|
|
90
|
_dialogue[0] = stringsetloc(* Did it hurt when you fell? Your tag says you're...Delay 11 um,Delay 11 the moon.Wait for inputClose Message"* Did it hurt when you fell? Your tag says you're..^1. um^1, the moon./%", "obj_npc_cafe_slash_Other_10_gml_201_0" );
|
|
91
|
if (aite == 65)
|
|
92
|
{
|
|
93
|
_dialogue[0] = stringsetloc(* Haha,Delay 11 Kris!Delay 11 I think I've got a new BESTIE!!Wait for input"* Haha^1, Kris^1! I think I've got a new BESTIE!!/", "obj_npc_cafe_slash_Other_10_gml_207_0" );
|
|
94
|
_dialogue[1] = stringsetloc(* Like I'm saying,Delay 11 water girls are the WAVE!!Wait for inputClose Message"* Like I'm saying^1, water girls are the WAVE!!/%", "obj_npc_cafe_slash_Other_10_gml_208_0" );
|
|
95
|
}
|
|
96
|
if (aite == 69)
|
|
97
|
{
|
|
98
|
_dialogue[0] = stringsetloc(* Haha,Delay 11 Kris!Delay 11 I think I've got a new BESTIE!!Wait for input"* Haha^1, Kris^1! I think I've got a new BESTIE!!/", "obj_npc_cafe_slash_Other_10_gml_214_0" );
|
|
99
|
_dialogue[1] = stringsetloc(* Like I'm saying,Delay 11 water girls are the WAVE!!Delay 11 Here,Delay 11 selfie!!Wait for inputClose Message"* Like I'm saying^1, water girls are the WAVE!^1! Here^1, selfie!!/%", "obj_npc_cafe_slash_Other_10_gml_215_0" );
|
|
100
|
}
|
|
101
|
}
|
|
102
|
if (myid == 61)
|
|
103
|
{
|
|
104
|
if (aite >= 5)
|
|
105
|
_dialogue[0] = stringsetloc(* Kris...Delay 11 um,Delay 11 help!Delay 11 I'm not ready for a team relationship again...Wait for inputClose Message"* Kris..^1. um^1, help^1! I'm not ready for a team relationship again.../%", "obj_npc_cafe_slash_Other_10_gml_225_0" );
|
|
106
|
if (seat0 == 60 || seat1 == 60)
|
|
107
|
_dialogue[0] = stringsetloc(* Oh my rain!? What is she DOING with that rogue!?Wait for inputClose Message"* Oh my rain!? What is she DOING with that rogue!?/%", "obj_npc_cafe_slash_Other_10_gml_231_0" );
|
|
108
|
if (aite == 60)
|
|
109
|
_dialogue[0] = stringsetloc(* Oh my rain...Delay 11 you put me on Cloud 9. Which,Delay 11 is the best cloud.Wait for inputClose Message"* Oh my rain..^1. you put me on Cloud 9. Which^1, is the best cloud./%", "obj_npc_cafe_slash_Other_10_gml_237_0" );
|
|
110
|
if (aite == 65)
|
|
111
|
{
|
|
112
|
_dialogue[0] = stringsetloc(* Hmm...Delay 11 something about you seems...Delay 11 different tonight,Delay 11 Elnina.Wait for input"* Hmm..^1. something about you seems..^1. different tonight^1, Elnina./", "obj_npc_cafe_slash_Other_10_gml_243_0" );
|
|
113
|
_dialogue[1] = stringsetloc(* What is it...Delay 11 a new hatcut? Oh,Delay 11 it's splendid!Wait for inputClose Message"* What is it..^1. a new hatcut? Oh^1, it's splendid!/%", "obj_npc_cafe_slash_Other_10_gml_244_0" );
|
|
114
|
}
|
|
115
|
if (aite == 69)
|
|
116
|
{
|
|
117
|
_dialogue[0] = stringsetloc(* I'm not sure why you're so aggressive tonight,Delay 11 Elnina...Wait for input"* I'm not sure why you're so aggressive tonight^1, Elnina.../", "obj_npc_cafe_slash_Other_10_gml_250_0" );
|
|
118
|
_dialogue[1] = stringsetloc(* But - my stars - I kind of LIKE it!Wait for inputClose Message"* But - my stars - I kind of LIKE it!/%", "obj_npc_cafe_slash_Other_10_gml_251_0" );
|
|
119
|
}
|
|
120
|
}
|
|
121
|
if (myid == 58 && aite < 0)
|
|
122
|
{
|
|
123
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
}
function scr_flag_name_get(arg0)
{
if (!global.is_console)
{
var v = global.flagname[arg0];
return is_undefined(v) ? "*unknown flag*" : v;
}
else
{
return "";
}
}
function scr_getflag(arg0)
{
return scr_flag_get(arg0);
} (1144) == 1 || scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
}
function scr_flag_name_get(arg0)
{
if (!global.is_console)
{
var v = global.flagname[arg0];
return is_undefined(v) ? "*unknown flag*" : v;
}
else
{
return "";
}
}
function scr_getflag(arg0)
{
return scr_flag_get(arg0);
} (1144) == 3)
|
|
124
|
_dialogue[0] = stringsetloc(* (Seems like you're invited for drinks...Delay 11 but you're busy now.)Wait for inputClose Message"* (Seems like you're invited for drinks..^1. but you're busy now.)/%", "obj_npc_cafe_slash_Other_10_gml_260_0" );
|
|
125
|
}
|
|
126
|
if (myid == 62)
|
|
127
|
{
|
|
128
|
if (aite == 65 || aite == 69)
|
|
129
|
_dialogue[0] = stringsetloc(* (Guei's vibes seemed dampened...)Wait for inputClose Message"* (Guei's vibes seemed dampened...)/%", "obj_npc_cafe_slash_Other_10_gml_270_0" );
|
|
130
|
}
|
|
131
|
if (myid == 63)
|
|
132
|
{
|
|
133
|
if (aite == 62)
|
|
134
|
_dialogue[0] = stringsetloc(* C h i l l...Delay 11 b u d d y...Wait for inputClose Message"* C h i l l..^1. b u d d y.../%", "obj_npc_cafe_slash_Other_10_gml_280_0" );
|
|
135
|
}
|
|
136
|
if (myid == 65)
|
|
137
|
{
|
|
138
|
if (aite == 69)
|
|
139
|
_dialogue[0] = stringsetloc(* (Oh,Delay 11 anyone but her...)Wait for inputClose Message"* (Oh^1, anyone but her...)/%", "obj_npc_cafe_slash_Other_10_gml_290_0" );
|
|
140
|
if (aite == 60)
|
|
141
|
_dialogue[0] = stringsetloc(* (Who is this city bob? She lacks the elegance of a fairy)Wait for inputClose Message"* (Who is this city bob? She lacks the elegance of a fairy)/%", "obj_npc_cafe_slash_Other_10_gml_296_0" );
|
|
142
|
if (aite == 61)
|
|
143
|
_dialogue[0] = stringsetloc(* (Who is this beautiful yet stupid man? A fine prince?)Wait for inputClose Message"* (Who is this beautiful yet stupid man? A fine prince?)/%", "obj_npc_cafe_slash_Other_10_gml_302_0" );
|
|
144
|
}
|
|
145
|
if (myid == 69)
|
|
146
|
{
|
|
147
|
if (aite == 65)
|
|
148
|
_dialogue[0] = stringsetloc(* O,Delay 11 paired with a regular sort. Well then,Delay 11 be my apprentice!Wait for inputClose Message"* O^1, paired with a regular sort. Well then^1, be my apprentice!/%", "obj_npc_cafe_slash_Other_10_gml_312_0" );
|
|
149
|
if (aite == 60)
|
|
150
|
_dialogue[0] = stringsetloc(* Amusing. What are these "sylphies",Delay 11 you so speak of?Wait for inputClose Message"* Amusing. What are these \"sylphies\"^1, you so speak of?/%", "obj_npc_cafe_slash_Other_10_gml_318_0" );
|
|
151
|
if (aite == 61)
|
|
152
|
_dialogue[0] = stringsetloc(* You brute!Delay 11 You betray your love,Delay 11 and treat me like a commoner!?Wait for inputClose Message"* You brute^1! You betray your love^1, and treat me like a commoner!?/%", "obj_npc_cafe_slash_Other_10_gml_324_0" );
|
|
153
|
}
|
|
154
|
for (j = 0; j < array_length(_dialogue); j++)
|
|
155
|
msgset(j, _dialogue[j]);
|
|
156
|
remanimspeed = image_speed_fake;
|
|
157
|
myinteract = 3;
|
|
158
|
mydialoguer = instance_create(0, 0, obj_dialoguer);
|
|
159
|
talked += 1;
|