|
1
|
con = -1;
|
|
2
|
customcon = 0;
|
|
3
|
shortened = false;
|
|
4
|
dogcone1 = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (487, 75, spr_cone_alley);
|
|
5
|
with (dogcone1)
|
|
6
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
7
|
dogcone2 = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (dogcone1.x - 40, 75, spr_cone_alley);
|
|
8
|
with (dogcone2)
|
|
9
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
10
|
north_collider = instance_create(dogcone2.x - 15, 85, obj_soliddark);
|
|
11
|
north_collider.image_xscale = 2.5;
|
|
12
|
if (global.chapter != 2 || global.plot >= 79)
|
|
13
|
{
|
|
14
|
if (global.flag[349 frozen_chicken] == 1)
|
|
15
|
{
|
|
16
|
var berdly_npc = instance_create(607, 97, obj_npc_sign);
|
|
17
|
berdly_npc.sprite_index = spr_berdly_ice;
|
|
18
|
with (berdly_npc)
|
|
19
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
20
|
}
|
|
21
|
instance_destroy();
|
|
22
|
}
|
|
23
|
else 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;
} () == 0)
|
|
24
|
{
|
|
25
|
if (global.tempflag[30] == 1)
|
|
26
|
shortened = true;
|
|
27
|
}
|
|
28
|
if (global.flag[915 snowgrave_plot] > 5 && global.flag[916 snowgrave_fail] == 0)
|
|
29
|
{
|
|
30
|
savepoint = instance_create(386, 97, obj_savepoint);
|
|
31
|
if (i_ex(north_collider))
|
|
32
|
{
|
|
33
|
with (north_collider)
|
|
34
|
instance_destroy();
|
|
35
|
}
|
|
36
|
dogcone2.x -= 30;
|
|
37
|
dogcone2.y += 35;
|
|
38
|
dogcone1.x += 67;
|
|
39
|
dogcone1.y += 47;
|
|
40
|
dogcone1.image_angle -= 90;
|
|
41
|
instance_create(86, 80, obj_cone);
|
|
42
|
instance_create(126, 80, obj_cone);
|
|
43
|
instance_create(880, 104, obj_cone);
|
|
44
|
instance_create(880, 136, obj_cone);
|
|
45
|
instance_create(880, 168, obj_cone);
|
|
46
|
instance_create(880, 200, obj_cone);
|
|
47
|
}
|
|
48
|
else if (global.plot >= 79)
|
|
49
|
{
|
|
50
|
savepoint = instance_create(460, 100, obj_savepoint);
|
|
51
|
}
|