|
1
|
if (!init)
|
|
2
|
{
|
|
3
|
if (i_ex(obj_mainchara))
|
|
4
|
{
|
|
5
|
init = true;
|
|
6
|
var loader = instance_create(0, 0, obj_homealone_vent_loader);
|
|
7
|
loader.load_room = 233;
|
|
8
|
loader.load_vent = "basement";
|
|
9
|
}
|
|
10
|
else
|
|
11
|
{
|
|
12
|
init = true;
|
|
13
|
}
|
|
14
|
}
|
|
15
|
if (!i_ex(obj_homealone_heart))
|
|
16
|
exit;
|
|
17
|
if (!init_heart)
|
|
18
|
{
|
|
19
|
with (obj_homealone_heart)
|
|
20
|
cutscene = 1;
|
|
21
|
obj_homealone_heart.depth = overlay.depth + 10;
|
|
22
|
init_heart = true;
|
|
23
|
with (overlay)
|
|
24
|
set_heart_target(568);
|
|
25
|
if (scr_sideb_active() && global.plot == 63)
|
|
26
|
{
|
|
27
|
with (vent_block)
|
|
28
|
instance_destroy();
|
|
29
|
heart_vent_cover = scr_markerscr_marker
function scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (469, 49, spr_noellehouse_vent_basement_cover);
|
|
30
|
vent_cover.visible = 0;
|
|
31
|
susie_alone_marker = scr_markerscr_marker
function scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (354, 100, spr_susie_walk_left_lw_lookback);
|
|
32
|
with (susie_alone_marker)
|
|
33
|
scr_depthscr_depth
function scr_depth(arg0 = id, arg1 = 0)
{
with (arg0)
depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10));
} ();
|
|
34
|
susie_alone_anim = true;
|
|
35
|
var x_offset = 80;
|
|
36
|
var _present_pile = scr_markerscr_marker
function scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (310 + x_offset, 50, spr_noellehouse_basement_present_pile);
|
|
37
|
with (_present_pile)
|
|
38
|
scr_depthscr_depth
function scr_depth(arg0 = id, arg1 = 0)
{
with (arg0)
depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10));
} ();
|
|
39
|
_present_pile = scr_markerscr_marker
function scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (306 + x_offset, 90, spr_noellehouse_basement_present_pile);
|
|
40
|
with (_present_pile)
|
|
41
|
scr_depthscr_depth
function scr_depth(arg0 = id, arg1 = 0)
{
with (arg0)
depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10));
} ();
|
|
42
|
var _present_block = instance_create(338 + x_offset, 50, obj_homealone_solid);
|
|
43
|
with (_present_block)
|
|
44
|
image_yscale = 1.4;
|
|
45
|
_present_block = instance_create(332 + x_offset, 76, obj_homealone_solid);
|
|
46
|
with (_present_block)
|
|
47
|
image_yscale = 1;
|
|
48
|
_present_block = instance_create(336 + x_offset, 86, obj_homealone_solid);
|
|
49
|
with (_present_block)
|
|
50
|
image_yscale = 1.6;
|
|
51
|
_present_block = instance_create(326 + x_offset, 110, obj_homealone_solid);
|
|
52
|
with (_present_block)
|
|
53
|
image_yscale = 1;
|
|
54
|
_present_block = instance_create(332 + x_offset, 130, obj_homealone_solid);
|
|
55
|
with (_present_block)
|
|
56
|
image_yscale = 1.5;
|
|
57
|
with (santa)
|
|
58
|
instance_destroy();
|
|
59
|
var _susie_convo = instance_create(0, 0, obj_homealone_basement_convo_susie);
|
|
60
|
with (_susie_convo)
|
|
61
|
start_convo();
|
|
62
|
heart_vent_check = true;
|
|
63
|
exit;
|
|
64
|
}
|
|
65
|
else
|
|
66
|
{
|
|
67
|
breaker_wait = true;
|
|
68
|
with (obj_homealone_vent_hidden)
|
|
69
|
instance_destroy();
|
|
70
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
}
function scr_flag_name_get(arg0)
{
if (!global.is_console)
{
var v = global.flagname[arg0];
return is_undefined(v) ? "*unknown flag*" : v;
}
else
{
return "";
}
}
function scr_getflag(arg0)
{
return scr_flag_get(arg0);
} (7) == 0)
|
|
71
|
scr_flag_setscr_flag_set
function scr_flag_set(arg0, arg1)
{
global.flag[arg0] = arg1;
if (scr_debug())
show_debug_message("*** flag [" + string(arg0) + "] updated: " + string(arg1) + " | " + scr_flag_name_get(arg0));
}
function scr_setflag(arg0, arg1)
{
scr_flag_set(arg0, arg1);
} (7, 1);
|
|
72
|
if (scr_debugscr_debug
function scr_debug()
{
if (global.debug == 1)
return 1;
} ())
|
|
73
|
{
|
|
74
|
if (global.tempflag[90] == 1)
|
|
75
|
{
|
|
76
|
breaker_wait = false;
|
|
77
|
heart_fall_marker.visible = 0;
|
|
78
|
angel_marker.visible = 0;
|
|
79
|
with (overlay)
|
|
80
|
set_alpha(0.5);
|
|
81
|
overlay.angel_target = -4;
|
|
82
|
overlay.angel_overlay.visible = 0;
|
|
83
|
tree_marker.image_index = 8;
|
|
84
|
susie_marker.visible = 0;
|
|
85
|
noelle_marker.visible = 0;
|
|
86
|
camera_pan = false;
|
|
87
|
heart_catch_scene = true;
|
|
88
|
global.interact = 1;
|
|
89
|
with (convo_controller)
|
|
90
|
instance_destroy();
|
|
91
|
camera_set_view_pos(view_get_camera(0), camera_x_pos_left, cameray());
|
|
92
|
angel_marker.x = 122;
|
|
93
|
angel_marker.y = 132;
|
|
94
|
}
|
|
95
|
}
|
|
96
|
}
|
|
97
|
}
|
|
98
|
if (heart_vent_check)
|
|
99
|
{
|
|
100
|
var vent_overlap = false;
|
|
101
|
if (point_in_rectangle(obj_homealone_heart.x, obj_homealone_heart.y, 475, 66, 490, 80))
|
|
102
|
{
|
|
103
|
heart_vent_cover.depth = obj_homealone_heart.depth - 10;
|
|
104
|
vent_loader.y = vent_loader.ystart;
|
|
105
|
vent_block_top.y = vent_block_top.ystart;
|
|
106
|
vent_block_left.y = vent_block_left.ystart;
|
|
107
|
vent_block_right.y = vent_block_right.ystart;
|
|
108
|
}
|
|
109
|
if (point_in_rectangle(obj_homealone_heart.x, obj_homealone_heart.y, 460, 66, 474, 80))
|
|
110
|
{
|
|
111
|
heart_vent_cover.depth = obj_homealone_heart.depth + 10;
|
|
112
|
vent_loader.y = vent_loader.ystart - 100;
|
|
113
|
vent_block_top.y = vent_block_top.ystart + 106;
|
|
114
|
vent_block_left.y = vent_block_left.ystart - 100;
|
|
115
|
vent_block_right.y = vent_block_right.ystart - 100;
|
|
116
|
}
|
|
117
|
if (point_in_rectangle(obj_homealone_heart.x, obj_homealone_heart.y, 491, 40, 507, 80))
|
|
118
|
{
|
|
119
|
heart_vent_cover.depth = obj_homealone_heart.depth + 10;
|
|
120
|
vent_loader.y = vent_loader.ystart - 100;
|
|
121
|
vent_block_top.y = vent_block_top.ystart + 106;
|
|
122
|
vent_block_left.y = vent_block_left.ystart - 100;
|
|
123
|
vent_block_right.y = vent_block_right.ystart - 100;
|
|
124
|
}
|
|
125
|
if (susie_alone_anim)
|
|
126
|
{
|
|
127
|
susie_alone_anim_timer++;
|
|
128
|
if (susie_alone_anim_timer < 288)
|
|
129
|
{
|
|
130
|
if ((susie_alone_anim_timer % 48) == 1)
|
|
131
|
{
|
|
132
|
susie_alone_marker.sprite_index = spr_susie_walk_left_lw;
|
|
133
|
if ((susie_alone_anim_timer % 96) == 1)
|
|
134
|
susie_alone_marker.sprite_index = spr_susie_walk_left_lw_lookback;
|
|
135
|
}
|
|
136
|
}
|
|
137
|
else
|
|
138
|
{
|
|
139
|
if (susie_alone_anim_timer == 288)
|
|
140
|
{
|
|
141
|
susie_alone_marker.sprite_index = spr_susie_head_scratch;
|
|
142
|
susie_alone_marker.image_speed = 0;
|
|
143
|
susie_alone_marker.y -= 2;
|
|
144
|
}
|
|
145
|
if ((susie_alone_anim_timer % 48) == 1)
|
|
146
|
{
|
|
147
|
susie_alone_marker.image_speed = 0;
|
|
148
|
if ((susie_alone_anim_timer % 96) == 1)
|
|
149
|
susie_alone_marker.image_speed = 0.2;
|
|
150
|
}
|
|
151
|
if (susie_alone_anim_timer == 576)
|
|
152
|
{
|
|
153
|
susie_alone_anim_timer = 0;
|
|
154
|
susie_alone_marker.sprite_index = spr_susie_walk_left_lw_lookback;
|
|
155
|
susie_alone_marker.image_speed = 0;
|
|
156
|
susie_alone_marker.image_index = 0;
|
|
157
|
susie_alone_marker.y = susie_alone_marker.ystart;
|
|
158
|
}
|
|
159
|
}
|
|
160
|
}
|
|
161
|
}
|
|
162
|
if (susie_alone)
|
|
163
|
{
|
|
164
|
if (!d_ex())
|
|
165
|
exit;
|
|
166
|
susie_alone_timer--;
|
|
167
|
if (susie_alone_timer <= 0)
|
|
168
|
{
|
|
169
|
susie_alone_timer = 900;
|
|
170
|
var _convo = susie_convo[susie_convo_index];
|
|
171
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "gerson" || _speaker == "ger" || _speaker == "gers")
global.typer = 85;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
... ("susie");
|
|
172
|
global.fc = 0;
|
|
173
|
global.fe = 0;
|
|
174
|
msgset(0, _convo);
|
|
175
|
var d = d_make();
|
|
176
|
d.zurasu = 1;
|
|
177
|
d.stay = 5;
|
|
178
|
}
|
|
179
|
exit;
|
|
180
|
}
|
|
181
|
if (!drop_vent_blocked && obj_homealone_heart.y >= 70 && !heart_vent_check)
|
|
182
|
{
|
|
183
|
drop_vent = true;
|
|
184
|
drop_vent_blocked = true;
|
|
185
|
}
|
|
186
|
if (drop_vent)
|
|
187
|
{
|
|
188
|
drop_vent = false;
|
|
189
|
snd_play(snd_wing);
|
|
190
|
with (vent_block_left)
|
|
191
|
instance_destroy();
|
|
192
|
with (vent_block_right)
|
|
193
|
instance_destroy();
|
|
194
|
with (vent_cover)
|
|
195
|
{
|
|
196
|
depth = 700000;
|
|
197
|
image_index = 1;
|
|
198
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("y", y, y + 10, 8, 3, "in");
|
|
199
|
}
|
|
200
|
start_bgm();
|
|
201
|
}
|
|
202
|
if (camera_pan)
|
|
203
|
{
|
|
204
|
camera_set_view_pos(view_get_camera(0), camera_x_pos, cameray());
|
|
205
|
if (!camera_pan_active)
|
|
206
|
{
|
|
207
|
if (obj_homealone_heart.x < 320)
|
|
208
|
{
|
|
209
|
if (camera_x_pos != camera_x_pos_left)
|
|
210
|
{
|
|
211
|
camera_pan_active = true;
|
|
212
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("camera_x_pos", camera_x_pos, camera_x_pos_left, 30, 3, "out");
|
|
213
|
scr_delay_var("camera_pan_active", false, 31);
|
|
214
|
}
|
|
215
|
}
|
|
216
|
else if (camera_x_pos != camera_x_pos_right)
|
|
217
|
{
|
|
218
|
camera_pan_active = true;
|
|
219
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("camera_x_pos", camera_x_pos, camera_x_pos_right, 30, 3, "out");
|
|
220
|
scr_delay_var("camera_pan_active", false, 31);
|
|
221
|
}
|
|
222
|
}
|
|
223
|
}
|
|
224
|
if (!convo_active && camera_x_pos == camera_x_pos_left)
|
|
225
|
{
|
|
226
|
convo_timer++;
|
|
227
|
if (lost_power || made_noise)
|
|
228
|
{
|
|
229
|
convo_active = true;
|
|
230
|
exit;
|
|
231
|
}
|
|
232
|
if (convo_timer >= 90)
|
|
233
|
{
|
|
234
|
convo_active = true;
|
|
235
|
with (convo_controller)
|
|
236
|
start_convo();
|
|
237
|
}
|
|
238
|
}
|
|
239
|
if (breaker_wait)
|
|
240
|
{
|
|
241
|
if (present_pushable.x >= 166 || present_pushable.x <= 115)
|
|
242
|
{
|
|
243
|
breaker_wait_timer++;
|
|
244
|
if (breaker_wait_timer == 1)
|
|
245
|
{
|
|
246
|
open_breaker();
|
|
247
|
if (obj_homealone_heart.y < 77)
|
|
248
|
{
|
|
249
|
snd_play(snd_bump);
|
|
250
|
global.interact = 1;
|
|
251
|
with (obj_homealone_heart)
|
|
252
|
{
|
|
253
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("x", x, x + 60, 12, 3, "out");
|
|
254
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("y", y, y + 30, 12, 3, "out");
|
|
255
|
}
|
|
256
|
}
|
|
257
|
}
|
|
258
|
if (breaker_wait_timer == 15)
|
|
259
|
{
|
|
260
|
if (global.interact == 1 && !flicker_lights)
|
|
261
|
global.interact = 0;
|
|
262
|
breaker_wait = false;
|
|
263
|
}
|
|
264
|
}
|
|
265
|
}
|
|
266
|
if (breaker_open)
|
|
267
|
{
|
|
268
|
breaker_open_timer++;
|
|
269
|
if (breaker_open_timer == 1)
|
|
270
|
{
|
|
271
|
snd_play(snd_wing);
|
|
272
|
with (breaker_marker)
|
|
273
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("image_index", 0, 2, 6, 3, "out");
|
|
274
|
}
|
|
275
|
if (breaker_open_timer == 7)
|
|
276
|
{
|
|
277
|
breaker_open = false;
|
|
278
|
var _breaker = instance_create(breaker_marker.x + 10, breaker_marker.y + 8, obj_homealone_basement_breaker);
|
|
279
|
_breaker.image_index = 2;
|
|
280
|
_breaker.depth = breaker_marker.depth + 10;
|
|
281
|
}
|
|
282
|
}
|
|
283
|
if (flicker_lights)
|
|
284
|
{
|
|
285
|
flicker_lights_timer++;
|
|
286
|
if (flicker_lights_timer == 1)
|
|
287
|
{
|
|
288
|
with (overlay)
|
|
289
|
set_alpha(0.5);
|
|
290
|
}
|
|
291
|
if (flicker_lights_timer == flicker_lights_time)
|
|
292
|
{
|
|
293
|
flicker_lights_count++;
|
|
294
|
flicker_lights_time -= 2;
|
|
295
|
if (flicker_lights_count > 3)
|
|
296
|
{
|
|
297
|
flight_lights = false;
|
|
298
|
}
|
|
299
|
else
|
|
300
|
{
|
|
301
|
flicker_lights_timer = 0;
|
|
302
|
with (overlay)
|
|
303
|
set_alpha(0);
|
|
304
|
}
|
|
305
|
}
|
|
306
|
}
|
|
307
|
if (leave_couch)
|
|
308
|
{
|
|
309
|
if (!convo_controller.convo_wait)
|
|
310
|
exit;
|
|
311
|
leave_couch_timer++;
|
|
312
|
if (leave_couch_timer == 1)
|
|
313
|
{
|
|
314
|
susie_marker.sprite_index = spr_susie_walk_down_lw;
|
|
315
|
scr_lerp_var_instance(susie_marker, "y", susie_marker.y, susie_marker.y - 8, 3);
|
|
316
|
}
|
|
317
|
if (leave_couch_timer == 3)
|
|
318
|
{
|
|
319
|
noelle_marker.sprite_index = spr_noelle_walk_down_lw;
|
|
320
|
scr_lerp_var_instance(noelle_marker, "y", noelle_marker.y, noelle_marker.y - 8, 3);
|
|
321
|
}
|
|
322
|
if (leave_couch_timer == 4)
|
|
323
|
{
|
|
324
|
snd_play(snd_wing);
|
|
325
|
scr_lerp_var_instance(susie_marker, "y", susie_marker.y, susie_marker.y + 8, 7);
|
|
326
|
}
|
|
327
|
if (leave_couch_timer == 6)
|
|
328
|
{
|
|
329
|
snd_play(snd_wing);
|
|
330
|
scr_lerp_var_instance(noelle_marker, "y", noelle_marker.y, noelle_marker.y + 9, 7);
|
|
331
|
}
|
|
332
|
if (leave_couch_timer == 11)
|
|
333
|
susie_marker.sprite_index = spr_susie_walk_right_lw;
|
|
334
|
if (leave_couch_timer == 13)
|
|
335
|
noelle_marker.sprite_index = spr_noelle_walk_left_lw;
|
|
336
|
if (leave_couch_timer == 40)
|
|
337
|
{
|
|
338
|
susie_marker.image_speed = 0.2;
|
|
339
|
scr_lerp_var_instance(susie_marker, "x", susie_marker.x, view_wport[0] + 20, 160);
|
|
340
|
noelle_marker.sprite_index = spr_noelle_walk_right_lw;
|
|
341
|
noelle_marker.image_speed = 0.2;
|
|
342
|
scr_lerp_var_instance(noelle_marker, "x", noelle_marker.x, view_wport[0] + 40, 160);
|
|
343
|
}
|
|
344
|
if (leave_couch_timer >= 105)
|
|
345
|
{
|
|
346
|
leave_couch = false;
|
|
347
|
enable_tree_fall();
|
|
348
|
}
|
|
349
|
}
|
|
350
|
if (tree_fall)
|
|
351
|
{
|
|
352
|
if (obj_homealone_heart.x < 300)
|
|
353
|
exit;
|
|
354
|
if (!tree_heart_stop)
|
|
355
|
{
|
|
356
|
tree_heart_stop = true;
|
|
357
|
tree_sprite_timer = 15;
|
|
358
|
lose_control();
|
|
359
|
with (overlay)
|
|
360
|
heart_glow_hide();
|
|
361
|
with (obj_homealone_heart)
|
|
362
|
visible = 0;
|
|
363
|
noelle_marker.sprite_index = spr_noelle_walk_left_flashlight;
|
|
364
|
noelle_marker.x = 400;
|
|
365
|
noelle_marker.y = 92;
|
|
366
|
noelle_marker.depth = boombox.depth - 10;
|
|
367
|
noelle_flashlight.x = noelle_marker.x;
|
|
368
|
noelle_flashlight.y = noelle_marker.y + 30;
|
|
369
|
var no_target = noelle_marker;
|
|
370
|
with (noelle_flashlight)
|
|
371
|
scr_sticktoscr_stickto
function scr_stickto(arg0, arg1)
{
_stickto = instance_create(0, 0, obj_stickto);
_stickto.stickingobj = id;
_stickto.stucktoobj = arg0;
_stickto.relativedepth = arg1;
with (_stickto)
event_user(0);
return _stickto;
} (no_target, -20);
|
|
372
|
overlay.noelle_light_target = noelle_flashlight;
|
|
373
|
overlay.noelle_light_mask = 5831;
|
|
374
|
susie_marker.sprite_index = spr_susie_walk_left_flashlight;
|
|
375
|
susie_marker.x = 394;
|
|
376
|
susie_marker.y = 95;
|
|
377
|
susie_marker.image_speed = 0;
|
|
378
|
susie_flashlight.x = susie_marker.x;
|
|
379
|
susie_flashlight.y = susie_marker.y + 26;
|
|
380
|
overlay.susie_light_target = susie_flashlight;
|
|
381
|
overlay.susie_light_mask = 5831;
|
|
382
|
var su_target = susie_marker;
|
|
383
|
with (susie_flashlight)
|
|
384
|
scr_sticktoscr_stickto
function scr_stickto(arg0, arg1)
{
_stickto = instance_create(0, 0, obj_stickto);
_stickto.stickingobj = id;
_stickto.stucktoobj = arg0;
_stickto.relativedepth = arg1;
with (_stickto)
event_user(0);
return _stickto;
} (su_target, -1);
|
|
385
|
susie_marker.image_speed = 0.2;
|
|
386
|
scr_lerp_var_instance(susie_marker, "x", susie_marker.x, 354, 30);
|
|
387
|
with (susie_marker)
|
|
388
|
{
|
|
389
|
scr_delay_var("image_index", 0, 31);
|
|
390
|
scr_delay_var("image_speed", 0, 31);
|
|
391
|
scr_delay_var("sprite_index", 4331, 31);
|
|
392
|
}
|
|
393
|
}
|
|
394
|
tree_sprite_timer--;
|
|
395
|
if (tree_sprite_timer <= 0)
|
|
396
|
{
|
|
397
|
tree_sprite_index++;
|
|
398
|
if (tree_sprite_index < array_length(tree_sprite_timestamps))
|
|
399
|
{
|
|
400
|
tree_sprite_timer = tree_sprite_timestamps[tree_sprite_index] / tree_sprite_modifier;
|
|
401
|
tree_marker.image_index = tree_sprite_index;
|
|
402
|
var angles = [0, 0, 0, 12, 26];
|
|
403
|
var x_offsets = [0, 4, 0, -8, -28];
|
|
404
|
if (tree_sprite_index == 1)
|
|
405
|
snd_play(snd_wing);
|
|
406
|
if (tree_sprite_index < 5)
|
|
407
|
{
|
|
408
|
angel_marker.x = angel_marker.xstart + x_offsets[tree_sprite_index];
|
|
409
|
angel_marker.image_angle = angles[tree_sprite_index];
|
|
410
|
}
|
|
411
|
else
|
|
412
|
{
|
|
413
|
heart_fall = true;
|
|
414
|
angel_fall = true;
|
|
415
|
}
|
|
416
|
}
|
|
417
|
else
|
|
418
|
{
|
|
419
|
tree_fall = false;
|
|
420
|
start_basement_scene();
|
|
421
|
}
|
|
422
|
}
|
|
423
|
}
|
|
424
|
if (heart_fall)
|
|
425
|
{
|
|
426
|
heart_fall_timer++;
|
|
427
|
if (heart_fall_timer == 1)
|
|
428
|
{
|
|
429
|
snd_play(snd_jump);
|
|
430
|
with (heart_fall_marker)
|
|
431
|
{
|
|
432
|
vspeed = -2;
|
|
433
|
hspeed = -10;
|
|
434
|
gravity = 1;
|
|
435
|
image_angle = 45;
|
|
436
|
}
|
|
437
|
var _target = heart_fall_marker;
|
|
438
|
with (overlay)
|
|
439
|
{
|
|
440
|
set_heart_target(_target);
|
|
441
|
set_fall_mode(true);
|
|
442
|
}
|
|
443
|
}
|
|
444
|
if (heart_fall_timer == 12)
|
|
445
|
{
|
|
446
|
snd_play(snd_bump);
|
|
447
|
with (heart_fall_marker)
|
|
448
|
{
|
|
449
|
friction = 1;
|
|
450
|
gravity = 0;
|
|
451
|
vspeed = 0;
|
|
452
|
}
|
|
453
|
}
|
|
454
|
if (heart_fall_timer == 90)
|
|
455
|
heart_fall = false;
|
|
456
|
}
|
|
457
|
if (angel_fall)
|
|
458
|
{
|
|
459
|
angel_fall_timer++;
|
|
460
|
if (angel_fall_timer == 1)
|
|
461
|
{
|
|
462
|
with (angel_marker)
|
|
463
|
{
|
|
464
|
depth = 7000;
|
|
465
|
vspeed = -4;
|
|
466
|
hspeed = -8;
|
|
467
|
gravity = 1;
|
|
468
|
}
|
|
469
|
}
|
|
470
|
if (angel_fall_timer == 16)
|
|
471
|
{
|
|
472
|
with (angel_marker)
|
|
473
|
{
|
|
474
|
hspeed = -6;
|
|
475
|
friction = 1;
|
|
476
|
}
|
|
477
|
}
|
|
478
|
if (angel_fall_timer == 17)
|
|
479
|
{
|
|
480
|
with (heart_fall_marker)
|
|
481
|
visible = 0;
|
|
482
|
with (angel_marker)
|
|
483
|
{
|
|
484
|
gravity = 0;
|
|
485
|
vspeed = 0;
|
|
486
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("image_angle", image_angle, 0, 12, -2, "out");
|
|
487
|
}
|
|
488
|
with (overlay)
|
|
489
|
{
|
|
490
|
set_fall_mode(false);
|
|
491
|
set_heart_target(568);
|
|
492
|
}
|
|
493
|
}
|
|
494
|
if (angel_fall_timer == 90)
|
|
495
|
angel_fall = false;
|
|
496
|
}
|
|
497
|
if (basement_scene)
|
|
498
|
{
|
|
499
|
basement_timer++;
|
|
500
|
if (basement_timer == 1)
|
|
501
|
{
|
|
502
|
overlay.angel_overlay.visible = 0;
|
|
503
|
overlay.angel_target = -4;
|
|
504
|
noelle_marker.image_speed = 0.2;
|
|
505
|
noelle_marker.depth = boombox.depth - 10;
|
|
506
|
scr_lerp_var_instance(noelle_marker, "x", noelle_marker.x, 180, 100);
|
|
507
|
with (noelle_marker)
|
|
508
|
{
|
|
509
|
scr_delay_var("image_index", 0, 101);
|
|
510
|
scr_delay_var("image_speed", 0, 101);
|
|
511
|
scr_delay_var("sprite_index", 1037, 116);
|
|
512
|
scr_delay_var("image_speed", 0.1, 116);
|
|
513
|
}
|
|
514
|
susie_marker.sprite_index = spr_susie_walk_left_flashlight;
|
|
515
|
susie_marker.image_speed = 0.2;
|
|
516
|
susie_marker.depth = noelle_marker.depth - 10;
|
|
517
|
scr_lerp_var_instance(susie_marker, "x", susie_marker.x, 85, 100);
|
|
518
|
with (susie_marker)
|
|
519
|
{
|
|
520
|
scr_delay_var("image_index", 0, 101);
|
|
521
|
scr_delay_var("image_speed", 0, 101);
|
|
522
|
scr_delay_var("sprite_index", 5846, 131);
|
|
523
|
scr_delay_var("image_speed", 0.04, 131);
|
|
524
|
}
|
|
525
|
angel_marker.depth = susie_marker.depth + 10;
|
|
526
|
}
|
|
527
|
if (basement_timer == 116)
|
|
528
|
{
|
|
529
|
with (obj_stickto)
|
|
530
|
instance_destroy();
|
|
531
|
with (noelle_flashlight)
|
|
532
|
{
|
|
533
|
scr_stickto_stopscr_stickto_stop
function scr_stickto_stop()
{
if (variable_instance_exists(id, "_stickto"))
{
with (_stickto)
instance_destroy();
}
} ();
|
|
534
|
image_angle = -25;
|
|
535
|
x += 4;
|
|
536
|
y -= 6;
|
|
537
|
}
|
|
538
|
}
|
|
539
|
if (basement_timer == 131)
|
|
540
|
{
|
|
541
|
susie_interactable = instance_create(0, 0, obj_homealone_basement_actor);
|
|
542
|
var _target = susie_marker;
|
|
543
|
with (susie_interactable)
|
|
544
|
init_actor(_target, "susie");
|
|
545
|
susie_marker.visible = 0;
|
|
546
|
noelle_interactable = instance_create(0, 0, obj_homealone_basement_actor);
|
|
547
|
_target = noelle_marker;
|
|
548
|
with (noelle_interactable)
|
|
549
|
init_actor(_target, "noelle");
|
|
550
|
noelle_marker.visible = 0;
|
|
551
|
with (susie_flashlight)
|
|
552
|
{
|
|
553
|
scr_stickto_stopscr_stickto_stop
function scr_stickto_stop()
{
if (variable_instance_exists(id, "_stickto"))
{
with (_stickto)
instance_destroy();
}
} ();
|
|
554
|
x -= 3;
|
|
555
|
y += 8;
|
|
556
|
}
|
|
557
|
obj_homealone_heart.x = angel_marker.x - 4;
|
|
558
|
obj_homealone_heart.y = angel_marker.y - 2;
|
|
559
|
obj_homealone_heart.sprite_index = angel_marker.sprite_index;
|
|
560
|
obj_homealone_heart.angel_mode = true;
|
|
561
|
obj_homealone_heart.visible = 1;
|
|
562
|
angel_marker.visible = 0;
|
|
563
|
regain_control();
|
|
564
|
with (overlay)
|
|
565
|
set_angel_mode();
|
|
566
|
}
|
|
567
|
if (susie_surprise)
|
|
568
|
{
|
|
569
|
susie_surprise_timer--;
|
|
570
|
if (susie_surprise_timer <= 0)
|
|
571
|
{
|
|
572
|
susie_surprise_index++;
|
|
573
|
if (susie_surprise_index < array_length(susie_surprise_timestamps))
|
|
574
|
{
|
|
575
|
susie_surprise_timer = susie_surprise_timestamps[susie_surprise_index] / 30;
|
|
576
|
susie_marker.image_index = susie_surprise_index;
|
|
577
|
if (susie_surprise_index == 1)
|
|
578
|
{
|
|
579
|
snd_play(snd_sussurprise);
|
|
580
|
susie_flashlight.sprite_index = spr_flashlight_beam_wall_1;
|
|
581
|
susie_flashlight.visible = 1;
|
|
582
|
susie_flashlight.x = susie_marker.x - 2;
|
|
583
|
susie_flashlight.y = susie_marker.y + 34;
|
|
584
|
susie_flashlight.depth = 6010;
|
|
585
|
susie_flashlight.image_angle = 0;
|
|
586
|
overlay.susie_light_mask = 5831;
|
|
587
|
}
|
|
588
|
if (susie_surprise_index == 2)
|
|
589
|
{
|
|
590
|
susie_flashlight.y -= 14;
|
|
591
|
susie_flashlight.x -= 4;
|
|
592
|
susie_flashlight.image_angle = -24;
|
|
593
|
}
|
|
594
|
if (susie_surprise_index == 3)
|
|
595
|
{
|
|
596
|
susie_flashlight.y -= 2;
|
|
597
|
susie_flashlight.x += 2;
|
|
598
|
susie_flashlight.image_angle -= 8;
|
|
599
|
}
|
|
600
|
if (susie_surprise_index == 4)
|
|
601
|
{
|
|
602
|
susie_flashlight.y += 2;
|
|
603
|
susie_flashlight.x -= 2;
|
|
604
|
susie_flashlight.image_angle += 8;
|
|
605
|
if (noelle_surprise)
|
|
606
|
susie_surprise = false;
|
|
607
|
}
|
|
608
|
if (susie_surprise_index == 5)
|
|
609
|
{
|
|
610
|
susie_flashlight.x += 6;
|
|
611
|
susie_flashlight.image_angle -= 24;
|
|
612
|
}
|
|
613
|
if (susie_surprise_index == 6)
|
|
614
|
susie_flashlight.x += 10;
|
|
615
|
if (susie_surprise_index == 7)
|
|
616
|
{
|
|
617
|
susie_flashlight.x -= 1;
|
|
618
|
with (overlay)
|
|
619
|
heart_glow_hide();
|
|
620
|
snd_play(snd_hurt1);
|
|
621
|
snd_play(snd_jump);
|
|
622
|
with (obj_homealone_heart)
|
|
623
|
scr_jump_to_pointscr_jump_to_point
function scr_jump_to_point(arg0, arg1, arg2, arg3, arg4 = 0)
{
var ___jump = scr_jump_to_point_sprite(arg0, arg1, arg2, arg3, 0, 0);
with (___jump)
{
trackalpha = arg4;
trackblend = arg4;
trackindex = arg4;
tracksprite = arg4;
trackangle = arg4;
}
return ___jump;
} (179, 128, 15, 12);
|
|
624
|
scr_delay_var("noelle_surprise", true, 13);
|
|
625
|
}
|
|
626
|
if (susie_surprise_index == 8)
|
|
627
|
{
|
|
628
|
susie_flashlight.y -= 4;
|
|
629
|
susie_flashlight.x -= 4;
|
|
630
|
}
|
|
631
|
}
|
|
632
|
else
|
|
633
|
{
|
|
634
|
susie_surprise = false;
|
|
635
|
}
|
|
636
|
}
|
|
637
|
}
|
|
638
|
if (susie_face_right)
|
|
639
|
{
|
|
640
|
susie_face_right = false;
|
|
641
|
susie_marker.sprite_index = spr_susie_walk_right_flashlight;
|
|
642
|
susie_marker.image_index = 0;
|
|
643
|
susie_flashlight.sprite_index = spr_flashlight_beam_ground_right;
|
|
644
|
susie_flashlight.x = susie_marker.x - 2;
|
|
645
|
susie_flashlight.y = susie_marker.y + 34;
|
|
646
|
susie_flashlight.x += 26;
|
|
647
|
susie_flashlight.y -= 7;
|
|
648
|
susie_flashlight.image_angle = 0;
|
|
649
|
susie_flashlight.depth = 6010;
|
|
650
|
overlay.susie_light_mask = 3678;
|
|
651
|
}
|
|
652
|
if (noelle_face_left)
|
|
653
|
{
|
|
654
|
noelle_face_left = false;
|
|
655
|
noelle_marker.sprite_index = spr_noelle_walk_left_flashlight;
|
|
656
|
noelle_marker.image_index = 0;
|
|
657
|
noelle_flashlight_torch.visible = 0;
|
|
658
|
noelle_flashlight.visible = 1;
|
|
659
|
noelle_flashlight.sprite_index = spr_flashlight_beam_ground_left;
|
|
660
|
noelle_flashlight.image_angle = 0;
|
|
661
|
noelle_flashlight.x = noelle_marker.x;
|
|
662
|
noelle_flashlight.y = noelle_marker.y + 30;
|
|
663
|
overlay.noelle_light_mask = 1407;
|
|
664
|
}
|
|
665
|
if (noelle_surprise)
|
|
666
|
{
|
|
667
|
noelle_surprise_timer--;
|
|
668
|
if (noelle_surprise_timer <= 0)
|
|
669
|
{
|
|
670
|
noelle_surprise_index++;
|
|
671
|
if (noelle_surprise_index < array_length(noelle_surprise_timestamps))
|
|
672
|
{
|
|
673
|
if (noelle_surprise_index == 1)
|
|
674
|
{
|
|
675
|
snd_play(snd_noelle_scared);
|
|
676
|
if (!leave_basement && susie_surprise_index == 0)
|
|
677
|
{
|
|
678
|
susie_surprise = true;
|
|
679
|
susie_marker.sprite_index = spr_susie_flashlight_surprise;
|
|
680
|
susie_marker.image_index = 0;
|
|
681
|
susie_marker.image_speed = 0;
|
|
682
|
}
|
|
683
|
noelle_marker.sprite_index = spr_noelle_jump_scare;
|
|
684
|
noelle_marker.image_index = 0;
|
|
685
|
noelle_marker.image_speed = 0;
|
|
686
|
noelle_flashlight.sprite_index = spr_flashlight_beam_wall_1;
|
|
687
|
noelle_flashlight.image_angle = 0;
|
|
688
|
noelle_flashlight.x = noelle_marker.x;
|
|
689
|
noelle_flashlight.y = noelle_marker.y + 30;
|
|
690
|
overlay.noelle_light_mask = 5831;
|
|
691
|
noelle_flashlight.depth = 6010;
|
|
692
|
}
|
|
693
|
noelle_surprise_timer = noelle_surprise_timestamps[noelle_surprise_index] / 30;
|
|
694
|
noelle_marker.image_index = noelle_surprise_index;
|
|
695
|
if (noelle_surprise_index == 2)
|
|
696
|
{
|
|
697
|
if (!leave_basement)
|
|
698
|
{
|
|
699
|
with (overlay)
|
|
700
|
heart_glow_hide();
|
|
701
|
snd_play(snd_bump);
|
|
702
|
with (obj_homealone_heart)
|
|
703
|
scr_jump_to_pointscr_jump_to_point
function scr_jump_to_point(arg0, arg1, arg2, arg3, arg4 = 0)
{
var ___jump = scr_jump_to_point_sprite(arg0, arg1, arg2, arg3, 0, 0);
with (___jump)
{
trackalpha = arg4;
trackblend = arg4;
trackindex = arg4;
tracksprite = arg4;
trackangle = arg4;
}
return ___jump;
} (143, 128, 12, 8);
|
|
704
|
}
|
|
705
|
noelle_flashlight.image_angle = -20;
|
|
706
|
noelle_flashlight.y -= 10;
|
|
707
|
}
|
|
708
|
if (noelle_surprise_index == 3)
|
|
709
|
{
|
|
710
|
noelle_flashlight_torch.x = noelle_marker.x + 20;
|
|
711
|
noelle_flashlight_torch.y = noelle_marker.y - 10;
|
|
712
|
noelle_flashlight_torch.visible = 1;
|
|
713
|
noelle_flashlight.image_angle = 0;
|
|
714
|
noelle_flashlight.x = noelle_flashlight_torch.x;
|
|
715
|
noelle_flashlight.y = noelle_flashlight_torch.y;
|
|
716
|
if (!leave_basement)
|
|
717
|
{
|
|
718
|
with (noelle_flashlight)
|
|
719
|
{
|
|
720
|
vspeed = -6;
|
|
721
|
gravity = 1;
|
|
722
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("hspeed", -3, 0, 8);
|
|
723
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("image_angle", 0, -90, 8);
|
|
724
|
scr_delay_var("vspeed", 0, 16);
|
|
725
|
scr_delay_var("gravity", 0, 16);
|
|
726
|
}
|
|
727
|
with (noelle_flashlight_torch)
|
|
728
|
{
|
|
729
|
vspeed = -6;
|
|
730
|
gravity = 1;
|
|
731
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("hspeed", -3, 0, 8);
|
|
732
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("image_angle", 0, -90, 8);
|
|
733
|
scr_delay_var("vspeed", 0, 16);
|
|
734
|
scr_delay_var("gravity", 0, 16);
|
|
735
|
}
|
|
736
|
}
|
|
737
|
else
|
|
738
|
{
|
|
739
|
with (noelle_flashlight)
|
|
740
|
{
|
|
741
|
vspeed = -3;
|
|
742
|
gravity = 1;
|
|
743
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("hspeed", -3, 0, 8);
|
|
744
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("image_angle", 0, -180, 8);
|
|
745
|
scr_delay_var("vspeed", 0, 13);
|
|
746
|
scr_delay_var("gravity", 0, 13);
|
|
747
|
scr_delay_var("y", 136, 13);
|
|
748
|
}
|
|
749
|
with (noelle_flashlight_torch)
|
|
750
|
{
|
|
751
|
vspeed = -3;
|
|
752
|
gravity = 1;
|
|
753
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("hspeed", -3, 0, 8);
|
|
754
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("image_angle", 0, -180, 8);
|
|
755
|
scr_delay_var("vspeed", 0, 13);
|
|
756
|
scr_delay_var("gravity", 0, 13);
|
|
757
|
scr_delay_var("y", 136, 13);
|
|
758
|
}
|
|
759
|
}
|
|
760
|
}
|
|
761
|
if (noelle_surprise_index == 12)
|
|
762
|
{
|
|
763
|
if (!leave_basement)
|
|
764
|
{
|
|
765
|
with (noelle_flashlight_torch)
|
|
766
|
{
|
|
767
|
x += 2;
|
|
768
|
y -= 2;
|
|
769
|
}
|
|
770
|
}
|
|
771
|
}
|
|
772
|
}
|
|
773
|
else
|
|
774
|
{
|
|
775
|
noelle_surprise = false;
|
|
776
|
noelle_surprise_timer = 0;
|
|
777
|
noelle_surprise_index = 0;
|
|
778
|
noelle_surprise_timer = -60;
|
|
779
|
noelle_surprise_index = 0;
|
|
780
|
if (!leave_basement)
|
|
781
|
scr_delay_var("progress_scene", true, 16);
|
|
782
|
}
|
|
783
|
}
|
|
784
|
}
|
|
785
|
if (progress_scene)
|
|
786
|
{
|
|
787
|
progress_scene_timer++;
|
|
788
|
var _speed = 4;
|
|
789
|
if (progress_scene_timer == 1)
|
|
790
|
{
|
|
791
|
noelle_marker.sprite_index = spr_noelle_jump_scare_transition;
|
|
792
|
noelle_marker.image_index = 0;
|
|
793
|
with (noelle_flashlight_torch)
|
|
794
|
scr_delay_var("visible", 0, _speed);
|
|
795
|
with (noelle_marker)
|
|
796
|
{
|
|
797
|
scr_delay_var("image_index", 1, _speed);
|
|
798
|
scr_delay_var("image_index", 2, _speed + _speed);
|
|
799
|
}
|
|
800
|
with (noelle_flashlight)
|
|
801
|
{
|
|
802
|
scr_delay_var("image_angle", -60, _speed);
|
|
803
|
scr_delay_var("image_angle", -34, _speed + _speed);
|
|
804
|
}
|
|
805
|
}
|
|
806
|
if (progress_scene_timer == (1 + _speed + _speed + _speed))
|
|
807
|
{
|
|
808
|
progress_scene = false;
|
|
809
|
susie_face_right = true;
|
|
810
|
noelle_face_left = true;
|
|
811
|
regain_control();
|
|
812
|
with (overlay)
|
|
813
|
set_angel_mode();
|
|
814
|
move_wait = true;
|
|
815
|
leave_basement = true;
|
|
816
|
with (convo_controller)
|
|
817
|
final_convo();
|
|
818
|
}
|
|
819
|
}
|
|
820
|
if (leave_basement)
|
|
821
|
{
|
|
822
|
if (move_wait)
|
|
823
|
{
|
|
824
|
if (obj_homealone_heart.walk > 0)
|
|
825
|
{
|
|
826
|
move_count++;
|
|
827
|
if (move_count >= 8)
|
|
828
|
{
|
|
829
|
lose_control();
|
|
830
|
with (convo_controller)
|
|
831
|
interrupt_convo();
|
|
832
|
susie_marker.depth = obj_homealone_heart.depth - 10;
|
|
833
|
noelle_surprise = true;
|
|
834
|
snd_play(snd_sussurprise);
|
|
835
|
susie_marker.sprite_index = spr_susie_shocked_lw;
|
|
836
|
with (susie_marker)
|
|
837
|
scr_shakeobjscr_shakeobj
function scr_shakeobj()
{
var _shakeobj = instance_create(x, y, obj_shakeobj);
_shakeobj.target = id;
if (argument_count >= 1)
{
if (i_ex(argument0))
_shakeobj.target = argument0;
}
if (argument_count >= 2)
{
if (argument1 != -1)
_shakeobj.shakeamt = argument1;
}
if (argument_count >= 3)
{
if (argument2 != -1)
_shakeobj.shakereduct = argument2;
}
with (_shakeobj)
event_user(0);
} ();
|
|
838
|
susie_flashlight_torch.x = susie_marker.x + 12;
|
|
839
|
susie_flashlight_torch.y = susie_marker.y + 8;
|
|
840
|
susie_flashlight_torch.image_angle = -180;
|
|
841
|
susie_flashlight_torch.visible = 1;
|
|
842
|
with (susie_flashlight_torch)
|
|
843
|
{
|
|
844
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("image_angle", -180, 0, 15);
|
|
845
|
hspeed = -1;
|
|
846
|
vspeed = -4;
|
|
847
|
gravity = 1;
|
|
848
|
scr_delay_var("hspeed", 0, 12);
|
|
849
|
scr_delay_var("vspeed", 0, 12);
|
|
850
|
scr_delay_var("gravity", 0, 12);
|
|
851
|
}
|
|
852
|
susie_flashlight.x = susie_flashlight_torch.x + 8;
|
|
853
|
susie_flashlight.y = susie_flashlight_torch.y;
|
|
854
|
susie_flashlight.sprite_index = spr_flashlight_beam_wall_1;
|
|
855
|
susie_flashlight.image_angle = -180;
|
|
856
|
with (susie_flashlight)
|
|
857
|
{
|
|
858
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("image_angle", -180, 0, 15);
|
|
859
|
hspeed = -2;
|
|
860
|
vspeed = -4;
|
|
861
|
gravity = 1;
|
|
862
|
scr_delay_var("x", x - 8, 6);
|
|
863
|
scr_delay_var("hspeed", 0, 12);
|
|
864
|
scr_delay_var("vspeed", 0, 12);
|
|
865
|
scr_delay_var("gravity", 0, 12);
|
|
866
|
}
|
|
867
|
overlay.susie_light_mask = 5831;
|
|
868
|
move_wait = false;
|
|
869
|
}
|
|
870
|
}
|
|
871
|
}
|
|
872
|
else if (!noelle_surprise)
|
|
873
|
{
|
|
874
|
leave_basement = false;
|
|
875
|
with (convo_controller)
|
|
876
|
instance_destroy();
|
|
877
|
susie_marker.sprite_index = spr_susie_walk_right_fast;
|
|
878
|
susie_marker.image_speed = 0.4;
|
|
879
|
scr_lerp_var_instance(susie_marker, "x", susie_marker.x, view_wport[0] + 20, 100);
|
|
880
|
noelle_marker.sprite_index = spr_noelle_walk_look_back_right;
|
|
881
|
noelle_marker.image_speed = 0.4;
|
|
882
|
scr_lerp_var_instance(noelle_marker, "x", noelle_marker.x, view_wport[0] + 40, 100);
|
|
883
|
angel_marker.x = obj_homealone_heart.x + 4;
|
|
884
|
angel_marker.y = obj_homealone_heart.y + 2;
|
|
885
|
angel_marker.visible = 1;
|
|
886
|
obj_homealone_heart.visible = 0;
|
|
887
|
scr_delay_var("heart_catch_scene", true, 8);
|
|
888
|
}
|
|
889
|
}
|
|
890
|
}
|
|
891
|
if (heart_catch_scene)
|
|
892
|
{
|
|
893
|
if (heart_catch_con == 0)
|
|
894
|
{
|
|
895
|
heart_catch_con = 50;
|
|
896
|
scr_losecharscr_losechar
function scr_losechar()
{
global.char[2] = 0;
global.char[1] = 0;
with (obj_darkcontroller)
{
chartotal = 0;
havechar[0] = 0;
havechar[1] = 0;
havechar[2] = 0;
havechar[3] = 0;
for (i = 0; i < 3; i += 1)
{
global.faceaction[i] = 0;
if (global.char[i] != 0)
chartotal += 1;
if (global.char[i] == 1)
{
havechar[0] = 1;
charpos[0] = i;
}
if (global.char[i] == 2)
{
havechar[1] = 1;
charpos[1] = i;
}
if (global.char[i] == 3)
{
havechar[2] = 1;
charpos[2] = i;
}
if (global.char[i] == 4)
{
havechar[3] = 1;
charpos[3] = i;
}
}
}
global.submenu = 0;
global.charselect = -1;
for (i = 0; i < 36; i += 1)
global.submenucoord[i] = 0;
} ();
|
|
897
|
cutscene_master = scr_cutscene_makescr_cutscene_make
function scr_cutscene_make()
{
_cutscene_master = instance_create(0, 0, obj_cutscene_master);
_cutscene_master.master_object = id;
return _cutscene_master;
} ();
|
|
898
|
scr_maincharacters_actorsscr_maincharacters_actors
function 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;
}
}
}
} ();
|
|
899
|
su = actor_count + 1;
|
|
900
|
su_actor = instance_create(360, 96, obj_actor);
|
|
901
|
scr_actor_setupscr_actor_setup
function scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (su, su_actor, "susie");
|
|
902
|
su_actor.sprite_index = spr_susie_walk_left_candy_cane;
|
|
903
|
no = actor_count + 2;
|
|
904
|
no_actor = instance_create(340, 92, obj_actor);
|
|
905
|
scr_actor_setupscr_actor_setup
function scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (no, no_actor, "noelle");
|
|
906
|
no_actor.sprite_index = spr_noelle_walk_left_pan_hold;
|
|
907
|
with (angel_marker)
|
|
908
|
scr_jump_to_pointscr_jump_to_point
function scr_jump_to_point(arg0, arg1, arg2, arg3, arg4 = 0)
{
var ___jump = scr_jump_to_point_sprite(arg0, arg1, arg2, arg3, 0, 0);
with (___jump)
{
trackalpha = arg4;
trackblend = arg4;
trackindex = arg4;
tracksprite = arg4;
trackangle = arg4;
}
return ___jump;
} (119, 128, 8, 12);
|
|
909
|
angel_marker.depth = 98500;
|
|
910
|
angel_marker.image_xscale = -1;
|
|
911
|
with (overlay)
|
|
912
|
heart_glow_hide();
|
|
913
|
c_snd_play(snd_bump);
|
|
914
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (100);
|
|
915
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
916
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
917
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.2);
|
|
918
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (190, su_actor.ystart, 160);
|
|
919
|
c_delaycmdc_delaycmd
function c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
} (161, "imagespeed", 0);
|
|
920
|
c_delaycmdc_delaycmd
function c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
} (161, "imageindex", 0);
|
|
921
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (no);
|
|
922
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
923
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.2);
|
|
924
|
c_walkdirect_waitc_walkdirect_wait
function c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
} (175, no_actor.ystart, 150);
|
|
925
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
926
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
927
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
928
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face l* Okay,Delay 11 ready to kill. I got a cane...Delay 11 You...Wait for input"\\El* Okay^1, ready to kill. I got a cane..^1. You.../", "obj_noellehouse_basement_slash_Step_0_gml_1269_0" );
|
|
929
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face C* ...Delay 11 You're gonna beat it to death with a cookie pan?Wait for input"\\EC* ..^1. You're gonna beat it to death with a cookie pan?/", "obj_noellehouse_basement_slash_Step_0_gml_1270_0" );
|
|
930
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("noelle", 2);
|
|
931
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 2* N-no!Delay 11 No,Delay 11 I'm just going to...Wait for inputClose Message"\\E2* N-no^1! No^1, I'm just going to.../%", "obj_noellehouse_basement_slash_Step_0_gml_1272_0" );
|
|
932
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
933
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
934
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_walk_left_candy_cane_surprise);
|
|
935
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (no);
|
|
936
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
937
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.2);
|
|
938
|
c_walkdirect_waitc_walkdirect_wait
function c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
} (164, no_actor.ystart, 30);
|
|
939
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
940
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
941
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.2);
|
|
942
|
c_walkdirect_waitc_walkdirect_wait
function c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
} (144, no_actor.ystart, 30);
|
|
943
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
944
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
945
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.1);
|
|
946
|
c_walkdirect_waitc_walkdirect_wait
function c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
} (138, no_actor.ystart, 30);
|
|
947
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
948
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
949
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_noelle_walk_left_pan_hold_sigh);
|
|
950
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
951
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_noelle_walk_left_pan_hold);
|
|
952
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.4);
|
|
953
|
c_walkdirect_waitc_walkdirect_wait
function c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
} (124, no_actor.ystart, 8);
|
|
954
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
955
|
c_snd_play(snd_wing);
|
|
956
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (no);
|
|
957
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
958
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_noelle_pan_pick_up);
|
|
959
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.2);
|
|
960
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
961
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (angel_marker, "visible", 0);
|
|
962
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0);
|
|
963
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
964
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (no);
|
|
965
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_noelle_angel_hold_walk_right);
|
|
966
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
967
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
968
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_walk_left_candy_cane_surprise);
|
|
969
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (202, su_actor.y, 16);
|
|
970
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (1);
|
|
971
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
972
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (2);
|
|
973
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
974
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (3);
|
|
975
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
976
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (0);
|
|
977
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
978
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
979
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face 7* Huh? Dude,Delay 11 you got guts!Wait for input"\\E7* Huh? Dude^1, you got guts!/", "obj_noellehouse_basement_slash_Step_0_gml_1337_0" );
|
|
980
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("noelle", 17);
|
|
981
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face H* There's probably just like...Wait for input"\\EH* There's probably just like.../", "obj_noellehouse_basement_slash_Step_0_gml_1339_0" );
|
|
982
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face I* A mouse underneath it,Delay 11 right?Wait for input"\\EI* A mouse underneath it^1, right?/", "obj_noellehouse_basement_slash_Step_0_gml_1340_0" );
|
|
983
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 4* It's...Delay 11 nothing to be afraid of.Wait for inputClose Message"\\E4* It's..^1. nothing to be afraid of./%", "obj_noellehouse_basement_slash_Step_0_gml_1341_0" );
|
|
984
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
985
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
986
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_walk_left_candy_cane);
|
|
987
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (190, su_actor.y, 16);
|
|
988
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (1);
|
|
989
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
990
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (2);
|
|
991
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
992
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (3);
|
|
993
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
994
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (0);
|
|
995
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
996
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
997
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face 6* Damn...Wait for inputClose Message"\\E6* Damn.../%", "obj_noellehouse_basement_slash_Step_0_gml_1357_0" );
|
|
998
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
999
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
1000
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (no);
|
|
1001
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_noelle_angel_hold_walk_right);
|
|
1002
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.2);
|
|
1003
|
c_walkdirect_speedc_walkdirect_speed
function c_walkdirect_speed(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, -arg2, 0);
} (360, no_actor.ystart, 2);
|
|
1004
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
1005
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
1006
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_walk_right_candy_cane);
|
|
1007
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.2);
|
|
1008
|
c_walkdirect_speedc_walkdirect_speed
function c_walkdirect_speed(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, -arg2, 0);
} (340, su_actor.ystart, 2);
|
|
1009
|
c_var_lerp_to_instance(blackall, "image_alpha", 1, 90);
|
|
1010
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (120);
|
|
1011
|
c_waitcustomc_waitcustom
function c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
} ();
|
|
1012
|
}
|
|
1013
|
if (heart_catch_con == 50 && customcon == 1 && !d_ex())
|
|
1014
|
{
|
|
1015
|
heart_catch_con = -1;
|
|
1016
|
global.plot = 65;
|
|
1017
|
room_goto(room_lw_noellehouse_main);
|
|
1018
|
}
|
|
1019
|
}
|