1 |
if live_call() |
2 |
return global.live_result; |
3 |
if instance_exists(obj_dialogue_box_battle_transformation_any) |
4 |
var box = 3154 |
5 |
else if instance_exists(obj_dialogue_box_battle) |
6 |
box = 3112 |
7 |
else if instance_exists(obj_dialogue_box_battle_transformation_any_out) |
8 |
box = 3157 |
9 |
else if instance_exists(obj_dialogue_box_battle_transformation_any_in) |
10 |
box = 3156 |
11 |
else |
12 |
return; |
13 |
var xx = axis_trash_meter_x |
14 |
var yy = axis_trash_meter_y |
15 |
if (global.geno_complete[3] == true) |
16 |
return; |
17 |
draw_set_color(c_orange) |
18 |
draw_rectangle(xx, yy, (xx + 62 * (axis_trash_meter_current / 100)), (yy + 32), false) |
19 |
draw_set_alpha(axis_trash_meter_pulse_alpha) |
20 |
draw_set_color(c_red) |
21 |
draw_rectangle(xx, yy, (xx + 62 * (axis_trash_meter_current / 100)), (yy + 32), false) |
22 |
draw_set_alpha(1) |
23 |
draw_sprite(spr_axis_tick_o_bar, 0, xx, yy) |
24 |
draw_set_alpha(1) |
25 |
xx = axis_battery_meter_x |
26 |
yy = axis_trash_meter_y |
27 |
if shield_enabled |
28 |
{ |
29 |
shader_set(sh_yellow) |
30 |
draw_set_alpha(axis_shield_pulse_alpha) |
31 |
draw_outline(3019, 0, xx, yy, 1, 1, 0, 16777215, axis_shield_pulse_alpha) |
32 |
with (obj_axis_body) |
33 |
{ |
34 |
draw_set_alpha(other.axis_shield_pulse_alpha) |
35 |
draw_outline(sprite_index, image_index, x, y, image_xscale, image_yscale, 0, 16777215, other.axis_shield_pulse_alpha) |
36 |
shader_reset() |
37 |
draw_set_alpha(1) |
38 |
draw_self() |
39 |
} |
40 |
} |
41 |
draw_set_color(c_lime) |
42 |
draw_rectangle(xx, yy, (xx + 52 - 52 * (1 - axis_battery_meter_current / 100)), (yy + 32), false) |
43 |
if shield_enabled |
44 |
{ |
45 |
draw_set_alpha(axis_shield_pulse_alpha) |
46 |
draw_set_color(c_yellow) |
47 |
draw_rectangle(xx, yy, (xx + 52 - 52 * (1 - axis_battery_meter_current / 100)), (yy + 32), false) |
48 |
draw_set_alpha(1) |
49 |
} |
50 |
draw_sprite(spr_axis_battery_meter, 0, xx, yy) |