1 |
if live_call() |
2 |
return global.live_result; |
3 |
var offset = 18 |
4 |
draw_set_color(c_white) |
5 |
draw_set_font(fnt_main) |
6 |
draw_set_halign(fa_center) |
7 |
var camera_border_y = 240 |
8 |
var camera_border_x = 320 |
9 |
for (var i = 0; i < array_length(credits_entry_one); i++) |
10 |
{ |
11 |
if (i == 0) |
12 |
draw_set_color(c_yellow) |
13 |
else |
14 |
draw_set_color(c_white) |
15 |
draw_text((camera_border_x - 90), (camera_border_y - credits_y_offset + i * offset), credits_entry_one[i]) |
16 |
} |
17 |
for (i = 0; i < array_length(credits_entry_two); i++) |
18 |
{ |
19 |
if (i == 0) |
20 |
draw_set_color(c_yellow) |
21 |
else |
22 |
draw_set_color(c_white) |
23 |
draw_text((camera_border_x - 90), (camera_border_y - credits_y_offset + (i + 37) * offset), credits_entry_two[i]) |
24 |
} |
25 |
draw_set_alpha(credits_final_alpha) |
26 |
for (i = 0; i < array_length(credits_entry_three); i++) |
27 |
{ |
28 |
if (i == 0) |
29 |
draw_set_color(c_yellow) |
30 |
else |
31 |
draw_set_color(c_white) |
32 |
draw_text((camera_border_x - 90), (50 + i * 30), credits_entry_three[i]) |
33 |
} |
34 |
draw_set_alpha(1) |
35 |
if (draw_alpha_white > 0) |
36 |
{ |
37 |
draw_set_alpha(draw_alpha_white) |
38 |
draw_set_color(c_white) |
39 |
draw_rectangle(0, 0, 320, 240, false) |
40 |
draw_set_alpha(1) |
41 |
} |
42 |
if (draw_end_card == true) |
43 |
{ |
44 |
draw_sprite_ext(spr_logo_undertale, 1, 160, 96, 0.5, 0.5, 0, c_white, end_card_alpha) |
45 |
draw_sprite_ext(logo_yellow, 1, 160, 128, 0.5, 0.5, 0, c_white, end_card_alpha) |
46 |
} |
47 |
if (hat_card_alpha > 0) |
48 |
{ |
49 |
draw_sprite_ext(spr_outro_screen, 0, 0, 0, 1, 1, 0, c_white, hat_card_alpha) |
50 |
draw_set_alpha(the_end_text_alpha) |
51 |
draw_set_font(fnt_mainb) |
52 |
draw_set_color(c_yellow) |
53 |
draw_set_halign(fa_center) |
54 |
draw_text(160, 65, "THE END") |
55 |
draw_set_alpha(1) |
56 |
} |