|
1
|
if (shake > 0)
|
|
2
|
shake -= 0.5;
|
|
3
|
var z = (random(shake) * 2) - shake;
|
|
4
|
if (shake2 > 0)
|
|
5
|
shake2 -= 0.5;
|
|
6
|
var a = (random(shake2) * 2) - shake2;
|
|
7
|
if (sprite_index == spr_cutscene_25_berdly_grab_plug)
|
|
8
|
{
|
|
9
|
draw_sprite_ext(spr_cutscene_25_berdly_grab_plug, 0, x + a, y + a, image_xscale, image_yscale, image_angle, image_blend, image_alpha);
|
|
10
|
}
|
|
11
|
else
|
|
12
|
{
|
|
13
|
draw_sprite_ext(spr_berdly_plug_queen_boss, 1, x + a, y + a, image_xscale, image_yscale, image_angle, image_blend, image_alpha);
|
|
14
|
draw_sprite_ext(spr_berdly_plug_queen_boss, 0, x + z, y + z, image_xscale, image_yscale, image_angle, image_blend, image_alpha);
|
|
15
|
}
|
|
16
|
fsiner++;
|
|
17
|
if (flash == 1)
|
|
18
|
draw_sprite_ext_flash(sprite_index, image_index, x, y, image_xscale, image_yscale, image_angle, image_blend, (-cos(fsiner / 5) * 0.4) + 0.6);
|
|
19
|
if (shake > 4)
|
|
20
|
draw_sprite_ext_flash(spr_berdly_plug_queen_boss, 0, x + z, y + z, image_xscale, image_yscale, image_angle, image_blend, 1);
|