|
1
|
if (scr_debugscr_debug
function scr_debug()
{
return 0;
} ())
|
|
2
|
{
|
|
3
|
if (keyboard_check(ord("P")) || gamepad_button_check(0, gp_face4) || gamepad_button_check(1, gp_face4))
|
|
4
|
global.flag[382 dining_hall_complete] = 0;
|
|
5
|
}
|
|
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
|
instance_destroy();
|
|
8
|
if (global.flag[382 dining_hall_complete] == 0)
|
|
9
|
{
|
|
10
|
con = 0;
|
|
11
|
memx = 0;
|
|
12
|
memy = 0;
|
|
13
|
}
|
|
14
|
if (global.flag[382 dining_hall_complete] == 1)
|
|
15
|
{
|
|
16
|
con = 28980;
|
|
17
|
for (var i = 0; i < 7; i++)
|
|
18
|
{
|
|
19
|
shade = instance_create(166 + (i * 104), 364, obj_marker);
|
|
20
|
shade.sprite_index = spr_saucershadow;
|
|
21
|
shade.image_alpha = 0.25;
|
|
22
|
shade.image_xscale = 2;
|
|
23
|
shade.image_yscale = 2;
|
|
24
|
shade.depth = 890000;
|
|
25
|
}
|
|
26
|
}
|
|
27
|
tablespawn = false;
|