1 |
if (draw_overlay_alpha > 0) |
2 |
{ |
3 |
draw_set_alpha(draw_overlay_alpha) |
4 |
draw_set_color(c_white) |
5 |
draw_rectangle(camera_get_view_x(view_camera[0]), 0, 640, room_height, false) |
6 |
shader_set(sh_silhouette) |
7 |
with (obj_ceroba_npc) |
8 |
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, image_angle, c_white, (image_alpha * other.draw_overlay_alpha)) |
9 |
shader_reset() |
10 |
draw_set_alpha(1) |
11 |
with (obj_flashback_kanako_soul) |
12 |
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, image_angle, c_white, (image_alpha * other.draw_overlay_alpha)) |
13 |
} |
14 |
draw_set_alpha(draw_alpha) |
15 |
draw_set_color(c_white) |
16 |
draw_rectangle(camera_get_view_x(view_camera[0]), 0, 640, room_height, false) |
17 |
draw_set_alpha(1) |
18 |
draw_set_alpha(draw_alpha_black) |
19 |
draw_set_color(c_black) |
20 |
draw_rectangle(camera_get_view_x(view_camera[0]), 0, 640, room_height, false) |
21 |
with (obj_flashback_kanako_soul) |
22 |
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, image_angle, c_white, (image_alpha * other.draw_alpha_black)) |
23 |
draw_set_alpha(1) |