1 |
if live_call() |
2 |
return global.live_result; |
3 |
var fade_back = false |
4 |
if (instance_exists(obj_ceroba_phase_2_opener) && obj_ceroba_phase_2_opener.scene < 19) |
5 |
fade_back = true |
6 |
if (global.image_alpha_enemy_attacking < 1 && fade_back) |
7 |
blend_color = 128 |
8 |
else |
9 |
blend_color = 255 |
10 |
blend_color_current = lerp(blend_color_current, blend_color, 0.05) |
11 |
if (abs(blend_color_current - blend_color) <= 1) |
12 |
blend_color_current = blend_color |
13 |
image_blend = make_color_rgb(blend_color, blend_color, blend_color) |
14 |
with (obj_ceroba_cape_1) |
15 |
{ |
16 |
} |
17 |
with (obj_ceroba_cape_2) |
18 |
{ |
19 |
} |
20 |
with (obj_ceroba_hair) |
21 |
{ |
22 |
} |
23 |
with (obj_ceroba_legs) |
24 |
{ |
25 |
} |
26 |
with (obj_ceroba_phase_2_head) |
27 |
{ |
28 |
} |
29 |
with (obj_ceroba_phase_2_staff) |
30 |
{ |
31 |
} |
32 |
with (obj_ceroba_sideburn_left) |
33 |
{ |
34 |
} |
35 |
with (obj_ceroba_sideburn_right) |
36 |
{ |
37 |
} |