|
1
|
depth = 5000;
|
|
2
|
weird = 0;
|
|
3
|
if (scr_sideb_get_phasescr_sideb_get_phase
function scr_sideb_get_phase()
{
var phase = 0;
if (global.flag[916 snowgrave_fail] == 0)
{
if (global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4)
phase = 1;
if (global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7)
phase = 2;
if (global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20)
phase = 3;
if (global.flag[915 snowgrave_plot] >= 20)
phase = 4;
}
return phase;
} () == 2)
|
|
4
|
weird = 1;
|
|
5
|
inusecount = 0;
|
|
6
|
con = -2;
|
|
7
|
victory = 0;
|
|
8
|
noelle = 0;
|
|
9
|
timer = 0;
|
|
10
|
scared = 0;
|
|
11
|
scarecount = 0;
|
|
12
|
endNoelle = 0;
|
|
13
|
walkDist = 0;
|
|
14
|
icon = 0;
|
|
15
|
fadeout = 0;
|
|
16
|
walkpoint = 0;
|
|
17
|
moveforward = false;
|
|
18
|
inUse = false;
|
|
19
|
instructionLerp = 0;
|
|
20
|
if (global.flag[368 solved_mice_2] == 1 || global.plot >= 77)
|
|
21
|
{
|
|
22
|
if (global.flag[915 snowgrave_plot] != 0)
|
|
23
|
{
|
|
24
|
with (obj_mice2Switch)
|
|
25
|
{
|
|
26
|
depth = 600000;
|
|
27
|
scr_createFrozenscr_createFrozen
function scr_createFrozen(arg0)
{
frozenbody = instance_create(x, y, obj_frozennpc);
frozenbody.sprite_index = sprite_index;
frozenbody.image_index = image_index;
frozenbody.image_xscale = image_xscale;
frozenbody.image_yscale = image_yscale;
frozenbody.fresh = 1;
if (arg0 == 0)
frozenbody.skipsolid = 1;
else
frozenbody.skipsolid = 0;
frozenbody.timer = 1;
frozenbody.depth = depth;
instance_destroy();
} (0);
|
|
28
|
}
|
|
29
|
with (obj_rotationController_track)
|
|
30
|
scr_createFrozenscr_createFrozen
function scr_createFrozen(arg0)
{
frozenbody = instance_create(x, y, obj_frozennpc);
frozenbody.sprite_index = sprite_index;
frozenbody.image_index = image_index;
frozenbody.image_xscale = image_xscale;
frozenbody.image_yscale = image_yscale;
frozenbody.fresh = 1;
if (arg0 == 0)
frozenbody.skipsolid = 1;
else
frozenbody.skipsolid = 0;
frozenbody.timer = 1;
frozenbody.depth = depth;
instance_destroy();
} (1);
|
|
31
|
if (instance_exists(obj_forcefield))
|
|
32
|
{
|
|
33
|
with (obj_forcefield)
|
|
34
|
instance_destroy();
|
|
35
|
}
|
|
36
|
}
|
|
37
|
instance_destroy();
|
|
38
|
}
|