1 | if live_call() |
2 | return global.live_result; |
3 | for (var i = 0; i < array_length(shadow_actor); i += 1) |
4 | { |
5 | with (shadow_actor[i]) |
6 | { |
7 | draw_set_blend_mode(1) |
8 | draw_set_alpha(other.light_amount[i]) |
9 | draw_sprite(sprite_index, image_index, x, y) |
10 | draw_set_alpha(1) |
11 | draw_set_blend_mode(0) |
12 | } |
13 | } |