|
1
|
siner++;
|
|
2
|
if (con == 1)
|
|
3
|
{
|
|
4
|
var hasjokesleft = true;
|
|
5
|
if (array_length(jokes) == 0)
|
|
6
|
hasjokesleft = false;
|
|
7
|
global.interact = 1;
|
|
8
|
global.msc = -99;
|
|
9
|
global.choice = -1;
|
|
10
|
global.choicemsg[0] = stringsetloc(#Tell a Joke"#Tell a Joke", "obj_dw_church_jackenstein_pumpkinNPC_slash_Step_0_gml_15_0" );
|
|
11
|
global.choicemsg[1] = stringsetloc(#Tell a Story"#Tell a Story", "obj_dw_church_jackenstein_pumpkinNPC_slash_Step_0_gml_16_0" );
|
|
12
|
if (hasjokesleft == false)
|
|
13
|
{
|
|
14
|
global.choicemsg[0] = global.choicemsg[1];
|
|
15
|
global.choicemsg[1] = stringsetloc(#Don't"#Don't", "obj_dw_church_jackenstein_pumpkinNPC_slash_Step_0_gml_20_0" );
|
|
16
|
}
|
|
17
|
global.choicemsg[2] = stringset("");
|
|
18
|
global.choicemsg[3] = stringset("");
|
|
19
|
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;
... ("no_name");
|
|
20
|
msgsetloc(0, * (...)Wait for input"* (...)/", "obj_dw_church_jackenstein_pumpkinNPC_slash_Step_0_gml_26_0" );
|
|
21
|
msgnext("\\C2 ");
|
|
22
|
d_make();
|
|
23
|
con = 2;
|
|
24
|
if (hasjokesleft == false)
|
|
25
|
con = 40;
|
|
26
|
}
|
|
27
|
if (con == 40 && global.choice != -1)
|
|
28
|
{
|
|
29
|
if (global.choice == 0)
|
|
30
|
{
|
|
31
|
k_d(1);
|
|
32
|
con = 20;
|
|
33
|
}
|
|
34
|
if (global.choice == 1)
|
|
35
|
{
|
|
36
|
con = 0;
|
|
37
|
k_d();
|
|
38
|
global.interact = 0;
|
|
39
|
}
|
|
40
|
}
|
|
41
|
if (con == 2 && global.choice != -1)
|
|
42
|
{
|
|
43
|
k_d(1);
|
|
44
|
if (global.choice == 0)
|
|
45
|
con = 10;
|
|
46
|
if (global.choice == 1)
|
|
47
|
con = 20;
|
|
48
|
}
|
|
49
|
if (con == 10)
|
|
50
|
{
|
|
51
|
var pickjoke = irandom(array_length(jokes) - 1);
|
|
52
|
var jokeind = jokes[pickjoke];
|
|
53
|
array_delete(jokes, pickjoke, 1);
|
|
54
|
debug_message(jokes);
|
|
55
|
switch (jokeind)
|
|
56
|
{
|
|
57
|
case 0:
|
|
58
|
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;
... ("ralsei");
|
|
59
|
msgsetloc(0, Face J* Why shouldn't you fight with a broken pencil?Wait for inputClose Message"\\EJ* Why shouldn't you fight with a broken pencil?/%", "obj_dw_church_jackenstein_pumpkinNPC_slash_Step_0_gml_75_0" );
|
|
60
|
break;
|
|
61
|
case 1:
|
|
62
|
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;
... ("susie");
|
|
63
|
msgsetloc(0, Face Y* What's worse than Ralsei in a trash can?Wait for inputClose Message"\\EY* What's worse than Ralsei in a trash can?/%", "obj_dw_church_jackenstein_pumpkinNPC_slash_Step_0_gml_79_0" );
|
|
64
|
break;
|
|
65
|
case 2:
|
|
66
|
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;
... ("susie");
|
|
67
|
msgsetloc(0, Face K* Hey,Delay 11 wanna donut? I mean,Delay 11 a hurtz one?Wait for inputClose Message"\\EK* Hey^1, wanna donut? I mean^1, a hurtz one?/%", "obj_dw_church_jackenstein_pumpkinNPC_slash_Step_0_gml_83_0" );
|
|
68
|
break;
|
|
69
|
case 3:
|
|
70
|
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;
... ("ralsei");
|
|
71
|
msgsetloc(0, Face 2* Ummm,Delay 11 knock knock!Wait for inputClose Message"\\E2* Ummm^1, knock knock!/%", "obj_dw_church_jackenstein_pumpkinNPC_slash_Step_0_gml_87_0" );
|
|
72
|
break;
|
|
73
|
}
|
|
74
|
d_make();
|
|
75
|
con = 11;
|
|
76
|
}
|
|
77
|
if (con == 11 && !d_ex())
|
|
78
|
{
|
|
79
|
laughing = true;
|
|
80
|
imgind = 0;
|
|
81
|
laughingtime = 0;
|
|
82
|
snd_play(snd_jackolantern_laugh);
|
|
83
|
con = 12;
|
|
84
|
scr_delay_var("con", 13, 64);
|
|
85
|
}
|
|
86
|
if (con == 13)
|
|
87
|
{
|
|
88
|
laughing = false;
|
|
89
|
if (global.flag[1637] == 1)
|
|
90
|
{
|
|
91
|
con = 14;
|
|
92
|
}
|
|
93
|
else
|
|
94
|
{
|
|
95
|
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;
... ("no_name");
|
|
96
|
msgsetloc(0, * (It laughed before the punchline...)Wait for inputClose Message"* (It laughed before the punchline...)/%", "obj_dw_church_jackenstein_pumpkinNPC_slash_Step_0_gml_113_0" );
|
|
97
|
d_make();
|
|
98
|
con = 14;
|
|
99
|
global.flag[1637] = 1;
|
|
100
|
}
|
|
101
|
}
|
|
102
|
if (con == 14 && !d_ex())
|
|
103
|
{
|
|
104
|
con = 0;
|
|
105
|
global.interact = 0;
|
|
106
|
}
|
|
107
|
if (con == 20)
|
|
108
|
{
|
|
109
|
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;
... ("ralsei");
|
|
110
|
msgsetloc(0, Face 2* Well,Delay 11 once upon a time,Delay 11 there was a lonely kingdom.Wait for input"\\E2* Well^1, once upon a time^1, there was a lonely kingdom./", "obj_dw_church_jackenstein_pumpkinNPC_slash_Step_0_gml_129_0" );
|
|
111
|
msgnextloc(Face d* And in it,Delay 11 there lived a prince...Wait for input"\\Ed* And in it^1, there lived a prince.../", "obj_dw_church_jackenstein_pumpkinNPC_slash_Step_0_gml_130_0" );
|
|
112
|
msgnextloc(Face J* ...Delay 11 who had scarcely known anyone else. Until one day...Wait for input"\\EJ* ..^1. who had scarcely known anyone else. Until one day.../", "obj_dw_church_jackenstein_pumpkinNPC_slash_Step_0_gml_131_0" );
|
|
113
|
d_make();
|
|
114
|
con = 21;
|
|
115
|
}
|
|
116
|
if (con == 21)
|
|
117
|
{
|
|
118
|
if (instance_exists(obj_writer))
|
|
119
|
{
|
|
120
|
if (scr_getmsgnoscr_getmsgno
function scr_getmsgno()
{
if (instance_exists(obj_writer))
return obj_writer.msgno;
} () == 3)
|
|
121
|
{
|
|
122
|
k_d();
|
|
123
|
con = 22;
|
|
124
|
timer = 0;
|
|
125
|
}
|
|
126
|
}
|
|
127
|
}
|
|
128
|
if (con == 22)
|
|
129
|
{
|
|
130
|
timer++;
|
|
131
|
if (timer == 1)
|
|
132
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("mouthangle", 0, 180, 15, -1, "out");
|
|
133
|
if (timer == 15)
|
|
134
|
{
|
|
135
|
var loc = [x - 266, y - 144];
|
|
136
|
if (global.lang == "ja")
|
|
137
|
loc = [x - 266 - 26, (y - 144) + 40];
|
|
138
|
instance_create(loc[0], loc[1], obj_takingtoolong);
|
|
139
|
var snd = 525;
|
|
140
|
if (global.lang == "ja")
|
|
141
|
snd = 150;
|
|
142
|
snd_play(snd, 0.7);
|
|
143
|
}
|
|
144
|
if (timer == 90)
|
|
145
|
{
|
|
146
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("mouthangle", 180, 0, 6, -2, "out");
|
|
147
|
snd_play(snd_noise);
|
|
148
|
vspeed = -8;
|
|
149
|
gravity = 1;
|
|
150
|
hspeed = 16;
|
|
151
|
friction = 0.125;
|
|
152
|
}
|
|
153
|
if (timer == 135)
|
|
154
|
{
|
|
155
|
gravity = 0;
|
|
156
|
vspeed = 0;
|
|
157
|
hspeed = 0;
|
|
158
|
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;
... ("ralsei");
|
|
159
|
msgsetloc(0, Face K* Okay...Wait for inputClose Message"\\EK* Okay.../%", "obj_dw_church_jackenstein_pumpkinNPC_slash_Step_0_gml_176_0" );
|
|
160
|
d_make();
|
|
161
|
con = 23;
|
|
162
|
}
|
|
163
|
}
|
|
164
|
if (con == 23 && !d_ex())
|
|
165
|
{
|
|
166
|
global.interact = 0;
|
|
167
|
global.flag[1637] = 2;
|
|
168
|
instance_destroy();
|
|
169
|
}
|
|
170
|
if (laughing)
|
|
171
|
{
|
|
172
|
laughingtime++;
|
|
173
|
if (laughingtime == round(1.26))
|
|
174
|
imgindex = 1.2;
|
|
175
|
if (laughingtime == round(5.67))
|
|
176
|
imgindex = 0;
|
|
177
|
if (laughingtime == round(8.67))
|
|
178
|
imgindex = 1.1;
|
|
179
|
if (laughingtime == round(10.95))
|
|
180
|
imgindex = 0;
|
|
181
|
if (laughingtime == round(12.78))
|
|
182
|
imgindex = 1.05;
|
|
183
|
if (laughingtime == round(15.36))
|
|
184
|
imgindex = 0;
|
|
185
|
if (laughingtime == round(17.22))
|
|
186
|
imgindex = 1;
|
|
187
|
if (laughingtime == round(20.220000000000002))
|
|
188
|
imgindex = 0;
|
|
189
|
if (laughingtime == round(23.25))
|
|
190
|
imgindex = 0.95;
|
|
191
|
if (laughingtime == round(26.19))
|
|
192
|
imgindex = 0;
|
|
193
|
if (laughingtime == round(28.919999999999998))
|
|
194
|
imgindex = 0.95;
|
|
195
|
if (laughingtime == round(32.04))
|
|
196
|
imgindex = 0;
|
|
197
|
if (laughingtime == round(35.94))
|
|
198
|
imgindex = 0.8;
|
|
199
|
if (laughingtime == round(40.65))
|
|
200
|
imgindex = 0;
|
|
201
|
if (laughingtime == round(44.790000000000006))
|
|
202
|
imgindex = 0.7;
|
|
203
|
if (laughingtime == round(49.26))
|
|
204
|
imgindex = 0;
|
|
205
|
}
|