|
1
|
depth = 900000;
|
|
2
|
if (global.flag[379 noelle_beat_fear] == 0 || global.plot < 78)
|
|
3
|
{
|
|
4
|
drawshine = 0;
|
|
5
|
shineindex = 0;
|
|
6
|
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)
|
|
7
|
weird = true;
|
|
8
|
else
|
|
9
|
weird = false;
|
|
10
|
if (weird == true)
|
|
11
|
{
|
|
12
|
depth = 600000;
|
|
13
|
drawshine = 1;
|
|
14
|
noface = false;
|
|
15
|
solve = 0;
|
|
16
|
}
|
|
17
|
with (obj_rotationtile_tower)
|
|
18
|
freeze = true;
|
|
19
|
init = 0;
|
|
20
|
layer_set_visible(layer_get_id("BG_Tiles_HiddenPath"), false);
|
|
21
|
layer_set_visible(layer_get_id("BG_Tiles_HiddenPath_Sidewalk"), false);
|
|
22
|
fakeWall = instance_create(240, 80, obj_solidblocksized);
|
|
23
|
fakeWall.image_yscale = 2;
|
|
24
|
con = 0;
|
|
25
|
timer = 0;
|
|
26
|
fakeswitch = 0;
|
|
27
|
noelle = 0;
|
|
28
|
bridge = 0;
|
|
29
|
noExit = 0;
|
|
30
|
exttrig = 0;
|
|
31
|
berdly = 0;
|
|
32
|
monologue = 0;
|
|
33
|
micescore = 0;
|
|
34
|
micetarget = 10;
|
|
35
|
leaveCon = 0;
|
|
36
|
leaveBlock = 0;
|
|
37
|
solve = false;
|
|
38
|
towerinit = false;
|
|
39
|
}
|
|
40
|
if (global.flag[379 noelle_beat_fear] == 1)
|
|
41
|
{
|
|
42
|
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)
|
|
43
|
{
|
|
44
|
if (instance_exists(obj_npc_sign))
|
|
45
|
{
|
|
46
|
with (obj_npc_sign)
|
|
47
|
instance_destroy();
|
|
48
|
}
|
|
49
|
with (obj_mouseTowerTrigger)
|
|
50
|
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);
|
|
51
|
}
|
|
52
|
}
|