|
1
|
con = -1;
|
|
2
|
customcon = 0;
|
|
3
|
specialDraw = 0;
|
|
4
|
glowvalue = 0;
|
|
5
|
skipbattle = 0;
|
|
6
|
drawx = 0;
|
|
7
|
extra_con = 0;
|
|
8
|
noelle_depth = 0;
|
|
9
|
if (!snd_is_playing(global.currentsong[1]))
|
|
10
|
{
|
|
11
|
global.currentsong[0] = snd_init("wind_highplace.ogg");
|
|
12
|
global.currentsong[1] = mus_loop_ext(global.currentsong[0], 1, 1);
|
|
13
|
}
|
|
14
|
if (global.chapter != 2 || global.plot >= 170)
|
|
15
|
{
|
|
16
|
if (global.plot == 170 && 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)
|
|
17
|
{
|
|
18
|
instance_create(0, 0, obj_ch2_scene27);
|
|
19
|
}
|
|
20
|
else
|
|
21
|
{
|
|
22
|
queen_npc = instance_create(2030, 170, obj_npc_sign);
|
|
23
|
queen_npc.sprite_index = spr_queen_walk_down;
|
|
24
|
queen_npc.image_speed = 0;
|
|
25
|
with (queen_npc)
|
|
26
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
27
|
ralsei_npc = instance_create(2042, 245, obj_npc_sign);
|
|
28
|
ralsei_npc.sprite_index = spr_ralsei_walk_up;
|
|
29
|
ralsei_npc.image_speed = 0;
|
|
30
|
with (ralsei_npc)
|
|
31
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
32
|
}
|
|
33
|
instance_destroy();
|
|
34
|
}
|
|
35
|
else
|
|
36
|
{
|
|
37
|
queenhand = (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) ? 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;
} (2060, 85, spr_cutscene_26_queen_giga_bonds) : 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;
} (2060, 85, spr_cutscene_26_queen_giga_hand);
|
|
38
|
with (queenhand)
|
|
39
|
depth = 1000200;
|
|
40
|
rudebuster = false;
|
|
41
|
rockanim = false;
|
|
42
|
rockcon = false;
|
|
43
|
rockanimstop = false;
|
|
44
|
rockdog = false;
|
|
45
|
rockdogobj = -1;
|
|
46
|
rockdogstop = false;
|
|
47
|
winelaser = false;
|
|
48
|
shakeloop = false;
|
|
49
|
shakecon = true;
|
|
50
|
fist_explode = false;
|
|
51
|
fist_afterimage = false;
|
|
52
|
explosions = 0;
|
|
53
|
wallanimstart = false;
|
|
54
|
wallanimstop = false;
|
|
55
|
wallcon = 0;
|
|
56
|
walltimer = 0;
|
|
57
|
walllayer = -1;
|
|
58
|
layerid = -1;
|
|
59
|
battletimer = 0;
|
|
60
|
whiteall = scr_markerscr_marker
function scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (-10, -10, spr_pixel_white);
|
|
61
|
whiteall.image_xscale = 999;
|
|
62
|
whiteall.image_yscale = 999;
|
|
63
|
whiteall.depth = 100;
|
|
64
|
whiteall.image_alpha = 0;
|
|
65
|
bg_cover = scr_markerscr_marker
function scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (-10, -10, spr_pixel_white);
|
|
66
|
bg_cover.image_xscale = 999;
|
|
67
|
bg_cover.image_yscale = 999;
|
|
68
|
bg_cover.depth = 1000350;
|
|
69
|
bg_cover.image_blend = c_black;
|
|
70
|
bg_cover.image_alpha = 0;
|
|
71
|
berdly_coaster = -1;
|
|
72
|
berdly_coaster_start = false;
|
|
73
|
berdly_coaster_leave = false;
|
|
74
|
anime_bg = instance_create(1640, 550, obj_anime_bg_controller);
|
|
75
|
anime_bg.depth = 92000;
|
|
76
|
with (anime_bg)
|
|
77
|
image_alpha = 0;
|
|
78
|
power_up = -4;
|
|
79
|
disable_face = false;
|
|
80
|
enable_face = false;
|
|
81
|
set_queen_voice = false;
|
|
82
|
laser_con = -1;
|
|
83
|
release_queen = false;
|
|
84
|
queen_laugh_start = false;
|
|
85
|
queen_laugh_stop = false;
|
|
86
|
queen_release_fast = false;
|
|
87
|
queen_leave_fast = false;
|
|
88
|
platform_fall = false;
|
|
89
|
hand_shake = false;
|
|
90
|
hand_catch = false;
|
|
91
|
cityscape_fall = false;
|
|
92
|
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)
|
|
93
|
{
|
|
94
|
var lay_id = layer_get_id("TILES");
|
|
95
|
platform_y = layer_get_y(lay_id);
|
|
96
|
platform_fall = false;
|
|
97
|
platform_timer = 0;
|
|
98
|
raise_hands = false;
|
|
99
|
for (var i = 0; i < 3; i++)
|
|
100
|
{
|
|
101
|
hand_platform[i] = scr_markerscr_marker
function scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (1550 + (i * 100), cameray() + view_hport[0] + (sprite_get_height(spr_cutscene_26_hand_platform) / 2), spr_cutscene_26_hand_platform);
|
|
102
|
with (hand_platform[i])
|
|
103
|
{
|
|
104
|
image_xscale = 2;
|
|
105
|
image_yscale = 2;
|
|
106
|
depth = 1000300 - (i * 10);
|
|
107
|
}
|
|
108
|
}
|
|
109
|
}
|
|
110
|
queen_afterimage = false;
|
|
111
|
queen_npc = -4;
|
|
112
|
ralsei_npc = -4;
|
|
113
|
kris_active = false;
|
|
114
|
make_npc_a = false;
|
|
115
|
make_npc_b = false;
|
|
116
|
shake_hand = false;
|
|
117
|
queen_surprised = false;
|
|
118
|
queen_laugh_start = false;
|
|
119
|
queen_laugh_stop = false;
|
|
120
|
queen_leave = false;
|
|
121
|
hand_release = false;
|
|
122
|
hand_leave = false;
|
|
123
|
su_struggle = true;
|
|
124
|
su_shocked = false;
|
|
125
|
su_look_left = false;
|
|
126
|
su_look_right = false;
|
|
127
|
su_grin_1 = false;
|
|
128
|
su_grin_2 = false;
|
|
129
|
su_squint_1 = false;
|
|
130
|
su_squint_2 = false;
|
|
131
|
su_concerned = false;
|
|
132
|
ra_struggle = true;
|
|
133
|
ra_huh = false;
|
|
134
|
ra_look = false;
|
|
135
|
ra_smile = false;
|
|
136
|
ra_scared = false;
|
|
137
|
ra_stern = false;
|
|
138
|
ra_mu = false;
|
|
139
|
ra_shake = false;
|
|
140
|
}
|