|
1
|
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, image_angle, image_blend, image_alpha);
|
|
2
|
timer++;
|
|
3
|
if ((timer % 3) == 0 && type == 1)
|
|
4
|
{
|
|
5
|
fire = instance_create_depth(67, 210, depth + 10, obj_tenna_chef_marker_fire);
|
|
6
|
fire.hspeed = -1.5 + random(3);
|
|
7
|
fire.gravity = -0.5;
|
|
8
|
fire.friction = 0;
|
|
9
|
fire.image_speed = 1;
|
|
10
|
fire = instance_create_depth(575, 210, depth + 10, obj_tenna_chef_marker_fire);
|
|
11
|
fire.hspeed = -1.5 + random(3);
|
|
12
|
fire.gravity = -0.5;
|
|
13
|
fire.friction = 0;
|
|
14
|
fire.image_speed = 1;
|
|
15
|
}
|
|
16
|
if ((timer % 4) == 0 && type == 1)
|
|
17
|
{
|
|
18
|
snd_stop(snd_wing);
|
|
19
|
snd_play_x(snd_wing, 0.35, 0.75 + random(0.1));
|
|
20
|
}
|
|
21
|
if (flamecon == 1)
|
|
22
|
{
|
|
23
|
wave_siner++;
|
|
24
|
flamesiner++;
|
|
25
|
draw_set_alpha(flamealph);
|
|
26
|
for (i = 0; i < wave_maxa; i += thickness)
|
|
27
|
{
|
|
28
|
draw_sprite_part(spr_gameshow_stage_fire_flip, 0, 0, i * thickness, 400, thickness + 2, -10 + (sin((wave_siner + (i * 8)) / 30) * 12), (i * thickness) + flameya + (sin(flamesiner / 16) * 3));
|
|
29
|
draw_sprite_part(spr_gameshow_stage_fire_flip, 0, 0, i * thickness, 400, thickness + 2, 255 + (sin((wave_siner + (i * 8)) / 30) * 12), (i * thickness) + flameya + (sin(flamesiner / 16) * 3));
|
|
30
|
draw_sprite_part(spr_gameshow_stage_fire_flip, 0, 0, i * thickness, 400, thickness + 2, 520 + (sin((wave_siner + (i * 8)) / 30) * 12), (i * thickness) + flameya + (sin(flamesiner / 16) * 3));
|
|
31
|
}
|
|
32
|
draw_set_alpha(1);
|
|
33
|
}
|