1 |
if ((obj_mainchara.x > x && global.plot == 13) && global.interact == 0) |
2 |
{ |
3 |
global.plot = 14; |
4 |
global.interact = 1; |
5 |
global.facing = 1; |
6 |
con = 1; |
7 |
} |
8 |
if (con == 1) |
9 |
{ |
10 |
con = 3; |
11 |
global.facing = 3; |
12 |
with (obj_caterpillarchara) |
13 |
{ |
14 |
if (name == "susie") |
15 |
{ |
16 |
fun = 1; |
17 |
_remsprite = sprite_index; |
18 |
sprite_index = lsprite; |
19 |
image_index = 0; |
20 |
} |
21 |
} |
22 |
scr_speakerscr_speakerfunction 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)
... ("ralsei"); |
23 |
msgsetloc(0, Face 1* I...Delay 11 have a surprise for you two...!Wait for input"\\E1* I..^1. have a surprise for you two...!/", "obj_ch2_room_castle_2f_slash_Step_0_gml_26_0" ); |
24 |
msgnextloc(Face 2* ...Delay 11 I made rooms for you in the castle!Wait for input"\\E2* ..^1. I made rooms for you in the castle!/", "obj_ch2_room_castle_2f_slash_Step_0_gml_27_0" ); |
25 |
scr_anyface_next("susie", 6); |
26 |
msgnextloc(Face 6* ...Delay 11 Rooms?Wait for input"\\E6* ..^1. Rooms?/", "obj_ch2_room_castle_2f_slash_Step_0_gml_29_0" ); |
27 |
scr_anyface_next("ralsei", 2); |
28 |
msgnextloc(Face 2* So you can stay here whenever you want!Wait for input"\\E2* So you can stay here whenever you want!/", "obj_ch2_room_castle_2f_slash_Step_0_gml_31_0" ); |
29 |
msgnextloc(Face 1* Ummm,Delay 11 I'd be happy if this place...Wait for input"\\E1* Ummm^1, I'd be happy if this place.../", "obj_ch2_room_castle_2f_slash_Step_0_gml_32_0" ); |
30 |
msgnextloc(Face 2* Could be like a second home to you.Wait for input"\\E2* Could be like a second home to you./", "obj_ch2_room_castle_2f_slash_Step_0_gml_33_0" ); |
31 |
msgnextloc(Face 0* A place that you can go...Wait for input"\\E0* A place that you can go.../", "obj_ch2_room_castle_2f_slash_Step_0_gml_34_0" ); |
32 |
msgnextloc(Face I* No matter what's happening outside.Wait for input"\\EI* No matter what's happening outside./", "obj_ch2_room_castle_2f_slash_Step_0_gml_35_0" ); |
33 |
scr_anyface_next("susie", 6); |
34 |
msgnextloc(Face 6* ...Wait for input"\\E6* .../", "obj_ch2_room_castle_2f_slash_Step_0_gml_37_0" ); |
35 |
msgnextloc(Face A* Heh,Delay 11 well,Delay 11 we'll take a look.Wait for inputClose Message"\\EA* Heh^1, well^1, we'll take a look./%", "obj_ch2_room_castle_2f_slash_Step_0_gml_38_0" ); |
36 |
d_make(); |
37 |
} |
38 |
if ((obj_mainchara.x < x && global.plot == 14) && global.interact == 0) |
39 |
{ |
40 |
con = 4; |
41 |
global.interact = 1; |
42 |
global.facing = 1; |
43 |
obj_mainchara.x = x + 4; |
44 |
leaveCounter++; |
45 |
var sentenceEnd = (leaveCounter == 1) ? "/" : "/%"; |
46 |
scr_speakerscr_speakerfunction 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)
... ("susie"); |
47 |
msgsetsubloc(0, "\\E5* Hey^1, lemme look at my freaking room a sec!~1", sentenceEnd, "obj_ch2_room_castle_2f_slash_Step_0_gml_54_0"); |
48 |
if (leaveCounter == 1) |
49 |
{ |
50 |
msgnextloc(Face P* Damn,Delay 11 all you wanna do is run off and steal cake.Wait for input"\\EP* Damn^1, all you wanna do is run off and steal cake./", "obj_ch2_room_castle_2f_slash_Step_0_gml_58_0" ); |
51 |
scr_anyface_next("ralsei", 33); |
52 |
msgnextloc(Face X* (...Delay 11 is that projection?)Wait for inputClose Message"\\EX* (..^1. is that projection?)/%", "obj_ch2_room_castle_2f_slash_Step_0_gml_60_0" ); |
53 |
} |
54 |
d_make(); |
55 |
} |
56 |
if ((obj_mainchara.x < x && global.plot == 15 && global.flag[432 told_to_explore] == 0) && global.interact == 0) |
57 |
{ |
58 |
con = 4; |
59 |
global.interact = 1; |
60 |
global.flag[432 told_to_explore] = 1; |
61 |
global.facing = 1; |
62 |
scr_speakerscr_speakerfunction 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)
... ("susie"); |
63 |
msgsetloc(0, Face K* So,Delay 11 what do we do now?Wait for input"\\EK* So^1, what do we do now?/", "obj_ch2_room_castle_2f_slash_Step_0_gml_75_0" ); |
64 |
scr_anyface_next("ralsei", 2); |
65 |
msgnextloc(Face 2* Feel free to explore the town until you're ready to leave!Wait for input"\\E2* Feel free to explore the town until you're ready to \\cYleave\\c0!/", "obj_ch2_room_castle_2f_slash_Step_0_gml_77_0" ); |
66 |
scr_anyface_next("susie", 2); |
67 |
msgnextloc(Face 2* Hah!Delay 11 Like we're gonna leave now,Delay 11 right,Delay 11 Kris?Wait for inputClose Message"\\E2* Hah^1! Like we're gonna \\cYleave\\c0 now^1, right^1, Kris?/%", "obj_ch2_room_castle_2f_slash_Step_0_gml_79_0" ); |
68 |
d_make(); |
69 |
} |
70 |
if (con == 3 || con == 4) |
71 |
{ |
72 |
if (!d_ex()) |
73 |
{ |
74 |
if (con == 3) |
75 |
{ |
76 |
global.facing = 0; |
77 |
with (obj_caterpillarchara) |
78 |
{ |
79 |
if (name == "susie") |
80 |
{ |
81 |
fun = 0; |
82 |
sprite_index = _remsprite; |
83 |
} |
84 |
} |
85 |
} |
86 |
global.interact = 0; |
87 |
con = -1; |
88 |
} |
89 |
} |