Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_final_roundup_Draw_64

(view raw script w/o annotations or w/e)
1
display_set_gui_size(640, 480)
2
draw_set_alpha(draw_alpha)
3
draw_set_font(fnt_mainb)
4
draw_set_halign(fa_center)
5
draw_text(320, 40, string_hash_to_newline("ROUNDUP"))
6
draw_set_halign(fa_left)
7
draw_text(40, 120, string_hash_to_newline("COMPLETION TIME:   " + string_minutes + ":" + string_seconds))
8
draw_text(40, 150, string_hash_to_newline("TOTAL DEATHS:   " + string(global.death_count_total)))
9
var dalv_killed = "No"
10
if (global.flag[17 Dalv fate] == 2)
11
    dalv_killed = "Yes"
12
draw_text(40, 180, string_hash_to_newline("DALV KILLED:   " + dalv_killed))
13
var martlet_killed = "No"
14
if (global.snowdin_flag[13] == 2)
15
    martlet_killed = "Yes"
16
draw_text(40, 220, string_hash_to_newline("MARTLET CHASED OFF:   " + martlet_killed))
17
var enemies_killed = 0
18
for (var i = 0; i < array_length_1d(global.kill_number); i++)
19
    enemies_killed += (20 - global.kill_number[i])
20
draw_text(40, 260, string_hash_to_newline("ENEMIES KILLED:   " + string(enemies_killed)))
21
var mo_items = 0
22
for (i = 0; i < array_length_1d(global.extra_flag); i++)
23
{
24
    if (global.extra_flag[i] == true)
25
        mo_items += 1
26
}
27
draw_text(40, 300, string_hash_to_newline("MO ITEMS BOUGHT:   " + string(mo_items)))
28
var slurpy_saved = "NO"
29
if (global.snowdin_flag[3] == 2)
30
    slurpy_saved = "YES"
31
draw_text(40, 320, string_hash_to_newline("SLURPY SAVED:   " + string(slurpy_saved)))
32
draw_set_alpha(1)
33
var micro_froggit = "NO"
34
if (global.flag[18 Micro Froggit fate] == 1)
35
    micro_froggit = "YES"
36
if (global.flag[18 Micro Froggit fate] == 2)
37
    micro_froggit = "KILLED"
38
draw_text(40, 340, string_hash_to_newline("MICRO FROGGIT FOUND:   " + string(slurpy_saved)))
39
draw_set_alpha(1)