|
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 == "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;
}
if (global.fighting == 1)
... ("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 == 2)
|
|
11
|
aite = seat3;
|
|
12
|
if (seat == 3)
|
|
13
|
aite = seat2;
|
|
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 (seat2 == 23 || seat3 == 23)
|
|
66
|
{
|
|
67
|
if (seat3 == 33 || seat2 == 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
|
for (j = 0; j < _dialogueboxes; j++)
|
|
74
|
msgset(j, _dialogue[j]);
|
|
75
|
remanimspeed = image_speed_fake;
|
|
76
|
myinteract = 3;
|
|
77
|
mydialoguer = instance_create(0, 0, obj_dialoguer);
|
|
78
|
talked += 1;
|