|
1
|
if (instance_exists(obj_thrash_intro) || instance_exists(obj_thrash_transformation_transition))
|
|
2
|
exit;
|
|
3
|
if (instance_exists(obj_bqueen_missle_controller))
|
|
4
|
exit;
|
|
5
|
if (instance_exists(obj_bqueen_breath_controller))
|
|
6
|
exit;
|
|
7
|
if (nextdrawflip >= 0)
|
|
8
|
{
|
|
9
|
drawflip = nextdrawflip;
|
|
10
|
nextdrawflip = -1;
|
|
11
|
}
|
|
12
|
if (o_boxingqueen.health_count < (o_boxingqueen.health_count_max * 1) && o_boxingcontroller.wireframe_boxing == 1)
|
|
13
|
{
|
|
14
|
if (force_drawflip == 0)
|
|
15
|
drawflip = 0;
|
|
16
|
if (force_drawflip == 1)
|
|
17
|
drawflip = 1;
|
|
18
|
}
|
|
19
|
if (specialcon == 1 || specialcon == 2)
|
|
20
|
{
|
|
21
|
specialcontimer++;
|
|
22
|
flameframe = (specialcontimer / 4) % 2;
|
|
23
|
flamealpha = specialcontimer / 15;
|
|
24
|
if (flamealpha >= 0.5)
|
|
25
|
flamealpha = 0.5;
|
|
26
|
if (specialcontimer >= 15)
|
|
27
|
flamealpha = 1 - (specialcontimer / 30);
|
|
28
|
if (specialcontimer >= 30)
|
|
29
|
{
|
|
30
|
specialcontimer = 0;
|
|
31
|
specialcon = 0;
|
|
32
|
image_index = 0;
|
|
33
|
}
|
|
34
|
var move_flame = 5;
|
|
35
|
if (drawflip == 1)
|
|
36
|
move_flame = -5;
|
|
37
|
if (pirouette_amount == 5)
|
|
38
|
{
|
|
39
|
draw_sprite_ext(spr_bhero, 10 + flameframe, (x + ((specialcon - 1) * 10) + move_flame) - 8, y, 1.7, 2.4, 0, c_red, flamealpha);
|
|
40
|
draw_sprite_ext(spr_bhero, 11 - flameframe, (x + ((specialcon - 1) * 10) + move_flame) - 8, y, 1.7, 2.4, 0, c_orange, flamealpha / 2);
|
|
41
|
}
|
|
42
|
else
|
|
43
|
{
|
|
44
|
draw_sprite_ext(spr_bhero, 10 + flameframe, x + ((specialcon - 1) * 10) + move_flame, y, -image_xscale * specialcon, (image_yscale * specialcon) + 0.8 + abs(sin(specialcontimer / 4) / 2), 0, c_red, flamealpha);
|
|
45
|
draw_sprite_ext(spr_bhero, 11 - flameframe, x + ((specialcon - 1) * 10) + move_flame, y, -image_xscale * specialcon, (image_yscale * specialcon) + 0.8, 0, c_orange, flamealpha / 2);
|
|
46
|
}
|
|
47
|
}
|
|
48
|
if (drawflip == 0)
|
|
49
|
{
|
|
50
|
if (sprite_index == spr_bqueen_punch && image_index == 5)
|
|
51
|
{
|
|
52
|
draw_sprite_ext(sprite_index, 0, x, y, image_xscale, image_yscale, 0, c_white, image_alpha);
|
|
53
|
draw_sprite_ext(sprite_index, 5, x, y, image_xscale, image_yscale, 0, c_white, white_flash / 100);
|
|
54
|
white_flash -= 20;
|
|
55
|
}
|
|
56
|
else if (sprite_index == spr_bqueen_stomp)
|
|
57
|
{
|
|
58
|
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, 0, c_white, image_alpha);
|
|
59
|
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, 0, c_red, (stomp_speed * 75) / 100);
|
|
60
|
}
|
|
61
|
else if ((sprite_index == spr_bqueen && image_index == 26 && final_sequence_red_state != 0) || sprite_index == spr_queen_rocket_punch_pose)
|
|
62
|
{
|
|
63
|
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, 0, c_white, image_alpha);
|
|
64
|
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, 0, c_red, final_sequence_red_alpha);
|
|
65
|
}
|
|
66
|
else
|
|
67
|
{
|
|
68
|
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, 0, c_white, image_alpha);
|
|
69
|
if (sprite_index == spr_bqueen_kick && image_index == 0)
|
|
70
|
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, 0, c_black, 0.3);
|
|
71
|
if (sprite_index == spr_bqueen_splash && image_index == 0)
|
|
72
|
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, 0, c_black, 0.15);
|
|
73
|
}
|
|
74
|
}
|
|
75
|
else if (sprite_index == spr_bqueen_punch && image_index == 5)
|
|
76
|
{
|
|
77
|
draw_sprite_ext(sprite_index, 0, x, y, -image_xscale, image_yscale, 0, c_white, image_alpha);
|
|
78
|
draw_sprite_ext(sprite_index, 5, x, y, -image_xscale, image_yscale, 0, c_white, white_flash / 100);
|
|
79
|
white_flash -= 20;
|
|
80
|
}
|
|
81
|
else
|
|
82
|
{
|
|
83
|
draw_sprite_ext(sprite_index, image_index, x, y, -image_xscale, image_yscale, 0, c_white, image_alpha);
|
|
84
|
if (sprite_index == spr_bqueen_kick && image_index == 0)
|
|
85
|
draw_sprite_ext(sprite_index, image_index, x, y, -image_xscale, image_yscale, 0, c_black, 0.3);
|
|
86
|
if (sprite_index == spr_bqueen_splash && image_index == 0)
|
|
87
|
draw_sprite_ext(sprite_index, image_index, x, y, -image_xscale, image_yscale, 0, c_black, 0.15);
|
|
88
|
}
|
|
89
|
if (global.bmenuno == 12 && global.bmenucoord[0][global.charturn] == 3)
|
|
90
|
{
|
|
91
|
fsiner++;
|
|
92
|
d3d_set_fog(1, c_white, 0, 0);
|
|
93
|
if (drawflip == 0)
|
|
94
|
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, 0, c_white, (-cos(fsiner / 5) * 0.4) + 0.6);
|
|
95
|
if (drawflip == 1)
|
|
96
|
draw_sprite_ext(sprite_index, image_index, x, y, -2, image_yscale, 0, c_white, (-cos(fsiner / 5) * 0.4) + 0.6);
|
|
97
|
d3d_set_fog(0, c_white, 0, 0);
|
|
98
|
}
|
|
99
|
draw_set_halign(fa_left);
|