1 |
if (weird == true) |
2 |
{ |
3 |
layer_set_visible("TILES_Doorway", 1); |
4 |
with (blocker) |
5 |
instance_destroy(); |
6 |
instance_destroy(); |
7 |
} |
8 |
if (dogcon == 0) |
9 |
{ |
10 |
if (con == 1 && !d_ex()) |
11 |
{ |
12 |
layer_set_visible("TILES_BlockedEntrance", 1); |
13 |
entranceblock = instance_create(600, 1360, obj_solidblocksized); |
14 |
entranceblock.image_xscale = 2; |
15 |
queen_monitor.turnon = 1; |
16 |
queen_monitor2.turnon = 1; |
17 |
global.interact = 1; |
18 |
con++; |
19 |
} |
20 |
if (con == 2 && !d_ex()) |
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)
... ("queen"); |
23 |
msgsetloc(0, Face 1* Welcome To My Extravagant Dining BonanzaWait for inputClose Message"\\E1* Welcome To My Extravagant Dining Bonanza/%", "obj_controller_dining3_slash_Step_0_gml_19_0" ); |
24 |
d_make(); |
25 |
con = 2.5; |
26 |
timer = 0; |
27 |
} |
28 |
if (con == 2.5 && !d_ex()) |
29 |
{ |
30 |
timer++; |
31 |
if (timer == 1) |
32 |
{ |
33 |
for (var i = 0; i < 7; i++) |
34 |
{ |
35 |
for (var ii = 0; ii < 5; ii++) |
36 |
{ |
37 |
if (!(ii == 0 && i == 2) && !(ii == 0 && i == 3) && !(ii == 0 && i == 4)) |
38 |
instance_create(109 + (i * 160), 240 + (ii * 240), obj_saucer_dining3Spawner); |
39 |
} |
40 |
} |
41 |
for (var i = 0; i < 6; i++) |
42 |
{ |
43 |
for (var ii = 0; ii < 4; ii++) |
44 |
instance_create(189 + (i * 160), 360 + (ii * 240), obj_saucer_dining3Spawner); |
45 |
} |
46 |
} |
47 |
if (instance_exists(obj_saucer)) |
48 |
{ |
49 |
other.con = 2.9; |
50 |
timer = 0; |
51 |
} |
52 |
} |
53 |
if (con == 2.9 && !d_ex()) |
54 |
{ |
55 |
timer++; |
56 |
if (timer == 1) |
57 |
snd_play(snd_impact); |
58 |
if (timer == 1) |
59 |
instance_create(0, 0, obj_shake); |
60 |
if (timer == 30) |
61 |
con = 3; |
62 |
} |
63 |
if (con == 3 && !d_ex()) |
64 |
{ |
65 |
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)
... ("queen"); |
66 |
msgsetloc(0, Face D* Only One Of These Delicious Platters Has The KeyWait for input"\\ED* Only One Of These Delicious Platters Has The Key/", "obj_controller_dining3_slash_Step_0_gml_72_0" ); |
67 |
msgnextloc(Face 1* I Am Sure Searching Will Be An Addicting Game of ChanceWait for inputClose Message"\\E1* I Am Sure Searching Will Be An Addicting Game of Chance/%", "obj_controller_dining3_slash_Step_0_gml_73_0" ); |
68 |
d_make(); |
69 |
con++; |
70 |
} |
71 |
if (con == 4 && !d_ex()) |
72 |
{ |
73 |
queen_monitor.turnoff = 1; |
74 |
queen_monitor2.turnoff = 1; |
75 |
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"); |
76 |
msgsetloc(0, Face H* H-how the hell are we gonna search all these!?Wait for inputClose Message"\\EH* H-how the hell are we gonna search all these!?/%", "obj_controller_dining3_slash_Step_0_gml_82_0" ); |
77 |
d_make(); |
78 |
con++; |
79 |
} |
80 |
if (con == 5 && !d_ex()) |
81 |
{ |
82 |
global.interact = 0; |
83 |
dogSpawned = 0; |
84 |
con++; |
85 |
} |
86 |
if (con == 6 && checkCount == 3) |
87 |
{ |
88 |
global.interact = 1; |
89 |
queen_monitor.turnon = 1; |
90 |
queen_monitor2.turnon = 1; |
91 |
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)
... ("queen"); |
92 |
msgsetloc(0, Face 1* ERROR: Results: Key Not FoundWait for input"\\E1* ERROR: Results: Key Not Found/", "obj_controller_dining3_slash_Step_0_gml_98_0" ); |
93 |
msgnextloc(Face N* Did You Mean: Give Up?Wait for inputClose Message"\\EN* Did You Mean: Give Up?/%", "obj_controller_dining3_slash_Step_0_gml_99_0" ); |
94 |
attempt++; |
95 |
d_make(); |
96 |
con++; |
97 |
} |
98 |
if (con == 7 && !d_ex()) |
99 |
{ |
100 |
if (instance_exists(obj_dogtable_idle)) |
101 |
{ |
102 |
with (obj_dogtable_idle) |
103 |
{ |
104 |
sprite_index = spr_saucernolegs; |
105 |
scr_afterimagescr_afterimagefunction scr_afterimage()
{
afterimage = instance_create(x, y, obj_afterimage);
afterimage.sprite_index = sprite_index;
afterimage.image_index = image_index;
afterimage.image_blend = image_blend;
afterimage.image_speed = 0;
afterimage.depth = depth;
afterimage.image_xscale = image_xscale;
afterimage.image_yscale = image_yscale;
afterimage.image_angle = image_angle;
return afterimage;
} (); |
106 |
instance_destroy(); |
107 |
} |
108 |
} |
109 |
with (obj_saucer) |
110 |
{ |
111 |
scr_afterimagescr_afterimagefunction scr_afterimage()
{
afterimage = instance_create(x, y, obj_afterimage);
afterimage.sprite_index = sprite_index;
afterimage.image_index = image_index;
afterimage.image_blend = image_blend;
afterimage.image_speed = 0;
afterimage.depth = depth;
afterimage.image_xscale = image_xscale;
afterimage.image_yscale = image_yscale;
afterimage.image_angle = image_angle;
return afterimage;
} (); |
112 |
instance_destroy(); |
113 |
} |
114 |
timer = 0; |
115 |
con++; |
116 |
} |
117 |
if (con == 8) |
118 |
{ |
119 |
timer++; |
120 |
if (timer == 1) |
121 |
{ |
122 |
for (var i = 0; i < 7; i++) |
123 |
{ |
124 |
for (var ii = 0; ii < 5; ii++) |
125 |
{ |
126 |
if (!(ii == 0 && i == 2) && !(ii == 0 && i == 3) && !(ii == 0 && i == 4)) |
127 |
instance_create(109 + (i * 160), 240 + (ii * 240), obj_saucer_dining3Spawner); |
128 |
} |
129 |
} |
130 |
for (var i = 0; i < 6; i++) |
131 |
{ |
132 |
for (var ii = 0; ii < 4; ii++) |
133 |
instance_create(189 + (i * 160), 360 + (ii * 240), obj_saucer_dining3Spawner); |
134 |
} |
135 |
} |
136 |
if (timer > 5 && instance_exists(obj_saucer)) |
137 |
{ |
138 |
timer = 0; |
139 |
con = 8.9; |
140 |
} |
141 |
} |
142 |
if (con == 8.9 && !d_ex()) |
143 |
{ |
144 |
timer++; |
145 |
if (timer == 1) |
146 |
snd_play(snd_impact); |
147 |
if (timer == 1) |
148 |
instance_create(0, 0, obj_shake); |
149 |
if (timer == 30) |
150 |
con = 9; |
151 |
} |
152 |
if (con == 9) |
153 |
{ |
154 |
with (obj_saucer) |
155 |
{ |
156 |
if (x == 909 && y == 1200 && other.dogSpawned == 0) |
157 |
{ |
158 |
inst = collision_rectangle(camerax(), cameray(), camerax() + 640, cameray() + 480, id, 1, 0); |
159 |
if (inst == -4) |
160 |
{ |
161 |
instance_create(x - 16, y, obj_dogtable_idle); |
162 |
other.dogtabletargx = x; |
163 |
other.dogtabletargy = y; |
164 |
other.dogSpawned = 1; |
165 |
instance_destroy(); |
166 |
} |
167 |
} |
168 |
} |
169 |
with (obj_saucer) |
170 |
{ |
171 |
if (x == 269 && y == 480 && other.dogSpawned == 0) |
172 |
{ |
173 |
inst = collision_rectangle(camerax(), cameray(), camerax() + 640, cameray() + 480, id, 1, 0); |
174 |
if (inst == -4) |
175 |
{ |
176 |
instance_create(x - 16, y, obj_dogtable_idle); |
177 |
other.dogtabletargx = x; |
178 |
other.dogtabletargy = y; |
179 |
other.dogSpawned = 1; |
180 |
instance_destroy(); |
181 |
} |
182 |
} |
183 |
} |
184 |
queen_monitor.turnoff = 1; |
185 |
queen_monitor2.turnoff = 1; |
186 |
checkCount = 0; |
187 |
if (attempt == 1 || attempt == 2) |
188 |
con = 10; |
189 |
else |
190 |
con = 5; |
191 |
} |
192 |
if (con == 10) |
193 |
{ |
194 |
global.interact = 1; |
195 |
if (attempt == 1) |
196 |
{ |
197 |
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"); |
198 |
msgsetloc(0, Face L* All the platters got mixed up again!?Wait for inputClose Message"\\EL* All the platters got mixed up again!?/%", "obj_controller_dining3_slash_Step_0_gml_210_0" ); |
199 |
d_make(); |
200 |
con = 5; |
201 |
} |
202 |
if (attempt == 2) |
203 |
{ |
204 |
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"); |
205 |
msgsetloc(0, Face K* Hey,Delay 11 Kris,Delay 11 isn't there something else we can do!?Wait for inputClose Message"\\EK* Hey^1, Kris^1, isn't there something else we can do!?/%", "obj_controller_dining3_slash_Step_0_gml_217_0" ); |
206 |
d_make(); |
207 |
con = 5; |
208 |
} |
209 |
} |
210 |
} |
211 |
if (dogcon == 1 && !d_ex()) |
212 |
{ |
213 |
global.interact = 1; |
214 |
cutscene_master = scr_cutscene_makescr_cutscene_makefunction scr_cutscene_make()
{
_cutscene_master = instance_create(0, 0, obj_cutscene_master);
_cutscene_master.master_object = id;
return _cutscene_master;
} (); |
215 |
scr_maincharacters_actorsscr_maincharacters_actorsfunction scr_maincharacters_actors()
{
actor_count = 0;
kr = 0;
kr_actor = instance_create(obj_mainchara.x, obj_mainchara.y, obj_actor);
scr_actor_setup(kr, kr_actor, "kris");
kr_actor.sprite_index = obj_mainchara.sprite_index;
kr_actor.depth = obj_mainchara.depth;
with (obj_mainchara)
visible = 0;
for (__jj = 0; __jj < array_length_1d(global.cinstance); __jj++)
{
if (i_ex(global.cinstance[__jj]))
{
if (global.cinstance[__jj].name == "susie")
{
actor_count++;
su = __jj + 1;
su_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(su, su_actor, "susie");
su_actor.sprite_index = global.cinstance[__jj].sprite_index;
su_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
if (global.cinstance[__jj].name == "ralsei")
{
actor_count++;
ra = __jj + 1;
ra_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(ra, ra_actor, "ralsei");
ra_actor.sprite_index = global.cinstance[__jj].sprite_index;
ra_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
if (global.cinstance[__jj].name == "noelle")
{
actor_count++;
no = __jj + 1;
no_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(no, no_actor, "noelle");
no_actor.sprite_index = global.cinstance[__jj].sprite_index;
no_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
}
}
} (); |
216 |
table = instance_find(obj_dogtable_idle, 0); |
217 |
basex = obj_dogtable_idle.x + 50; |
218 |
basey = obj_dogtable_idle.y + 84; |
219 |
starty = obj_dogtable_idle.y; |
220 |
if (basex >= 909) |
221 |
loc = "botright"; |
222 |
else |
223 |
loc = "topright"; |
224 |
if (loc == "botright") |
225 |
{ |
226 |
if (obj_mainchara.y < 1190) |
227 |
moveloc = "above"; |
228 |
else |
229 |
moveloc = "below"; |
230 |
} |
231 |
if (loc == "topright") |
232 |
{ |
233 |
if (obj_mainchara.y < 470) |
234 |
moveloc = "above"; |
235 |
else |
236 |
moveloc = "below"; |
237 |
} |
238 |
dogcon++; |
239 |
} |
240 |
if (dogcon == 2) |
241 |
{ |
242 |
c_speaker("susie"); |
243 |
c_msgsetloc(0, Face 6* Hey,Delay 11 there's something under this one!Wait for inputClose Message"\\E6* Hey^1, there's something under this one!/%", "obj_controller_dining3_slash_Step_0_gml_246_0" ); |
244 |
c_talk_wait(); |
245 |
if (moveloc == "below") |
246 |
{ |
247 |
c_sel(su); |
248 |
c_walkdirect(basex - 20 - 6, basey - 20, 12); |
249 |
c_sel(ra); |
250 |
c_walkdirect(basex - 12 - 40 - 12 - 20, (basey - 20) + 2, 12); |
251 |
c_sel(kr); |
252 |
c_walkdirect(basex + 12 + 20 + 12, (basey - 20) + 2, 12); |
253 |
c_wait(12); |
254 |
c_sel(kr); |
255 |
c_facing("u"); |
256 |
c_sel(su); |
257 |
c_facing("u"); |
258 |
c_sel(ra); |
259 |
c_facing("u"); |
260 |
} |
261 |
if (moveloc == "above") |
262 |
{ |
263 |
c_sel(su); |
264 |
c_walkdirect(basex - 20 - 6, basey - 20 - 120, 12); |
265 |
c_sel(ra); |
266 |
c_walkdirect(basex - 12 - 40 - 12 - 20, ((basey - 20) + 2) - 120 - 10, 12); |
267 |
c_sel(kr); |
268 |
c_walkdirect((basex + 12 + 20 + 12) - 4, (((basey - 20) + 2) - 120) + 2, 12); |
269 |
c_wait(12); |
270 |
c_sel(kr); |
271 |
c_facing("d"); |
272 |
c_sel(su); |
273 |
c_facing("d"); |
274 |
c_sel(ra); |
275 |
c_facing("d"); |
276 |
} |
277 |
c_wait(12); |
278 |
c_instance(basex + 4, (basey - 120) + 16, 276); |
279 |
c_soundplay(snd_b); |
280 |
c_wait(30); |
281 |
c_var_instance(table, "x", basex - 50); |
282 |
c_var_instance(table, "y", basey - 84); |
283 |
c_var_instance(table, "draw_mode", 2); |
284 |
c_var_instance(table, "image_speed", 0.25); |
285 |
c_wait(20); |
286 |
if (loc == "botright") |
287 |
dogcon = 3.1; |
288 |
else |
289 |
dogcon = 4.1; |
290 |
} |
291 |
if (dogcon == 3.1) |
292 |
{ |
293 |
dogcon = 42069; |
294 |
c_var_instance(table, "image_speed", 0.25); |
295 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (table, "x", 909, 1090, 6); |
296 |
c_wait(6); |
297 |
c_soundplay(snd_impact); |
298 |
c_var_instance(table, "draw_mode", 3); |
299 |
c_var_instance(table, "toss", 1); |
300 |
c_var_instance(table, "tossdir", "left"); |
301 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (table, "x", 1080, 1072, 4); |
302 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (table, "y", 1200, 1184, 4); |
303 |
c_wait(2); |
304 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (table, "y", 1184, 1200, 4); |
305 |
c_wait(2); |
306 |
c_var_instance(table, "image_speed", 0); |
307 |
c_sel(su); |
308 |
c_walkdirect((basex - 46) + 20, basey - 102, 12); |
309 |
c_sel(kr); |
310 |
c_walkdirect((basex - 46 - 40) + 22, (basey - 102) + 16, 12); |
311 |
c_sel(ra); |
312 |
c_walkdirect((basex - 46 - 80) + 22, (basey - 102) + 4, 12); |
313 |
c_wait(12); |
314 |
c_sel(kr); |
315 |
c_facing("r"); |
316 |
c_sel(su); |
317 |
c_facing("r"); |
318 |
c_sel(ra); |
319 |
c_facing("r"); |
320 |
c_speaker("susie"); |
321 |
global.msc = 1187; |
322 |
scr_textscr_textfunction scr_text(arg0)
{
switch (arg0)
{
case 0:
break;
case 10:
global.choicemsg[0] = stringsetloc( #Yes"#Yes", "scr_text_slash_scr_text_gml_8_0" );
global.choicemsg[1] = stringsetloc( #No"#No", "scr_text_slash_scr_text_gml_9_0" );
global.choicemsg[2] = stringsetloc( " ", "scr_text_slash_scr_text_gml_12_0_b" );
global.choicemsg[3] = stringsetloc( " ", "scr_text_slash_scr_text_gml_13_0_b" );
global.msg[0] = stringsetloc( * You really didn't want to throw it away.Wait for input"* You really didn't want to throw it away./", "scr_text_slash_scr_text_gml_12_0" );
global.msg[1] = stringsetloc( * Throw it away anyway?Wait for input"* Throw it away anyway?/", "scr_text_slash_scr_text_gml_13_0" );
global.msg[2] = stringsetloc( Choice type 2 "\\C2 ", "scr_text_slash_scr_text_gml_14_0" );
if (global.chapter >= 2)
msgsetloc(0, * You took it from your pocket.Delay 11 * You have a very,Delay 11 very,Delay 11 bad feeling about throwing it away.Wait for input"* You took it from your pocket^1.&* You have a \\cYvery^1, very^1, bad feeling\\c0 about throwing it away./", "scr_text_slash_scr_text_gml_19_0" );
break;
case 11:
if (global.choice == 0)
{
global.flag[466 junkball_dropped] = 1;
snd_play(snd_bageldefeat);
global.msg[0] = stringsetloc( * Hand shaking,Delay 11 you dropped the ball of junk on the ground.Wait for input"* Hand shaking^1, you dropped the ball of junk on the ground./", "scr_text_slash_scr_text_gml_20_0" );
global.msg[1] = stringsetloc( * It broke into pieces.Wait for input"* It broke into pieces./", "scr_text_slash_scr_text_gml_21_0" );
global.msg[2] = stringsetloc( * You felt bitter.Wait for inputClose Message"* You felt bitter./%", "scr_text_slash_scr_text_gml_22_0" );
script_execute(scr_litemshift, global.menucoord[1], 0);
for (i = 0; i < 12; i += 1)
global.item[i] = 0;
for (i = 0; i < 48; i += 1)
{
global.armor[i] = 0;
global.weapon[i] = 0;
}
}
else
{
global.msg[0] = stringsetloc( * You felt a feeling of relief.Wait for inputClose Message"* You felt a feeling of relief./%", "scr_text_slash_scr_text_gml_34_0" );
}
break;
case 100:
global.msg[0] = stringsetloc( * Hey, Kris!Delay 11 What's up?Delay 11 * Didja lose your pencil again?Wait for input"* Hey, Kris^1! What's up^1?&* Didja lose your pencil again?/", "scr_text_slash_scr_text_gml_39_0" );
global.msg[1] = stringsetloc( Face 4* Here,Delay 11 you want the candy-cane one or the one with lights on it?Wait for input"\\E4* Here^1, you want the candy-cane one or the one with lights on it?/", "scr_text_slash_scr_text_gml_40_0" );
global.msg[2] = stringsetloc( Face 1* Huh?Delay 11 * You want to be partners?Wait for input"\\E1* Huh^1?&* You want to be partners?/", "scr_text_slash_scr_text_gml_41_0" );
global.msg[3] = stringsetloc( Face 4* Ummm...Delay 11 Sorry...Delay 11 * Berdly already asked me...Wait for input"\\E4* Ummm..^1. Sorry..^1.&* Berdly already asked me.../", "scr_text_slash_scr_text_gml_42_0" );
global.msg[4] = stringsetloc( Face 0* But I could ask Ms. Alphys if we could make a group of 3!Wait for input"\\E0* But I could ask Ms. Alphys if we could make a group of 3!/", "scr_text_slash_scr_text_gml_43_0" );
global.msg[5] = stringsetloc( Face 4* I'll ask if you're sure!
Not yet Yes. Ask.Choice type 1 "\\E4* I'll ask if you're sure!& &Not yet Yes. Ask.\\C1 ", "scr_text_slash_scr_text_gml_44_0" );
global.msg[6] = stringsetloc( " ", "scr_text_slash_scr_text_gml_47_0" );
break;
case 101:
if (global.choice == 1)
{
global.msg[0] = stringsetloc( Face 0* OK,Delay 11 I'll ask!Wait for input"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_51_0" );
global.msg[1] = stringsetloc( * Miss Alphys!Delay 11 * Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_52_0" );
with (obj_classscene)
con = 20;
}
if (global.choice == 0)
global.msg[0] = stringsetloc( Face 4* Yeah,Delay 11 I'm sure there's someone else you can ask!Wait for inputClose Message"\\E4* Yeah^1, I'm sure there's someone else you can ask!/%", "scr_text_slash_scr_text_gml_57_0" );
break;
case 102:
global.msg[0] = stringsetloc( Face 0* Do you wanna be partners? Not yet YesChoice type 1 "\\E0* Do you wanna be partners?&Not yet Yes\\C1 ", "scr_text_slash_scr_text_gml_62_0" );
global.msg[1] = stringsetloc( " ", "scr_text_slash_scr_text_gml_65_0" );
break;
case 103:
if (global.choice == 1)
{
global.msg[0] = stringsetloc( Face 0* OK,Delay 11 I'll ask!Wait for input"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_69_0" );
global.msg[1] = stringsetloc( * Miss Alphys!Delay 11 * Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_70_0" );
with (obj_classscene)
con = 20;
}
if (global.choice == 0)
global.msg[0] = stringsetloc( Face 4* Umm,Delay 11 OK.Delay 11 * You just keep doing your thing,Delay 11 Kris.Wait for inputClose Message"\\E4* Umm^1, OK^1.&* You just keep doing your thing^1, Kris./%", "scr_text_slash_scr_text_gml_75_0" );
break;
case 104:
global.msg[0] = stringsetloc( Face 0* Alright.Delay 11 * Let's get this over with.Wait for input"\\E0* Alright^1.&* Let's get this over with./", "scr_text_slash_scr_text_gml_80_0" );
global.msg[1] = stringsetloc( * We'll get more chalk.Delay 11 * Mosey back to class.Delay 11 * And then,Delay 11 Kris...Wait for input"* We'll get more chalk^1.&* Mosey back to class^1.&* And then^1, Kris.../", "scr_text_slash_scr_text_gml_81_0" );
global.msg[2] = stringsetloc( Face 2* YOU'LL do our project.Wait for input"\\E2* YOU'LL do our project./", "scr_text_slash_scr_text_gml_82_0" );
global.msg[3] = stringsetloc( * How's that sound?
Good BadChoice type 1 "* How's that sound?& &Good Bad\\C1 ", "scr_text_slash_scr_text_gml_83_0" );
global.msg[4] = stringsetloc( " ", "scr_text_slash_scr_text_gml_86_0" );
break;
case 105:
global.msg[0] = stringsetloc( Close MessageClose Message" %%", "scr_text_slash_scr_text_gml_90_0" );
break;
case 110:
global.choicemsg[0] = stringsetloc( #Yes"#Yes", "scr_text_slash_scr_text_gml_92_0" );
global.choicemsg[1] = stringsetloc( #No"#No", "scr_text_slash_scr_text_gml_93_0" );
global.choicemsg[2] = stringsetloc( " ", "scr_text_slash_scr_text_gml_96_0" );
global.choicemsg[3] = stringsetloc( " ", "scr_text_slash_scr_text_gml_97_0" );
if ( global.flag[100 got_glowshard] == 0)
{
global.msg[0] = stringsetloc( * (There's something glowing inside.)Wait for input"* (There's something glowing inside.)/", "scr_text_slash_scr_text_gml_98_0" );
global.msg[1] = stringsetloc( * (Take it?)Wait for input "* (Take it?)/ ", "scr_text_slash_scr_text_gml_99_0" );
global.msg[2] = stringsetloc( Choice type 2" \\C2", "scr_text_slash_scr_text_gml_100_0" );
}
else
{
global.msg[0] = stringsetloc( * (It's dark inside.)Wait for inputClose Message"* (It's dark inside.)/%", "scr_text_slash_scr_text_gml_104_0" );
}
break;
case 111:
... (global.msc); |
323 |
c_talk_wait(); |
324 |
c_sel(kr); |
325 |
c_facing("r"); |
326 |
c_sel(ra); |
327 |
c_facing("r"); |
328 |
c_wait(30); |
329 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (table, "x", 1072, basex - 35 - 52, 8); |
330 |
c_var_instance(table, "depth", 800000); |
331 |
c_pannable(1); |
332 |
c_panspeed(-2, 0, 8); |
333 |
c_wait(5); |
334 |
c_soundplay(snd_jump); |
335 |
c_sel(su); |
336 |
c_jumpc_jumpfunction c_jump(arg0, arg1, arg2, arg3)
{
c_cmd("jump", arg0, arg1, arg2, arg3);
} ((((basex - 46 - 40) + 22 + 30 + 11) - 20) + 2, ((basey - 102) + 16) - 8 - 12 - 12 - 14, 20, 20); |
337 |
c_autowalk(0); |
338 |
c_imagespeed(0.25); |
339 |
c_sprite(spr_susie_dw_jump_ball); |
340 |
c_wait(2); |
341 |
c_sel(kr); |
342 |
c_jumpc_jumpfunction c_jump(arg0, arg1, arg2, arg3)
{
c_cmd("jump", arg0, arg1, arg2, arg3);
} ((basex - 46 - 40) + 22 + 6, ((basey - 102) + 16) - 8 - 12, 20, 20); |
343 |
c_autowalk(0); |
344 |
c_imagespeed(0.25); |
345 |
c_sprite(spr_kris_jump_ball); |
346 |
c_wait(2); |
347 |
c_sel(ra); |
348 |
c_jumpc_jumpfunction c_jump(arg0, arg1, arg2, arg3)
{
c_cmd("jump", arg0, arg1, arg2, arg3);
} ((((basex - 46 - 40) + 22) - 30 - 20) + 27, ((((basey - 102) + 16) - 8 - 16 - 12 - 6) + 33) - 8, 20, 20); |
349 |
c_autowalk(0); |
350 |
c_imagespeed(0.25); |
351 |
c_sprite(spr_ralsei_jump_ball); |
352 |
c_wait(20); |
353 |
c_sel(su); |
354 |
c_autowalk(1); |
355 |
c_sprite(spr_susie_sheeh); |
356 |
c_setxy(940, 1156); |
357 |
c_wait(2); |
358 |
c_sel(kr); |
359 |
c_autowalk(1); |
360 |
c_facing("d"); |
361 |
c_wait(2); |
362 |
c_sel(ra); |
363 |
c_setxy(((basex - 46 - 40) + 22) - 30 - 20, ((basey - 102) + 16) - 8 - 16 - 12 - 6); |
364 |
c_sprite(spr_ralsei_hurt); |
365 |
c_speaker("susie"); |
366 |
global.msc = 1188; |
367 |
scr_textscr_textfunction scr_text(arg0)
{
switch (arg0)
{
case 0:
break;
case 10:
global.choicemsg[0] = stringsetloc( #Yes"#Yes", "scr_text_slash_scr_text_gml_8_0" );
global.choicemsg[1] = stringsetloc( #No"#No", "scr_text_slash_scr_text_gml_9_0" );
global.choicemsg[2] = stringsetloc( " ", "scr_text_slash_scr_text_gml_12_0_b" );
global.choicemsg[3] = stringsetloc( " ", "scr_text_slash_scr_text_gml_13_0_b" );
global.msg[0] = stringsetloc( * You really didn't want to throw it away.Wait for input"* You really didn't want to throw it away./", "scr_text_slash_scr_text_gml_12_0" );
global.msg[1] = stringsetloc( * Throw it away anyway?Wait for input"* Throw it away anyway?/", "scr_text_slash_scr_text_gml_13_0" );
global.msg[2] = stringsetloc( Choice type 2 "\\C2 ", "scr_text_slash_scr_text_gml_14_0" );
if (global.chapter >= 2)
msgsetloc(0, * You took it from your pocket.Delay 11 * You have a very,Delay 11 very,Delay 11 bad feeling about throwing it away.Wait for input"* You took it from your pocket^1.&* You have a \\cYvery^1, very^1, bad feeling\\c0 about throwing it away./", "scr_text_slash_scr_text_gml_19_0" );
break;
case 11:
if (global.choice == 0)
{
global.flag[466 junkball_dropped] = 1;
snd_play(snd_bageldefeat);
global.msg[0] = stringsetloc( * Hand shaking,Delay 11 you dropped the ball of junk on the ground.Wait for input"* Hand shaking^1, you dropped the ball of junk on the ground./", "scr_text_slash_scr_text_gml_20_0" );
global.msg[1] = stringsetloc( * It broke into pieces.Wait for input"* It broke into pieces./", "scr_text_slash_scr_text_gml_21_0" );
global.msg[2] = stringsetloc( * You felt bitter.Wait for inputClose Message"* You felt bitter./%", "scr_text_slash_scr_text_gml_22_0" );
script_execute(scr_litemshift, global.menucoord[1], 0);
for (i = 0; i < 12; i += 1)
global.item[i] = 0;
for (i = 0; i < 48; i += 1)
{
global.armor[i] = 0;
global.weapon[i] = 0;
}
}
else
{
global.msg[0] = stringsetloc( * You felt a feeling of relief.Wait for inputClose Message"* You felt a feeling of relief./%", "scr_text_slash_scr_text_gml_34_0" );
}
break;
case 100:
global.msg[0] = stringsetloc( * Hey, Kris!Delay 11 What's up?Delay 11 * Didja lose your pencil again?Wait for input"* Hey, Kris^1! What's up^1?&* Didja lose your pencil again?/", "scr_text_slash_scr_text_gml_39_0" );
global.msg[1] = stringsetloc( Face 4* Here,Delay 11 you want the candy-cane one or the one with lights on it?Wait for input"\\E4* Here^1, you want the candy-cane one or the one with lights on it?/", "scr_text_slash_scr_text_gml_40_0" );
global.msg[2] = stringsetloc( Face 1* Huh?Delay 11 * You want to be partners?Wait for input"\\E1* Huh^1?&* You want to be partners?/", "scr_text_slash_scr_text_gml_41_0" );
global.msg[3] = stringsetloc( Face 4* Ummm...Delay 11 Sorry...Delay 11 * Berdly already asked me...Wait for input"\\E4* Ummm..^1. Sorry..^1.&* Berdly already asked me.../", "scr_text_slash_scr_text_gml_42_0" );
global.msg[4] = stringsetloc( Face 0* But I could ask Ms. Alphys if we could make a group of 3!Wait for input"\\E0* But I could ask Ms. Alphys if we could make a group of 3!/", "scr_text_slash_scr_text_gml_43_0" );
global.msg[5] = stringsetloc( Face 4* I'll ask if you're sure!
Not yet Yes. Ask.Choice type 1 "\\E4* I'll ask if you're sure!& &Not yet Yes. Ask.\\C1 ", "scr_text_slash_scr_text_gml_44_0" );
global.msg[6] = stringsetloc( " ", "scr_text_slash_scr_text_gml_47_0" );
break;
case 101:
if (global.choice == 1)
{
global.msg[0] = stringsetloc( Face 0* OK,Delay 11 I'll ask!Wait for input"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_51_0" );
global.msg[1] = stringsetloc( * Miss Alphys!Delay 11 * Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_52_0" );
with (obj_classscene)
con = 20;
}
if (global.choice == 0)
global.msg[0] = stringsetloc( Face 4* Yeah,Delay 11 I'm sure there's someone else you can ask!Wait for inputClose Message"\\E4* Yeah^1, I'm sure there's someone else you can ask!/%", "scr_text_slash_scr_text_gml_57_0" );
break;
case 102:
global.msg[0] = stringsetloc( Face 0* Do you wanna be partners? Not yet YesChoice type 1 "\\E0* Do you wanna be partners?&Not yet Yes\\C1 ", "scr_text_slash_scr_text_gml_62_0" );
global.msg[1] = stringsetloc( " ", "scr_text_slash_scr_text_gml_65_0" );
break;
case 103:
if (global.choice == 1)
{
global.msg[0] = stringsetloc( Face 0* OK,Delay 11 I'll ask!Wait for input"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_69_0" );
global.msg[1] = stringsetloc( * Miss Alphys!Delay 11 * Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_70_0" );
with (obj_classscene)
con = 20;
}
if (global.choice == 0)
global.msg[0] = stringsetloc( Face 4* Umm,Delay 11 OK.Delay 11 * You just keep doing your thing,Delay 11 Kris.Wait for inputClose Message"\\E4* Umm^1, OK^1.&* You just keep doing your thing^1, Kris./%", "scr_text_slash_scr_text_gml_75_0" );
break;
case 104:
global.msg[0] = stringsetloc( Face 0* Alright.Delay 11 * Let's get this over with.Wait for input"\\E0* Alright^1.&* Let's get this over with./", "scr_text_slash_scr_text_gml_80_0" );
global.msg[1] = stringsetloc( * We'll get more chalk.Delay 11 * Mosey back to class.Delay 11 * And then,Delay 11 Kris...Wait for input"* We'll get more chalk^1.&* Mosey back to class^1.&* And then^1, Kris.../", "scr_text_slash_scr_text_gml_81_0" );
global.msg[2] = stringsetloc( Face 2* YOU'LL do our project.Wait for input"\\E2* YOU'LL do our project./", "scr_text_slash_scr_text_gml_82_0" );
global.msg[3] = stringsetloc( * How's that sound?
Good BadChoice type 1 "* How's that sound?& &Good Bad\\C1 ", "scr_text_slash_scr_text_gml_83_0" );
global.msg[4] = stringsetloc( " ", "scr_text_slash_scr_text_gml_86_0" );
break;
case 105:
global.msg[0] = stringsetloc( Close MessageClose Message" %%", "scr_text_slash_scr_text_gml_90_0" );
break;
case 110:
global.choicemsg[0] = stringsetloc( #Yes"#Yes", "scr_text_slash_scr_text_gml_92_0" );
global.choicemsg[1] = stringsetloc( #No"#No", "scr_text_slash_scr_text_gml_93_0" );
global.choicemsg[2] = stringsetloc( " ", "scr_text_slash_scr_text_gml_96_0" );
global.choicemsg[3] = stringsetloc( " ", "scr_text_slash_scr_text_gml_97_0" );
if ( global.flag[100 got_glowshard] == 0)
{
global.msg[0] = stringsetloc( * (There's something glowing inside.)Wait for input"* (There's something glowing inside.)/", "scr_text_slash_scr_text_gml_98_0" );
global.msg[1] = stringsetloc( * (Take it?)Wait for input "* (Take it?)/ ", "scr_text_slash_scr_text_gml_99_0" );
global.msg[2] = stringsetloc( Choice type 2" \\C2", "scr_text_slash_scr_text_gml_100_0" );
}
else
{
global.msg[0] = stringsetloc( * (It's dark inside.)Wait for inputClose Message"* (It's dark inside.)/%", "scr_text_slash_scr_text_gml_104_0" );
}
break;
case 111:
... (global.msc); |
368 |
c_talk_wait(); |
369 |
c_var_instance(id, "dogcon", 69); |
370 |
c_pannable(0); |
371 |
c_actortokris(); |
372 |
c_actortocaterpillar(); |
373 |
c_terminatekillactors(); |
374 |
} |
375 |
if (dogcon == 4.1) |
376 |
{ |
377 |
dogcon = 42069; |
378 |
c_var_instance(table, "image_speed", 0.25); |
379 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (table, "x", 275, 80, 6); |
380 |
c_wait(6); |
381 |
c_soundplay(snd_impact); |
382 |
c_var_instance(table, "draw_mode", 3); |
383 |
c_var_instance(table, "toss", 1); |
384 |
c_var_instance(table, "tossdir", "right"); |
385 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (table, "x", 80, 116, 4); |
386 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (table, "y", starty, starty - 16, 4); |
387 |
c_wait(2); |
388 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (table, "y", starty - 16, starty, 4); |
389 |
c_wait(2); |
390 |
c_var_instance(table, "image_speed", 0); |
391 |
c_sel(su); |
392 |
c_walkdirect(((basex - 46) + 20) - 60, basey - 102, 12); |
393 |
c_sel(kr); |
394 |
c_walkdirect((basex - 46 - 40) + 22 + 20 + 15, (basey - 102) + 16, 12); |
395 |
c_sel(ra); |
396 |
c_walkdirect((basex - 46 - 80) + 22 + 120, (basey - 102) + 4, 12); |
397 |
c_wait(12); |
398 |
c_sel(kr); |
399 |
c_facing("l"); |
400 |
c_sel(su); |
401 |
c_facing("l"); |
402 |
c_sel(ra); |
403 |
c_facing("l"); |
404 |
c_speaker("susie"); |
405 |
global.msc = 1187; |
406 |
scr_textscr_textfunction scr_text(arg0)
{
switch (arg0)
{
case 0:
break;
case 10:
global.choicemsg[0] = stringsetloc( #Yes"#Yes", "scr_text_slash_scr_text_gml_8_0" );
global.choicemsg[1] = stringsetloc( #No"#No", "scr_text_slash_scr_text_gml_9_0" );
global.choicemsg[2] = stringsetloc( " ", "scr_text_slash_scr_text_gml_12_0_b" );
global.choicemsg[3] = stringsetloc( " ", "scr_text_slash_scr_text_gml_13_0_b" );
global.msg[0] = stringsetloc( * You really didn't want to throw it away.Wait for input"* You really didn't want to throw it away./", "scr_text_slash_scr_text_gml_12_0" );
global.msg[1] = stringsetloc( * Throw it away anyway?Wait for input"* Throw it away anyway?/", "scr_text_slash_scr_text_gml_13_0" );
global.msg[2] = stringsetloc( Choice type 2 "\\C2 ", "scr_text_slash_scr_text_gml_14_0" );
if (global.chapter >= 2)
msgsetloc(0, * You took it from your pocket.Delay 11 * You have a very,Delay 11 very,Delay 11 bad feeling about throwing it away.Wait for input"* You took it from your pocket^1.&* You have a \\cYvery^1, very^1, bad feeling\\c0 about throwing it away./", "scr_text_slash_scr_text_gml_19_0" );
break;
case 11:
if (global.choice == 0)
{
global.flag[466 junkball_dropped] = 1;
snd_play(snd_bageldefeat);
global.msg[0] = stringsetloc( * Hand shaking,Delay 11 you dropped the ball of junk on the ground.Wait for input"* Hand shaking^1, you dropped the ball of junk on the ground./", "scr_text_slash_scr_text_gml_20_0" );
global.msg[1] = stringsetloc( * It broke into pieces.Wait for input"* It broke into pieces./", "scr_text_slash_scr_text_gml_21_0" );
global.msg[2] = stringsetloc( * You felt bitter.Wait for inputClose Message"* You felt bitter./%", "scr_text_slash_scr_text_gml_22_0" );
script_execute(scr_litemshift, global.menucoord[1], 0);
for (i = 0; i < 12; i += 1)
global.item[i] = 0;
for (i = 0; i < 48; i += 1)
{
global.armor[i] = 0;
global.weapon[i] = 0;
}
}
else
{
global.msg[0] = stringsetloc( * You felt a feeling of relief.Wait for inputClose Message"* You felt a feeling of relief./%", "scr_text_slash_scr_text_gml_34_0" );
}
break;
case 100:
global.msg[0] = stringsetloc( * Hey, Kris!Delay 11 What's up?Delay 11 * Didja lose your pencil again?Wait for input"* Hey, Kris^1! What's up^1?&* Didja lose your pencil again?/", "scr_text_slash_scr_text_gml_39_0" );
global.msg[1] = stringsetloc( Face 4* Here,Delay 11 you want the candy-cane one or the one with lights on it?Wait for input"\\E4* Here^1, you want the candy-cane one or the one with lights on it?/", "scr_text_slash_scr_text_gml_40_0" );
global.msg[2] = stringsetloc( Face 1* Huh?Delay 11 * You want to be partners?Wait for input"\\E1* Huh^1?&* You want to be partners?/", "scr_text_slash_scr_text_gml_41_0" );
global.msg[3] = stringsetloc( Face 4* Ummm...Delay 11 Sorry...Delay 11 * Berdly already asked me...Wait for input"\\E4* Ummm..^1. Sorry..^1.&* Berdly already asked me.../", "scr_text_slash_scr_text_gml_42_0" );
global.msg[4] = stringsetloc( Face 0* But I could ask Ms. Alphys if we could make a group of 3!Wait for input"\\E0* But I could ask Ms. Alphys if we could make a group of 3!/", "scr_text_slash_scr_text_gml_43_0" );
global.msg[5] = stringsetloc( Face 4* I'll ask if you're sure!
Not yet Yes. Ask.Choice type 1 "\\E4* I'll ask if you're sure!& &Not yet Yes. Ask.\\C1 ", "scr_text_slash_scr_text_gml_44_0" );
global.msg[6] = stringsetloc( " ", "scr_text_slash_scr_text_gml_47_0" );
break;
case 101:
if (global.choice == 1)
{
global.msg[0] = stringsetloc( Face 0* OK,Delay 11 I'll ask!Wait for input"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_51_0" );
global.msg[1] = stringsetloc( * Miss Alphys!Delay 11 * Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_52_0" );
with (obj_classscene)
con = 20;
}
if (global.choice == 0)
global.msg[0] = stringsetloc( Face 4* Yeah,Delay 11 I'm sure there's someone else you can ask!Wait for inputClose Message"\\E4* Yeah^1, I'm sure there's someone else you can ask!/%", "scr_text_slash_scr_text_gml_57_0" );
break;
case 102:
global.msg[0] = stringsetloc( Face 0* Do you wanna be partners? Not yet YesChoice type 1 "\\E0* Do you wanna be partners?&Not yet Yes\\C1 ", "scr_text_slash_scr_text_gml_62_0" );
global.msg[1] = stringsetloc( " ", "scr_text_slash_scr_text_gml_65_0" );
break;
case 103:
if (global.choice == 1)
{
global.msg[0] = stringsetloc( Face 0* OK,Delay 11 I'll ask!Wait for input"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_69_0" );
global.msg[1] = stringsetloc( * Miss Alphys!Delay 11 * Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_70_0" );
with (obj_classscene)
con = 20;
}
if (global.choice == 0)
global.msg[0] = stringsetloc( Face 4* Umm,Delay 11 OK.Delay 11 * You just keep doing your thing,Delay 11 Kris.Wait for inputClose Message"\\E4* Umm^1, OK^1.&* You just keep doing your thing^1, Kris./%", "scr_text_slash_scr_text_gml_75_0" );
break;
case 104:
global.msg[0] = stringsetloc( Face 0* Alright.Delay 11 * Let's get this over with.Wait for input"\\E0* Alright^1.&* Let's get this over with./", "scr_text_slash_scr_text_gml_80_0" );
global.msg[1] = stringsetloc( * We'll get more chalk.Delay 11 * Mosey back to class.Delay 11 * And then,Delay 11 Kris...Wait for input"* We'll get more chalk^1.&* Mosey back to class^1.&* And then^1, Kris.../", "scr_text_slash_scr_text_gml_81_0" );
global.msg[2] = stringsetloc( Face 2* YOU'LL do our project.Wait for input"\\E2* YOU'LL do our project./", "scr_text_slash_scr_text_gml_82_0" );
global.msg[3] = stringsetloc( * How's that sound?
Good BadChoice type 1 "* How's that sound?& &Good Bad\\C1 ", "scr_text_slash_scr_text_gml_83_0" );
global.msg[4] = stringsetloc( " ", "scr_text_slash_scr_text_gml_86_0" );
break;
case 105:
global.msg[0] = stringsetloc( Close MessageClose Message" %%", "scr_text_slash_scr_text_gml_90_0" );
break;
case 110:
global.choicemsg[0] = stringsetloc( #Yes"#Yes", "scr_text_slash_scr_text_gml_92_0" );
global.choicemsg[1] = stringsetloc( #No"#No", "scr_text_slash_scr_text_gml_93_0" );
global.choicemsg[2] = stringsetloc( " ", "scr_text_slash_scr_text_gml_96_0" );
global.choicemsg[3] = stringsetloc( " ", "scr_text_slash_scr_text_gml_97_0" );
if ( global.flag[100 got_glowshard] == 0)
{
global.msg[0] = stringsetloc( * (There's something glowing inside.)Wait for input"* (There's something glowing inside.)/", "scr_text_slash_scr_text_gml_98_0" );
global.msg[1] = stringsetloc( * (Take it?)Wait for input "* (Take it?)/ ", "scr_text_slash_scr_text_gml_99_0" );
global.msg[2] = stringsetloc( Choice type 2" \\C2", "scr_text_slash_scr_text_gml_100_0" );
}
else
{
global.msg[0] = stringsetloc( * (It's dark inside.)Wait for inputClose Message"* (It's dark inside.)/%", "scr_text_slash_scr_text_gml_104_0" );
}
break;
case 111:
... (global.msc); |
407 |
c_talk_wait(); |
408 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (table, "x", 116, 270, 8); |
409 |
c_var_instance(table, "depth", 800000); |
410 |
c_pannable(1); |
411 |
c_panc_panfunction c_pan(arg0, arg1, arg2)
{
c_cmd("pan", arg0, arg1, arg2, 0);
} (0, 256, 22); |
412 |
c_wait(4); |
413 |
c_soundplay(snd_jump); |
414 |
c_sel(su); |
415 |
c_jumpc_jumpfunction c_jump(arg0, arg1, arg2, arg3)
{
c_cmd("jump", arg0, arg1, arg2, arg3);
} ((((basex - 46 - 40) + 22 + 30 + 11) - 20) + 2 + 30, ((basey - 102) + 16) - 8 - 12 - 12 - 14, 20, 20); |
416 |
c_autowalk(0); |
417 |
c_imagespeed(0.25); |
418 |
c_sprite(spr_susie_dw_jump_ball); |
419 |
c_wait(2); |
420 |
c_sel(kr); |
421 |
c_jumpc_jumpfunction c_jump(arg0, arg1, arg2, arg3)
{
c_cmd("jump", arg0, arg1, arg2, arg3);
} ((basex - 46 - 40) + 22 + 6 + 30, ((basey - 102) + 16) - 8 - 12, 20, 20); |
422 |
c_autowalk(0); |
423 |
c_imagespeed(0.25); |
424 |
c_sprite(spr_kris_jump_ball); |
425 |
c_wait(1); |
426 |
c_sel(ra); |
427 |
c_jumpc_jumpfunction c_jump(arg0, arg1, arg2, arg3)
{
c_cmd("jump", arg0, arg1, arg2, arg3);
} ((((basex - 46 - 40) + 22) - 30 - 20) + 27 + 30, ((((basey - 102) + 16) - 8 - 16 - 12 - 6) + 33) - 8, 20, 20); |
428 |
c_autowalk(0); |
429 |
c_imagespeed(0.25); |
430 |
c_sprite(spr_ralsei_jump_ball); |
431 |
c_wait(20); |
432 |
c_sel(kr); |
433 |
c_autowalk(1); |
434 |
c_facing("d"); |
435 |
c_sel(su); |
436 |
c_autowalk(1); |
437 |
c_setxy(334, 440); |
438 |
c_sprite(spr_susie_sheeh); |
439 |
c_wait(1); |
440 |
c_sel(ra); |
441 |
c_setxy((((basex - 46 - 40) + 22) - 30 - 20) + 30, ((basey - 102) + 16) - 8 - 16 - 12 - 6); |
442 |
c_sprite(spr_ralsei_hurt); |
443 |
c_speaker("susie"); |
444 |
global.msc = 1188; |
445 |
scr_textscr_textfunction scr_text(arg0)
{
switch (arg0)
{
case 0:
break;
case 10:
global.choicemsg[0] = stringsetloc( #Yes"#Yes", "scr_text_slash_scr_text_gml_8_0" );
global.choicemsg[1] = stringsetloc( #No"#No", "scr_text_slash_scr_text_gml_9_0" );
global.choicemsg[2] = stringsetloc( " ", "scr_text_slash_scr_text_gml_12_0_b" );
global.choicemsg[3] = stringsetloc( " ", "scr_text_slash_scr_text_gml_13_0_b" );
global.msg[0] = stringsetloc( * You really didn't want to throw it away.Wait for input"* You really didn't want to throw it away./", "scr_text_slash_scr_text_gml_12_0" );
global.msg[1] = stringsetloc( * Throw it away anyway?Wait for input"* Throw it away anyway?/", "scr_text_slash_scr_text_gml_13_0" );
global.msg[2] = stringsetloc( Choice type 2 "\\C2 ", "scr_text_slash_scr_text_gml_14_0" );
if (global.chapter >= 2)
msgsetloc(0, * You took it from your pocket.Delay 11 * You have a very,Delay 11 very,Delay 11 bad feeling about throwing it away.Wait for input"* You took it from your pocket^1.&* You have a \\cYvery^1, very^1, bad feeling\\c0 about throwing it away./", "scr_text_slash_scr_text_gml_19_0" );
break;
case 11:
if (global.choice == 0)
{
global.flag[466 junkball_dropped] = 1;
snd_play(snd_bageldefeat);
global.msg[0] = stringsetloc( * Hand shaking,Delay 11 you dropped the ball of junk on the ground.Wait for input"* Hand shaking^1, you dropped the ball of junk on the ground./", "scr_text_slash_scr_text_gml_20_0" );
global.msg[1] = stringsetloc( * It broke into pieces.Wait for input"* It broke into pieces./", "scr_text_slash_scr_text_gml_21_0" );
global.msg[2] = stringsetloc( * You felt bitter.Wait for inputClose Message"* You felt bitter./%", "scr_text_slash_scr_text_gml_22_0" );
script_execute(scr_litemshift, global.menucoord[1], 0);
for (i = 0; i < 12; i += 1)
global.item[i] = 0;
for (i = 0; i < 48; i += 1)
{
global.armor[i] = 0;
global.weapon[i] = 0;
}
}
else
{
global.msg[0] = stringsetloc( * You felt a feeling of relief.Wait for inputClose Message"* You felt a feeling of relief./%", "scr_text_slash_scr_text_gml_34_0" );
}
break;
case 100:
global.msg[0] = stringsetloc( * Hey, Kris!Delay 11 What's up?Delay 11 * Didja lose your pencil again?Wait for input"* Hey, Kris^1! What's up^1?&* Didja lose your pencil again?/", "scr_text_slash_scr_text_gml_39_0" );
global.msg[1] = stringsetloc( Face 4* Here,Delay 11 you want the candy-cane one or the one with lights on it?Wait for input"\\E4* Here^1, you want the candy-cane one or the one with lights on it?/", "scr_text_slash_scr_text_gml_40_0" );
global.msg[2] = stringsetloc( Face 1* Huh?Delay 11 * You want to be partners?Wait for input"\\E1* Huh^1?&* You want to be partners?/", "scr_text_slash_scr_text_gml_41_0" );
global.msg[3] = stringsetloc( Face 4* Ummm...Delay 11 Sorry...Delay 11 * Berdly already asked me...Wait for input"\\E4* Ummm..^1. Sorry..^1.&* Berdly already asked me.../", "scr_text_slash_scr_text_gml_42_0" );
global.msg[4] = stringsetloc( Face 0* But I could ask Ms. Alphys if we could make a group of 3!Wait for input"\\E0* But I could ask Ms. Alphys if we could make a group of 3!/", "scr_text_slash_scr_text_gml_43_0" );
global.msg[5] = stringsetloc( Face 4* I'll ask if you're sure!
Not yet Yes. Ask.Choice type 1 "\\E4* I'll ask if you're sure!& &Not yet Yes. Ask.\\C1 ", "scr_text_slash_scr_text_gml_44_0" );
global.msg[6] = stringsetloc( " ", "scr_text_slash_scr_text_gml_47_0" );
break;
case 101:
if (global.choice == 1)
{
global.msg[0] = stringsetloc( Face 0* OK,Delay 11 I'll ask!Wait for input"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_51_0" );
global.msg[1] = stringsetloc( * Miss Alphys!Delay 11 * Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_52_0" );
with (obj_classscene)
con = 20;
}
if (global.choice == 0)
global.msg[0] = stringsetloc( Face 4* Yeah,Delay 11 I'm sure there's someone else you can ask!Wait for inputClose Message"\\E4* Yeah^1, I'm sure there's someone else you can ask!/%", "scr_text_slash_scr_text_gml_57_0" );
break;
case 102:
global.msg[0] = stringsetloc( Face 0* Do you wanna be partners? Not yet YesChoice type 1 "\\E0* Do you wanna be partners?&Not yet Yes\\C1 ", "scr_text_slash_scr_text_gml_62_0" );
global.msg[1] = stringsetloc( " ", "scr_text_slash_scr_text_gml_65_0" );
break;
case 103:
if (global.choice == 1)
{
global.msg[0] = stringsetloc( Face 0* OK,Delay 11 I'll ask!Wait for input"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_69_0" );
global.msg[1] = stringsetloc( * Miss Alphys!Delay 11 * Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_70_0" );
with (obj_classscene)
con = 20;
}
if (global.choice == 0)
global.msg[0] = stringsetloc( Face 4* Umm,Delay 11 OK.Delay 11 * You just keep doing your thing,Delay 11 Kris.Wait for inputClose Message"\\E4* Umm^1, OK^1.&* You just keep doing your thing^1, Kris./%", "scr_text_slash_scr_text_gml_75_0" );
break;
case 104:
global.msg[0] = stringsetloc( Face 0* Alright.Delay 11 * Let's get this over with.Wait for input"\\E0* Alright^1.&* Let's get this over with./", "scr_text_slash_scr_text_gml_80_0" );
global.msg[1] = stringsetloc( * We'll get more chalk.Delay 11 * Mosey back to class.Delay 11 * And then,Delay 11 Kris...Wait for input"* We'll get more chalk^1.&* Mosey back to class^1.&* And then^1, Kris.../", "scr_text_slash_scr_text_gml_81_0" );
global.msg[2] = stringsetloc( Face 2* YOU'LL do our project.Wait for input"\\E2* YOU'LL do our project./", "scr_text_slash_scr_text_gml_82_0" );
global.msg[3] = stringsetloc( * How's that sound?
Good BadChoice type 1 "* How's that sound?& &Good Bad\\C1 ", "scr_text_slash_scr_text_gml_83_0" );
global.msg[4] = stringsetloc( " ", "scr_text_slash_scr_text_gml_86_0" );
break;
case 105:
global.msg[0] = stringsetloc( Close MessageClose Message" %%", "scr_text_slash_scr_text_gml_90_0" );
break;
case 110:
global.choicemsg[0] = stringsetloc( #Yes"#Yes", "scr_text_slash_scr_text_gml_92_0" );
global.choicemsg[1] = stringsetloc( #No"#No", "scr_text_slash_scr_text_gml_93_0" );
global.choicemsg[2] = stringsetloc( " ", "scr_text_slash_scr_text_gml_96_0" );
global.choicemsg[3] = stringsetloc( " ", "scr_text_slash_scr_text_gml_97_0" );
if ( global.flag[100 got_glowshard] == 0)
{
global.msg[0] = stringsetloc( * (There's something glowing inside.)Wait for input"* (There's something glowing inside.)/", "scr_text_slash_scr_text_gml_98_0" );
global.msg[1] = stringsetloc( * (Take it?)Wait for input "* (Take it?)/ ", "scr_text_slash_scr_text_gml_99_0" );
global.msg[2] = stringsetloc( Choice type 2" \\C2", "scr_text_slash_scr_text_gml_100_0" );
}
else
{
global.msg[0] = stringsetloc( * (It's dark inside.)Wait for inputClose Message"* (It's dark inside.)/%", "scr_text_slash_scr_text_gml_104_0" );
}
break;
case 111:
... (global.msc); |
446 |
c_talk_wait(); |
447 |
c_var_instance(id, "dogcon", 69); |
448 |
c_pannable(0); |
449 |
c_actortokris(); |
450 |
c_var_instance(84, "x", ((basex - 35) + 50) - 52); |
451 |
c_var_instance(84, "y", basey - 44); |
452 |
c_actortocaterpillar(); |
453 |
c_terminatekillactors(); |
454 |
} |
455 |
if (dogcon == 69) |
456 |
{ |
457 |
with (obj_saucer) |
458 |
{ |
459 |
if (i_ex(collider)) |
460 |
{ |
461 |
with (collider) |
462 |
instance_destroy(); |
463 |
} |
464 |
} |
465 |
if (instance_exists(obj_doorB)) |
466 |
{ |
467 |
with (obj_doorB) |
468 |
instance_destroy(); |
469 |
} |
470 |
with (obj_dogtable_idle) |
471 |
instance_destroy(); |
472 |
if (loc == "botright") |
473 |
dogtable = instance_create(((basex - 35) + 50) - 52, basey - 44, obj_dogtable_controlled); |
474 |
else |
475 |
dogtable = instance_create(((basex - 35) + 52) - 22, basey - 44, obj_dogtable_controlled); |
476 |
global.flag[7 disable_menu?] = 1; |
477 |
global.interact = 0; |
478 |
with (obj_caterpillarchara) |
479 |
visible = false; |
480 |
with (obj_mainchara) |
481 |
visible = false; |
482 |
dogcon++; |
483 |
} |
484 |
if (dogcon == 70) |
485 |
timer = 0; |
486 |
if (dogcon == 71) |
487 |
{ |
488 |
if (timer == 0) |
489 |
{ |
490 |
snd_play(snd_sparkle_glock); |
491 |
obj_dogtable_controlled.drawcustom = 0; |
492 |
with (key) |
493 |
depth = 80; |
494 |
with (key) |
495 |
scr_move_to_point_over_time(other.dogtable.x - (sprite_width / 2), other.dogtable.y - 228, 16); |
496 |
} |
497 |
timer++; |
498 |
if (timer == 20) |
499 |
{ |
500 |
obj_dogtable_controlled.drawcustom = 1; |
501 |
obj_dogtable_controlled.raspr = spr_ralsei_up; |
502 |
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"); |
503 |
msgsetloc(0, Face J* There's the key!!!Delay 11 Now we just have to--Wait for inputClose Message"\\EJ* There's the key!!^1! Now we just have to--/%", "obj_controller_dining3_slash_Step_0_gml_539_0" ); |
504 |
d_make(); |
505 |
dogcon = 72; |
506 |
timer = 0; |
507 |
} |
508 |
} |
509 |
if (dogcon > 69) |
510 |
{ |
511 |
if (i_ex(key)) |
512 |
{ |
513 |
sparkletimer++; |
514 |
if ((sparkletimer % 4) == 0) |
515 |
{ |
516 |
for (var i = 0; i < 1; i++) |
517 |
{ |
518 |
sparkle[i] = instance_create(key.x + 50, key.y + 42, obj_afterimage); |
519 |
sparkle[i].sprite_index = spr_sparestar_anim; |
520 |
sparkle[i].fadeSpeed = choose(0.01, 0.02); |
521 |
sparkle[i].image_xscale = 2; |
522 |
sparkle[i].image_yscale = 2; |
523 |
sparkle[i].image_speed = 0.5; |
524 |
sparkle[i].hspeed = random_range(-3, 3); |
525 |
sparkle[i].friction = 0.05; |
526 |
sparkle[i].gravity = 0.1; |
527 |
sparkle[i].depth = key.depth + 1; |
528 |
} |
529 |
} |
530 |
} |
531 |
} |
532 |
if (dogcon == 72 && !d_ex()) |
533 |
{ |
534 |
timer++; |
535 |
if (timer == 29) |
536 |
{ |
537 |
with (dogtable) |
538 |
scr_move_to_point_over_time(x, y - 128, 4); |
539 |
} |
540 |
if (timer == 33) |
541 |
{ |
542 |
for (var i = 0; i < 8; i++) |
543 |
{ |
544 |
shard[i] = instance_create(key.x + 50, key.y + 42, obj_afterimage); |
545 |
shard[i].image_xscale = 2; |
546 |
shard[i].image_yscale = 2; |
547 |
shard[i].sprite_index = spr_keyShard; |
548 |
shard[i].direction = (i / 8) * 360; |
549 |
shard[i].image_angle = shard[i].direction + random_range(-30, 30); |
550 |
shard[i].speed = random_range(6, 10); |
551 |
shard[i].depth = key.depth + 1; |
552 |
} |
553 |
snd_play(snd_break2); |
554 |
with (key) |
555 |
instance_destroy(); |
556 |
} |
557 |
if (timer == 50) |
558 |
{ |
559 |
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"); |
560 |
msgsetloc(0, Face L* It BROKE IT?!Wait for inputClose Message"\\EL* It BROKE IT?!/%", "obj_controller_dining3_slash_Step_0_gml_603_0" ); |
561 |
d_make(); |
562 |
dogcon++; |
563 |
timer = 0; |
564 |
} |
565 |
} |
566 |
if (dogcon == 73 && !d_ex()) |
567 |
{ |
568 |
var dist = round(abs(dogtable.x - 64) / 16); |
569 |
dist = clamp(dist, 4, 16); |
570 |
var targy; |
571 |
if (dogtable.y < 320) |
572 |
targy = 360; |
573 |
else |
574 |
targy = dogtable.y; |
575 |
if (timer == 0) |
576 |
{ |
577 |
with (dogtable) |
578 |
scr_move_to_point_over_time(640, targy, dist); |
579 |
} |
580 |
timer++; |
581 |
if (timer == (dist + 10)) |
582 |
{ |
583 |
with (dogtable) |
584 |
scr_move_to_point_over_time(640, -128, (y - 128) / 24); |
585 |
} |
586 |
if (dogtable.y <= 160 && timer > 18) |
587 |
{ |
588 |
explosion_marker = instance_create(dogtable.x, dogtable.y, obj_marker); |
589 |
explosion_marker.image_yscale = 2; |
590 |
explosion_marker.image_xscale = 2; |
591 |
explosion_marker.sprite_index = spr_realisticexplosion; |
592 |
snd_play(snd_badexplosion); |
593 |
layer_set_visible("TILES_Doorway", 1); |
594 |
layer_set_visible("TILES_Doorway_FG", 1); |
595 |
global.flag[381 dog_opened_door] = 1; |
596 |
with (obj_doorW) |
597 |
event_user(9); |
598 |
dogcon++; |
599 |
} |
600 |
} |