|
1
|
toggle = 0;
|
|
2
|
if (!ignoreHardWork)
|
|
3
|
{
|
|
4
|
with (obj_alleySwitch)
|
|
5
|
{
|
|
6
|
if (toggle == 1)
|
|
7
|
{
|
|
8
|
other.toggle = 1;
|
|
9
|
other.bothToggled = 1;
|
|
10
|
}
|
|
11
|
if (toggle == 0)
|
|
12
|
other.bothToggled = 0;
|
|
13
|
other.toggledtimer = 0;
|
|
14
|
}
|
|
15
|
}
|
|
16
|
if (!ignoreHardWork)
|
|
17
|
{
|
|
18
|
if (toggle == 1)
|
|
19
|
{
|
|
20
|
hasToggled = 1;
|
|
21
|
if (i_ex(forcefield))
|
|
22
|
{
|
|
23
|
with (forcefield)
|
|
24
|
instance_destroy();
|
|
25
|
}
|
|
26
|
}
|
|
27
|
else if (!i_ex(forcefield))
|
|
28
|
{
|
|
29
|
forcefield = scr_forcefieldscr_forcefield
function scr_forcefield(arg0, arg1, arg2, arg3, arg4, arg5)
{
field = instance_create(arg0, arg1, obj_forcefield);
field.image_xscale = arg2;
field.image_yscale = arg3;
field.skip = arg4;
field.stayVisible = arg5;
with (field)
scr_depth();
return field;
} (680, 1040, 2, 8, 1, 1);
|
|
30
|
}
|
|
31
|
}
|
|
32
|
toggledtimer++;
|
|
33
|
timer++;
|
|
34
|
if (hasToggled == 1 && con == 0)
|
|
35
|
{
|
|
36
|
if (toggle == 1)
|
|
37
|
timer = 0;
|
|
38
|
if (toggle == 0 && timer >= 30 && toggledtimer < 90 && obj_mainchara.x >= 386 && obj_mainchara.y > 1024)
|
|
39
|
{
|
|
40
|
if (global.flag[915 snowgrave_plot] == 3 && global.flag[916 snowgrave_fail] == 0)
|
|
41
|
weirdRoute = true;
|
|
42
|
else
|
|
43
|
weirdRoute = false;
|
|
44
|
con++;
|
|
45
|
}
|
|
46
|
}
|
|
47
|
if (weirdRoute == false)
|
|
48
|
{
|
|
49
|
if (con == 1 && global.interact == 0)
|
|
50
|
{
|
|
51
|
global.flag[7 disable_menu?] = 1;
|
|
52
|
global.interact = 1;
|
|
53
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("noelle");
|
|
54
|
msgsetloc(0, Face 1* Hmm,Delay 11 looks like you need to hold it down.Wait for inputClose Message"\\E1* Hmm^1, looks like you need to hold it down./%", "obj_controller_dw_city_big_2_slash_Step_0_gml_59_0" );
|
|
55
|
d = d_make();
|
|
56
|
con++;
|
|
57
|
}
|
|
58
|
if (con == 2)
|
|
59
|
{
|
|
60
|
if (!i_ex(d))
|
|
61
|
{
|
|
62
|
global.interact = 0;
|
|
63
|
con++;
|
|
64
|
}
|
|
65
|
}
|
|
66
|
if (con == 101)
|
|
67
|
{
|
|
68
|
if (!i_ex(d))
|
|
69
|
{
|
|
70
|
global.interact = 0;
|
|
71
|
con++;
|
|
72
|
}
|
|
73
|
}
|
|
74
|
if (con == 102)
|
|
75
|
{
|
|
76
|
obj_mainchara.y = 1024;
|
|
77
|
global.facing = 0;
|
|
78
|
global.interact = 0;
|
|
79
|
if (noelleWaiting == 0)
|
|
80
|
con = 3;
|
|
81
|
if (noelleWaiting == 1)
|
|
82
|
con = 10;
|
|
83
|
if (noelleWaiting == 2)
|
|
84
|
con = 55;
|
|
85
|
if (noelleWaiting == 3)
|
|
86
|
con = 71;
|
|
87
|
if (noelleWaiting == 6)
|
|
88
|
con = 58;
|
|
89
|
}
|
|
90
|
if (con == 3)
|
|
91
|
{
|
|
92
|
if (obj_mainchara.y < 1000)
|
|
93
|
global.flag[7 disable_menu?] = 0;
|
|
94
|
else
|
|
95
|
global.flag[7 disable_menu?] = 1;
|
|
96
|
if (toggle == 1)
|
|
97
|
con++;
|
|
98
|
}
|
|
99
|
if (con == 4)
|
|
100
|
{
|
|
101
|
global.interact = 1;
|
|
102
|
global.facing = 1;
|
|
103
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("noelle");
|
|
104
|
msgsetloc(0, Face 0* Kris,Delay 11 you keep standing on this one!Wait for inputClose Message"\\E0* Kris^1, you keep standing on this one!/%", "obj_controller_dw_city_big_2_slash_Step_0_gml_120_0" );
|
|
105
|
d = d_make();
|
|
106
|
con++;
|
|
107
|
}
|
|
108
|
if (con == 5)
|
|
109
|
{
|
|
110
|
if (!i_ex(d))
|
|
111
|
{
|
|
112
|
global.interact = 0;
|
|
113
|
con++;
|
|
114
|
}
|
|
115
|
}
|
|
116
|
if (con == 6)
|
|
117
|
{
|
|
118
|
noellePuzzle = instance_create(obj_caterpillarchara.x, obj_caterpillarchara.y, obj_marker);
|
|
119
|
noellePuzzle.sprite_index = spr_noelle_walk_right_dw;
|
|
120
|
noellePuzzle.image_xscale = 2;
|
|
121
|
noellePuzzle.image_yscale = 2;
|
|
122
|
noellePuzzle.image_speed = 0.25;
|
|
123
|
noellePuzzle.starty = noellePuzzle.y;
|
|
124
|
noellePuzzle.startx = noellePuzzle.x;
|
|
125
|
noellePuzzle.depth = obj_caterpillarchara.depth;
|
|
126
|
obj_caterpillarchara.visible = false;
|
|
127
|
con++;
|
|
128
|
}
|
|
129
|
if (con == 7)
|
|
130
|
{
|
|
131
|
if (toggle == 1)
|
|
132
|
{
|
|
133
|
with (noellePuzzle)
|
|
134
|
{
|
|
135
|
if (starty > 1064)
|
|
136
|
{
|
|
137
|
if (y > 1064)
|
|
138
|
{
|
|
139
|
y -= 2;
|
|
140
|
image_speed = 0.25;
|
|
141
|
sprite_index = spr_noelle_walk_up_dw;
|
|
142
|
}
|
|
143
|
else
|
|
144
|
{
|
|
145
|
image_speed = 0;
|
|
146
|
y = 1064;
|
|
147
|
starty = 1064;
|
|
148
|
}
|
|
149
|
}
|
|
150
|
if (starty < 1064)
|
|
151
|
{
|
|
152
|
if (y < 1064)
|
|
153
|
{
|
|
154
|
y += 2;
|
|
155
|
image_speed = 0.25;
|
|
156
|
sprite_index = spr_noelle_walk_down_dw;
|
|
157
|
}
|
|
158
|
else
|
|
159
|
{
|
|
160
|
image_speed = 0;
|
|
161
|
y = 1064;
|
|
162
|
starty = 1064;
|
|
163
|
}
|
|
164
|
}
|
|
165
|
if (starty == 1064 && startx < 758)
|
|
166
|
{
|
|
167
|
if (x < 758)
|
|
168
|
{
|
|
169
|
image_speed = 0.25;
|
|
170
|
sprite_index = spr_noelle_walk_right_dw;
|
|
171
|
x += 2;
|
|
172
|
}
|
|
173
|
else
|
|
174
|
{
|
|
175
|
image_speed = 0;
|
|
176
|
x = 758;
|
|
177
|
startx = 758;
|
|
178
|
}
|
|
179
|
}
|
|
180
|
if (starty == 1064 && startx > 758)
|
|
181
|
{
|
|
182
|
if (x > 758)
|
|
183
|
{
|
|
184
|
image_speed = 0.25;
|
|
185
|
sprite_index = spr_noelle_walk_left_dw;
|
|
186
|
x -= 2;
|
|
187
|
}
|
|
188
|
else
|
|
189
|
{
|
|
190
|
image_speed = 0;
|
|
191
|
x = 758;
|
|
192
|
startx = 758;
|
|
193
|
}
|
|
194
|
}
|
|
195
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
196
|
}
|
|
197
|
if (noellePuzzle.x == 758 && noellePuzzle.y == 1064)
|
|
198
|
{
|
|
199
|
noellePuzzle.sprite_index = spr_noelle_walk_left_dw;
|
|
200
|
noellePuzzle.image_index = 0;
|
|
201
|
noellePuzzle.speed = 0;
|
|
202
|
noellePuzzle.image_speed = 0;
|
|
203
|
con = 8;
|
|
204
|
}
|
|
205
|
}
|
|
206
|
if (toggle == 0)
|
|
207
|
{
|
|
208
|
noellePuzzle.startx = noellePuzzle.x;
|
|
209
|
noellePuzzle.starty = noellePuzzle.y;
|
|
210
|
noellePuzzle.image_speed = 0;
|
|
211
|
noellePuzzle.speed = 0;
|
|
212
|
con = 20;
|
|
213
|
}
|
|
214
|
}
|
|
215
|
if (con == 8)
|
|
216
|
{
|
|
217
|
global.interact = 1;
|
|
218
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("noelle");
|
|
219
|
msgsetloc(0, Face 0* OK,Delay 11 now you come over here!Wait for inputClose Message"\\E0* OK^1, now you come over here!/%", "obj_controller_dw_city_big_2_slash_Step_0_gml_249_0" );
|
|
220
|
d = d_make();
|
|
221
|
con++;
|
|
222
|
if (revengeNoelle)
|
|
223
|
con = 54;
|
|
224
|
}
|
|
225
|
if (con == 9)
|
|
226
|
{
|
|
227
|
if (!i_ex(d))
|
|
228
|
{
|
|
229
|
global.interact = 0;
|
|
230
|
con++;
|
|
231
|
}
|
|
232
|
}
|
|
233
|
if (con == 10)
|
|
234
|
{
|
|
235
|
noelleWaiting = 1;
|
|
236
|
if (obj_mainchara.y <= 1020)
|
|
237
|
{
|
|
238
|
global.interact = 1;
|
|
239
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("noelle");
|
|
240
|
msgsetloc(0, Face 8* Kris!Delay 11 Get back here!!Wait for inputClose Message"\\E8* Kris^1! Get back here!!/%", "obj_controller_dw_city_big_2_slash_Step_0_gml_270_0" );
|
|
241
|
d = d_make();
|
|
242
|
con = 101;
|
|
243
|
}
|
|
244
|
if (obj_mainchara.x >= 698)
|
|
245
|
{
|
|
246
|
global.interact = 1;
|
|
247
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("noelle");
|
|
248
|
msgsetloc(0, Face 4* Nice teamwork!Wait for inputClose Message"\\E4* Nice teamwork!/%", "obj_controller_dw_city_big_2_slash_Step_0_gml_280_0" );
|
|
249
|
d = d_make();
|
|
250
|
con = 11;
|
|
251
|
}
|
|
252
|
}
|
|
253
|
if (con == 11 && !d_ex())
|
|
254
|
{
|
|
255
|
if (global.flag[915 snowgrave_plot] > 0)
|
|
256
|
scr_sideb_failscr_sideb_fail
function scr_sideb_fail()
{
if (global.flag[916 snowgrave_fail] == 0)
{
global.flag[916 snowgrave_fail] = 1;
if (argument_count > 0 && argument[0] == 1)
{
if (global.flag[915 snowgrave_plot] > 0)
{
}
}
}
} ();
|
|
257
|
with (obj_caterpillarchara)
|
|
258
|
{
|
|
259
|
x = other.noellePuzzle.x;
|
|
260
|
y = other.noellePuzzle.y;
|
|
261
|
other.noellePuzzle.visible = false;
|
|
262
|
visible = true;
|
|
263
|
scr_caterpillar_interpolatescr_caterpillar_interpolate
function scr_caterpillar_interpolate()
{
_newfacing = scr_facing_letter_to_number(scr_get_cardinal_direction(point_direction(x, y, obj_mainchara.x, obj_mainchara.y)));
remx[0] = obj_mainchara.x;
remy[0] = obj_mainchara.y;
facing[0] = _newfacing;
for (_iaia = target; _iaia > 0; _iaia -= 1)
{
remx[_iaia] = lerp(obj_mainchara.x, x, _iaia / target);
if (global.darkzone == 1)
remy[_iaia] = lerp(obj_mainchara.y, y + 16, _iaia / target);
else
remy[_iaia] = lerp(obj_mainchara.y, y + 6, _iaia / target);
facing[_iaia] = _newfacing;
}
} ();
|
|
264
|
}
|
|
265
|
with (noellePuzzle)
|
|
266
|
instance_destroy();
|
|
267
|
global.facing = 0;
|
|
268
|
global.interact = 0;
|
|
269
|
global.flag[7 disable_menu?] = 0;
|
|
270
|
con++;
|
|
271
|
}
|
|
272
|
if (con == 20)
|
|
273
|
{
|
|
274
|
global.interact = 1;
|
|
275
|
if (noellePuzzle.x <= 650)
|
|
276
|
{
|
|
277
|
con = 21;
|
|
278
|
noellePuzzle.startx = noellePuzzle.x;
|
|
279
|
}
|
|
280
|
if (noellePuzzle.x > 650)
|
|
281
|
con = 50;
|
|
282
|
}
|
|
283
|
if (con == 21)
|
|
284
|
{
|
|
285
|
with (noellePuzzle)
|
|
286
|
{
|
|
287
|
if (startx > 560)
|
|
288
|
{
|
|
289
|
if (x > 560)
|
|
290
|
{
|
|
291
|
x -= 8;
|
|
292
|
sprite_index = spr_noelle_walk_left_dw;
|
|
293
|
image_speed = 0.25;
|
|
294
|
}
|
|
295
|
else
|
|
296
|
{
|
|
297
|
image_speed = 0;
|
|
298
|
x = 560;
|
|
299
|
startx = 560;
|
|
300
|
}
|
|
301
|
}
|
|
302
|
if (startx < 560)
|
|
303
|
{
|
|
304
|
if (x < 560)
|
|
305
|
{
|
|
306
|
x += 4;
|
|
307
|
sprite_index = spr_noelle_walk_right_dw;
|
|
308
|
image_speed = 0.25;
|
|
309
|
}
|
|
310
|
else
|
|
311
|
{
|
|
312
|
image_speed = 0;
|
|
313
|
x = 560;
|
|
314
|
startx = 560;
|
|
315
|
}
|
|
316
|
}
|
|
317
|
if (x == 560)
|
|
318
|
{
|
|
319
|
sprite_index = spr_noelle_walk_left_dw;
|
|
320
|
image_speed = 0;
|
|
321
|
image_index = 0;
|
|
322
|
other.con++;
|
|
323
|
}
|
|
324
|
}
|
|
325
|
}
|
|
326
|
if (con == 22)
|
|
327
|
{
|
|
328
|
failurecount++;
|
|
329
|
if (failurecount == 1)
|
|
330
|
{
|
|
331
|
global.facing = 1;
|
|
332
|
global.msc = 1161;
|
|
333
|
scr_textscr_text
function 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);
|
|
334
|
d = d_make();
|
|
335
|
con = 70;
|
|
336
|
}
|
|
337
|
if (failurecount == 2)
|
|
338
|
{
|
|
339
|
global.facing = 1;
|
|
340
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("noelle");
|
|
341
|
msgsetloc(0, Face 8* (This is reminding me of our group projects...)Wait for inputClose Message"\\E8* (This is reminding me of our group projects...)/%", "obj_controller_dw_city_big_2_slash_Step_0_gml_393_0" );
|
|
342
|
d = d_make();
|
|
343
|
con = 70;
|
|
344
|
}
|
|
345
|
if (failurecount > 2)
|
|
346
|
{
|
|
347
|
global.facing = 1;
|
|
348
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("noelle");
|
|
349
|
msgsetloc(0, Face 8* ...Wait for inputClose Message"\\E8* .../%", "obj_controller_dw_city_big_2_slash_Step_0_gml_401_0" );
|
|
350
|
d = d_make();
|
|
351
|
con = 70;
|
|
352
|
if (revengeNoelle == 0)
|
|
353
|
revengeNoelle = 1;
|
|
354
|
}
|
|
355
|
}
|
|
356
|
if (con == 50)
|
|
357
|
{
|
|
358
|
with (noellePuzzle)
|
|
359
|
{
|
|
360
|
move_towards_point(718, 1064, 8);
|
|
361
|
image_speed = 0.25;
|
|
362
|
sprite_index = spr_noelle_cower_right;
|
|
363
|
}
|
|
364
|
if (noellePuzzle.x > 708)
|
|
365
|
{
|
|
366
|
noellePuzzle.x = 718;
|
|
367
|
noellePuzzle.hspeed = 0;
|
|
368
|
}
|
|
369
|
if (noellePuzzle.y > 1064)
|
|
370
|
{
|
|
371
|
noellePuzzle.y = 1064;
|
|
372
|
noellePuzzle.vspeed = 0;
|
|
373
|
}
|
|
374
|
if (noellePuzzle.x == 718 && noellePuzzle.y == 1064)
|
|
375
|
{
|
|
376
|
noellePuzzle.sprite_index = spr_noelle_cower_right;
|
|
377
|
noellePuzzle.image_index = 0;
|
|
378
|
noellePuzzle.speed = 0;
|
|
379
|
noellePuzzle.image_speed = 0;
|
|
380
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("noelle");
|
|
381
|
msgsetloc(0, Face E* A--aahhh!!Wait for input"\\EE* A--aahhh!!/", "obj_controller_dw_city_big_2_slash_Step_0_gml_429_0" );
|
|
382
|
msgnextloc(Face 8* K...Delay 11 Kris!Delay 11 C'mon,Delay 11 you...Delay 11 you know that isn't very nice!Wait for input"\\E8* K..^1. Kris^1! C'mon^1, you..^1. you know that isn't very nice!/", "obj_controller_dw_city_big_2_slash_Step_0_gml_430_0" );
|
|
383
|
msgnextloc(Face 8* (I was almost roast deer for a second there...)Wait for inputClose Message"\\E8* (I was almost roast deer for a second there...)/%", "obj_controller_dw_city_big_2_slash_Step_0_gml_431_0" );
|
|
384
|
d = d_make();
|
|
385
|
con++;
|
|
386
|
}
|
|
387
|
}
|
|
388
|
if (con == 51)
|
|
389
|
{
|
|
390
|
if (!i_ex(d))
|
|
391
|
con++;
|
|
392
|
}
|
|
393
|
if (con == 52)
|
|
394
|
{
|
|
395
|
with (noellePuzzle)
|
|
396
|
{
|
|
397
|
if (x < 758)
|
|
398
|
x += 4;
|
|
399
|
else
|
|
400
|
x = 758;
|
|
401
|
}
|
|
402
|
if (noellePuzzle.x == 758)
|
|
403
|
{
|
|
404
|
noellePuzzle.sprite_index = spr_noelle_walk_left_dw;
|
|
405
|
noellePuzzle.image_index = 0;
|
|
406
|
noellePuzzle.speed = 0;
|
|
407
|
noellePuzzle.image_speed = 0;
|
|
408
|
con++;
|
|
409
|
}
|
|
410
|
}
|
|
411
|
if (con == 53)
|
|
412
|
{
|
|
413
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("noelle");
|
|
414
|
msgsetloc(0, Face 8* Alright,Delay 11 now it's your turn!Wait for inputClose Message"\\E8* Alright^1, now it's your turn!/%", "obj_controller_dw_city_big_2_slash_Step_0_gml_471_0" );
|
|
415
|
d = d_make();
|
|
416
|
noelleWaiting = 1;
|
|
417
|
con++;
|
|
418
|
}
|
|
419
|
if (con == 54)
|
|
420
|
{
|
|
421
|
if (!i_ex(d))
|
|
422
|
{
|
|
423
|
global.interact = 0;
|
|
424
|
con++;
|
|
425
|
}
|
|
426
|
}
|
|
427
|
if (con == 55)
|
|
428
|
{
|
|
429
|
noelleWaiting = 2;
|
|
430
|
if (obj_mainchara.y <= 1020)
|
|
431
|
{
|
|
432
|
global.interact = 1;
|
|
433
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("noelle");
|
|
434
|
msgsetloc(0, Face 8* Kris!Delay 11 Get back here!!Wait for inputClose Message"\\E8* Kris^1! Get back here!!/%", "obj_controller_dw_city_big_2_slash_Step_0_gml_495_0" );
|
|
435
|
d = d_make();
|
|
436
|
con = 101;
|
|
437
|
}
|
|
438
|
if (obj_mainchara.x >= 590)
|
|
439
|
con++;
|
|
440
|
}
|
|
441
|
if (con == 56)
|
|
442
|
{
|
|
443
|
if (i_ex(noellePuzzle))
|
|
444
|
{
|
|
445
|
if (noellePuzzle.x <= 798)
|
|
446
|
{
|
|
447
|
noellePuzzle.x += 12;
|
|
448
|
noellePuzzle.image_index = 1;
|
|
449
|
}
|
|
450
|
else
|
|
451
|
{
|
|
452
|
with (noellePuzzle)
|
|
453
|
{
|
|
454
|
x = 798;
|
|
455
|
sprite_index = spr_noelle_laugh_dw;
|
|
456
|
image_speed = 0.25;
|
|
457
|
}
|
|
458
|
ignoreHardWork = 1;
|
|
459
|
snd_play(snd_dtrans_flip);
|
|
460
|
field = scr_forcefieldscr_forcefield
function scr_forcefield(arg0, arg1, arg2, arg3, arg4, arg5)
{
field = instance_create(arg0, arg1, obj_forcefield);
field.image_xscale = arg2;
field.image_yscale = arg3;
field.skip = arg4;
field.stayVisible = arg5;
with (field)
scr_depth();
return field;
} (680, 1040, 2, 8, 1, 1);
|
|
461
|
with (obj_alleySwitch)
|
|
462
|
{
|
|
463
|
if (x > 600)
|
|
464
|
toggle = 1;
|
|
465
|
}
|
|
466
|
timer = 0;
|
|
467
|
con++;
|
|
468
|
}
|
|
469
|
}
|
|
470
|
}
|
|
471
|
if (con == 57)
|
|
472
|
{
|
|
473
|
if (obj_mainchara.x <= 420)
|
|
474
|
timer = 61;
|
|
475
|
if (timer > 60)
|
|
476
|
{
|
|
477
|
with (noellePuzzle)
|
|
478
|
{
|
|
479
|
if (x > 760)
|
|
480
|
{
|
|
481
|
x -= 8;
|
|
482
|
}
|
|
483
|
else
|
|
484
|
{
|
|
485
|
other.ignoreHardWork = 0;
|
|
486
|
snd_play(snd_noise);
|
|
487
|
with (obj_alleySwitch)
|
|
488
|
{
|
|
489
|
if (x > 600)
|
|
490
|
toggle = 0;
|
|
491
|
}
|
|
492
|
with (obj_forcefield)
|
|
493
|
instance_destroy();
|
|
494
|
x = 758;
|
|
495
|
image_speed = 0;
|
|
496
|
image_index = 0;
|
|
497
|
other.con++;
|
|
498
|
}
|
|
499
|
}
|
|
500
|
}
|
|
501
|
}
|
|
502
|
if (con == 58)
|
|
503
|
{
|
|
504
|
noelleWaiting = 6;
|
|
505
|
if (obj_mainchara.y <= 1020)
|
|
506
|
{
|
|
507
|
global.interact = 1;
|
|
508
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("noelle");
|
|
509
|
msgsetloc(0, Face 8* Kris!Delay 11 Get back here!!Wait for inputClose Message"\\E8* Kris^1! Get back here!!/%", "obj_controller_dw_city_big_2_slash_Step_0_gml_563_0" );
|
|
510
|
d = d_make();
|
|
511
|
con = 101;
|
|
512
|
}
|
|
513
|
if (obj_mainchara.x >= 698)
|
|
514
|
{
|
|
515
|
global.interact = 1;
|
|
516
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("noelle");
|
|
517
|
msgsetloc(0, Face 8* Fahahaha!Delay 11 How'd you like that!?Wait for input"\\E8* Fahahaha^1! How'd you like that!?/", "obj_controller_dw_city_big_2_slash_Step_0_gml_572_0" );
|
|
518
|
msgnextloc(Face 8* You should have seen the look on your face!!Wait for input"\\E8* You should have seen the look on your face!!/", "obj_controller_dw_city_big_2_slash_Step_0_gml_573_0" );
|
|
519
|
msgnextloc(Face 2* (Hey,Delay 11 why do they look so hurt...? Gosh...)Wait for inputClose Message"\\E2* (Hey^1, why do they look so hurt...? Gosh...)/%", "obj_controller_dw_city_big_2_slash_Step_0_gml_574_0" );
|
|
520
|
d = d_make();
|
|
521
|
con = 11;
|
|
522
|
}
|
|
523
|
}
|
|
524
|
if (con == 70)
|
|
525
|
{
|
|
526
|
if (!i_ex(d))
|
|
527
|
{
|
|
528
|
global.interact = 0;
|
|
529
|
con++;
|
|
530
|
}
|
|
531
|
}
|
|
532
|
if (con == 71)
|
|
533
|
{
|
|
534
|
noelleWaiting = 3;
|
|
535
|
if (obj_mainchara.y <= 1020)
|
|
536
|
{
|
|
537
|
global.interact = 1;
|
|
538
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("noelle");
|
|
539
|
msgsetloc(0, Face 8* Kris!Delay 11 Get back here!!Wait for inputClose Message"\\E8* Kris^1! Get back here!!/%", "obj_controller_dw_city_big_2_slash_Step_0_gml_600_0" );
|
|
540
|
d = d_make();
|
|
541
|
con = 101;
|
|
542
|
}
|
|
543
|
if (toggle == 1)
|
|
544
|
{
|
|
545
|
noellePuzzle.starty = noellePuzzle.y;
|
|
546
|
noellePuzzle.startx = noellePuzzle.x;
|
|
547
|
con = 7;
|
|
548
|
}
|
|
549
|
}
|
|
550
|
}
|
|
551
|
if (weirdRoute == true)
|
|
552
|
{
|
|
553
|
if (con == 1 && global.interact == 0)
|
|
554
|
{
|
|
555
|
global.flag[7 disable_menu?] = 1;
|
|
556
|
global.interact = 1;
|
|
557
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("noelle");
|
|
558
|
msgsetloc(0, Face 1* When you step off the switch,Delay 11 the lightning comes back...Wait for input"\\E1* When you step off the switch^1, the lightning comes back.../", "obj_controller_dw_city_big_2_slash_Step_0_gml_622_0" );
|
|
559
|
msgnextloc(Face 5* ...Wait for input"\\E5* .../", "obj_controller_dw_city_big_2_slash_Step_0_gml_623_0" );
|
|
560
|
msgnextloc(Face 4* How about...Delay 11 I hold it down,Delay 11 and you go across?Wait for inputClose Message"\\E4* How about..^1. I hold it down^1, and you go across?/%", "obj_controller_dw_city_big_2_slash_Step_0_gml_624_0" );
|
|
561
|
d = d_make();
|
|
562
|
con++;
|
|
563
|
}
|
|
564
|
if (con == 2)
|
|
565
|
{
|
|
566
|
if (!i_ex(d))
|
|
567
|
{
|
|
568
|
noellePuzzle = instance_create(obj_caterpillarchara.x, obj_caterpillarchara.y, obj_marker);
|
|
569
|
noellePuzzle.image_xscale = 2;
|
|
570
|
noellePuzzle.image_yscale = 2;
|
|
571
|
noellePuzzle.sprite_index = obj_caterpillarchara.sprite_index;
|
|
572
|
noellePuzzle.image_speed = 0;
|
|
573
|
obj_caterpillarchara.visible = false;
|
|
574
|
con++;
|
|
575
|
}
|
|
576
|
}
|
|
577
|
if (con == 3)
|
|
578
|
{
|
|
579
|
with (noellePuzzle)
|
|
580
|
{
|
|
581
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
582
|
targX = 476;
|
|
583
|
targY = 1054;
|
|
584
|
if (x > targX)
|
|
585
|
sprite_index = spr_noelle_walk_left_dw;
|
|
586
|
if (x < targX)
|
|
587
|
sprite_index = spr_noelle_walk_right_dw;
|
|
588
|
if (distance_to_point(targX - (x - bbox_left), targY - (y - bbox_top)) > 2.1)
|
|
589
|
{
|
|
590
|
move_towards_point(targX, targY, 4);
|
|
591
|
image_speed = 0.25;
|
|
592
|
}
|
|
593
|
else
|
|
594
|
{
|
|
595
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
596
|
sprite_index = spr_noelle_walk_right_dw;
|
|
597
|
image_index = 0;
|
|
598
|
hspeed = 0;
|
|
599
|
vspeed = 0;
|
|
600
|
speed = 0;
|
|
601
|
x = targX;
|
|
602
|
y = targY;
|
|
603
|
image_speed = 0;
|
|
604
|
other.con++;
|
|
605
|
}
|
|
606
|
}
|
|
607
|
}
|
|
608
|
if (con == 4)
|
|
609
|
{
|
|
610
|
noelleWaitCheck = instance_create(480, 1120, obj_readable_room1);
|
|
611
|
noelleWaitCheck.image_xscale = 2;
|
|
612
|
noelleWaitCheck.image_yscale = 2;
|
|
613
|
noelleWaitCheck.extflag = "weird";
|
|
614
|
global.interact = 0;
|
|
615
|
con++;
|
|
616
|
}
|
|
617
|
if (con == 5)
|
|
618
|
{
|
|
619
|
if (obj_mainchara.y <= 1020)
|
|
620
|
{
|
|
621
|
global.interact = 1;
|
|
622
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("no_name");
|
|
623
|
msgsetloc(0, * (Shouldn't leave now.)Wait for inputClose Message"* (Shouldn't leave now.)/%", "obj_controller_dw_city_big_2_slash_Step_0_gml_693_0" );
|
|
624
|
d = d_make();
|
|
625
|
con = 6;
|
|
626
|
}
|
|
627
|
if (obj_mainchara.x >= 666)
|
|
628
|
{
|
|
629
|
timer = 0;
|
|
630
|
con = 9;
|
|
631
|
}
|
|
632
|
}
|
|
633
|
if (con == 6)
|
|
634
|
{
|
|
635
|
if (!i_ex(d))
|
|
636
|
con++;
|
|
637
|
}
|
|
638
|
if (con == 7)
|
|
639
|
{
|
|
640
|
obj_mainchara.y = 1022;
|
|
641
|
global.facing = 0;
|
|
642
|
global.interact = 0;
|
|
643
|
if (fakeStep == 0)
|
|
644
|
con = 5;
|
|
645
|
if (fakeStep == 1)
|
|
646
|
con = 10;
|
|
647
|
}
|
|
648
|
if (con == 9)
|
|
649
|
{
|
|
650
|
noellePuzzle.image_speed = 0.25;
|
|
651
|
if (timer == 15 || bothToggled == 1)
|
|
652
|
{
|
|
653
|
noellePuzzle.image_speed = 0;
|
|
654
|
noellePuzzle.image_index = 0;
|
|
655
|
fakeStep = 1;
|
|
656
|
if (bothToggled == 1)
|
|
657
|
{
|
|
658
|
timer = 0;
|
|
659
|
con = 11;
|
|
660
|
}
|
|
661
|
else
|
|
662
|
{
|
|
663
|
con++;
|
|
664
|
}
|
|
665
|
}
|
|
666
|
}
|
|
667
|
if (con == 10)
|
|
668
|
{
|
|
669
|
if (obj_mainchara.y <= 1020)
|
|
670
|
{
|
|
671
|
global.interact = 1;
|
|
672
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("no_name");
|
|
673
|
msgsetloc(0, * (Shouldn't leave now.)Wait for inputClose Message"* (Shouldn't leave now.)/%", "obj_controller_dw_city_big_2_slash_Step_0_gml_739_0" );
|
|
674
|
d = d_make();
|
|
675
|
con = 6;
|
|
676
|
}
|
|
677
|
if (obj_mainchara.x > 880)
|
|
678
|
{
|
|
679
|
global.interact = 1;
|
|
680
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("no_name");
|
|
681
|
msgsetloc(0, * (Shouldn't leave now.)Wait for inputClose Message"* (Shouldn't leave now.)/%", "obj_controller_dw_city_big_2_slash_Step_0_gml_749_0" );
|
|
682
|
d = d_make();
|
|
683
|
con = 20;
|
|
684
|
}
|
|
685
|
if (bothToggled == 1)
|
|
686
|
{
|
|
687
|
timer = 0;
|
|
688
|
con = 11;
|
|
689
|
}
|
|
690
|
}
|
|
691
|
if (con == 11)
|
|
692
|
{
|
|
693
|
if (i_ex(noellePuzzle))
|
|
694
|
noellePuzzle.sprite_index = spr_noelle_walk_right_dw;
|
|
695
|
global.interact = 1;
|
|
696
|
if (timer > 15)
|
|
697
|
{
|
|
698
|
global.facing = 3;
|
|
699
|
with (noelleWaitCheck)
|
|
700
|
instance_destroy();
|
|
701
|
timer = 0;
|
|
702
|
con++;
|
|
703
|
}
|
|
704
|
}
|
|
705
|
if (con == 12)
|
|
706
|
{
|
|
707
|
newtargx = obj_mainchara.x - 80;
|
|
708
|
newtargy = obj_mainchara.y - 18;
|
|
709
|
if (timer == 0)
|
|
710
|
{
|
|
711
|
with (noellePuzzle)
|
|
712
|
{
|
|
713
|
sprite_index = spr_noelle_walk_right_dw;
|
|
714
|
image_speed = 0.25;
|
|
715
|
scr_move_to_point_over_timescr_move_to_point_over_time
function scr_move_to_point_over_time(arg0, arg1, arg2)
{
_mmm = instance_create(x, y, obj_move_to_point);
_mmm.target = id;
_mmm.movex = arg0;
_mmm.movey = arg1;
_mmm.movemax = arg2;
return _mmm;
} (other.newtargx, other.newtargy, 32);
|
|
716
|
}
|
|
717
|
}
|
|
718
|
timer++;
|
|
719
|
if (noellePuzzle.x == newtargx && noellePuzzle.y == newtargy)
|
|
720
|
{
|
|
721
|
obj_caterpillarchara.x = newtargx;
|
|
722
|
obj_caterpillarchara.y = newtargy;
|
|
723
|
obj_caterpillarchara.visible = true;
|
|
724
|
with (obj_caterpillarchara)
|
|
725
|
scr_caterpillar_facingscr_caterpillar_facing
function scr_caterpillar_facing(arg0)
{
with (obj_caterpillarchara)
{
for (i = 0; i < 25; i += 1)
facing[i] = arg0;
}
} (1);
|
|
726
|
with (obj_caterpillarchara)
|
|
727
|
scr_caterpillar_interpolatescr_caterpillar_interpolate
function scr_caterpillar_interpolate()
{
_newfacing = scr_facing_letter_to_number(scr_get_cardinal_direction(point_direction(x, y, obj_mainchara.x, obj_mainchara.y)));
remx[0] = obj_mainchara.x;
remy[0] = obj_mainchara.y;
facing[0] = _newfacing;
for (_iaia = target; _iaia > 0; _iaia -= 1)
{
remx[_iaia] = lerp(obj_mainchara.x, x, _iaia / target);
if (global.darkzone == 1)
remy[_iaia] = lerp(obj_mainchara.y, y + 16, _iaia / target);
else
remy[_iaia] = lerp(obj_mainchara.y, y + 6, _iaia / target);
facing[_iaia] = _newfacing;
}
} ();
|
|
728
|
noellePuzzle.visible = false;
|
|
729
|
con = 13;
|
|
730
|
}
|
|
731
|
}
|
|
732
|
if (con == 13)
|
|
733
|
{
|
|
734
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("noelle");
|
|
735
|
msgsetloc(0, Face 8* N...Delay 11 Nice teamwork!Wait for inputClose Message"\\E8* N..^1. Nice teamwork!/%", "obj_controller_dw_city_big_2_slash_Step_0_gml_843_0" );
|
|
736
|
d_make();
|
|
737
|
con = 13.5;
|
|
738
|
}
|
|
739
|
if (con == 13.5 && !d_ex())
|
|
740
|
{
|
|
741
|
global.flag[7 disable_menu?] = 0;
|
|
742
|
global.interact = 0;
|
|
743
|
con = 13.6;
|
|
744
|
}
|
|
745
|
if (con == 13.6)
|
|
746
|
{
|
|
747
|
if (obj_mainchara.x > 1000 || obj_mainchara.x < 420)
|
|
748
|
{
|
|
749
|
global.interact = 1;
|
|
750
|
global.msc = 1163;
|
|
751
|
scr_textscr_text
function 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);
|
|
752
|
d_make();
|
|
753
|
con = 14;
|
|
754
|
}
|
|
755
|
}
|
|
756
|
if (con == 14 && !d_ex())
|
|
757
|
{
|
|
758
|
snd_play(snd_ominous);
|
|
759
|
global.flag[915 snowgrave_plot] = 4;
|
|
760
|
global.interact = 0;
|
|
761
|
con++;
|
|
762
|
}
|
|
763
|
if (con == 20)
|
|
764
|
{
|
|
765
|
if (!i_ex(d))
|
|
766
|
con++;
|
|
767
|
}
|
|
768
|
if (con == 21)
|
|
769
|
{
|
|
770
|
obj_mainchara.x = 876;
|
|
771
|
global.facing = 3;
|
|
772
|
global.interact = 0;
|
|
773
|
con = 10;
|
|
774
|
}
|
|
775
|
}
|
|
776
|
if (weird_prompt && !d_ex())
|
|
777
|
{
|
|
778
|
weird_prompt = false;
|
|
779
|
myinteract = 3;
|
|
780
|
global.interact = 1;
|
|
781
|
global.msc = 1193;
|
|
782
|
scr_textscr_text
function 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);
|
|
783
|
d_make();
|
|
784
|
}
|
|
785
|
if (myinteract == 3)
|
|
786
|
{
|
|
787
|
if (!d_ex())
|
|
788
|
{
|
|
789
|
global.interact = 0;
|
|
790
|
myinteract = 0;
|
|
791
|
with (obj_mainchara)
|
|
792
|
onebuffer = 3;
|
|
793
|
}
|
|
794
|
}
|