1 | draw_sprite_ext(sprite_index, floor(image_index), x, y, image_xscale, image_yscale, 0, image_blend, image_alpha); |
2 | if (con == 11 || con == 12) |
3 | { |
4 | whited += 0.01; |
5 | if (whited >= 1 && con == 11) |
6 | { |
7 | con = 12; |
8 | view_xview[0] = 0; |
9 | view_yview[0] = 0; |
10 | } |
11 | draw_set_alpha(whited); |
12 | draw_set_color(c_white); |
13 | ossafe_fill_rectangle(-10, -10, 999, 999); |
14 | draw_set_alpha(1); |
15 | if (whited >= 2) |
16 | { |
17 | instance_create(0, 0, obj_barriercut); |
18 | con = 13; |
19 | with (obj_mhd) |
20 | instance_destroy(); |
21 | alarm[5] = -1; |
22 | } |
23 | } |