|
1
|
con = -1;
|
|
2
|
customcon = 0;
|
|
3
|
timer = 0;
|
|
4
|
forceend2 = 0;
|
|
5
|
shortened = false;
|
|
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;
} () >= 3)
|
|
7
|
{
|
|
8
|
instance_destroy();
|
|
9
|
}
|
|
10
|
else if (global.chapter != 2)
|
|
11
|
{
|
|
12
|
instance_destroy();
|
|
13
|
}
|
|
14
|
else if (global.plot >= 165)
|
|
15
|
{
|
|
16
|
var savepoint = instance_create(905, 40, obj_savepoint);
|
|
17
|
with (savepoint)
|
|
18
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
19
|
berdlynpc = instance_create(895, 228, obj_npc_sign);
|
|
20
|
berdlynpc.sprite_index = (global.flag[457 spared_berdly] == 1) ? spr_berdly_hurt_kneel : spr_berdly_hurt_kneel_burnt;
|
|
21
|
with (berdlynpc)
|
|
22
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
23
|
instance_destroy();
|
|
24
|
}
|
|
25
|
else
|
|
26
|
{
|
|
27
|
with (obj_mainchara)
|
|
28
|
{
|
|
29
|
x = 26;
|
|
30
|
y = 246;
|
|
31
|
}
|
|
32
|
if (global.tempflag[31] == 1)
|
|
33
|
shortened = true;
|
|
34
|
berdlynpc = instance_create(895, 228, obj_npc_sign);
|
|
35
|
berdlynpc.sprite_index = (global.flag[457 spared_berdly] == 1) ? spr_berdly_hurt_kneel : spr_berdly_hurt_kneel_burnt;
|
|
36
|
with (berdlynpc)
|
|
37
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
38
|
berdlynpc.visible = 0;
|
|
39
|
berdly_npc_realign = false;
|
|
40
|
berdly_full_spare = false;
|
|
41
|
}
|