Deltarune script viewer

← back to main script listing

gml_Object_obj_controller_city_mice3_Draw_0

(view raw script w/o annotations or w/e)
1
if (solve != 2)
2
{
3
    draw_sprite_ext(spr_mice3_progressBar, 0, 326, 164, 2, 2, 0, c_white, 1);
4
    scr_84_set_draw_font
scr_84_set_draw_font

function scr_84_set_draw_font(arg0) { global.chemg_font = arg0; draw_set_font(scr_84_get_font(arg0)); }
("main");
5
    if (micescore < 10)
6
        draw_set_color(c_white);
7
    else
8
        draw_set_color(c_lime);
9
    language = 0;
10
    draw_set_halign(fa_left);
11
    if (language == 0)
12
        draw_text_transformed(342, 173, string_copy(stringsetloc(
ILOVEMOUSE
"ILOVEMOUSE", "obj_controller_city_mice3_slash_Draw_0_gml_18_0"
), 1, micescore), 2, 2, 0);
13
    if (language == 1)
14
        draw_text_transformed(342, 173, string_copy(stringsetloc(
ILUVNEZUMI
"ILUVNEZUMI", "obj_controller_city_mice3_slash_Draw_0_gml_20_0"
), 1, micescore), 2, 2, 0);
15
    draw_set_color(c_red);
16
    draw_set_halign(fa_right);
17
    draw_text_transformed(484, 173, string_copy("??????????", micescore + 1, 10 - micescore), 2, 2, 0);
18
}
19
draw_set_color(c_white);
20
draw_set_halign(fa_left);
21
if (weird == true)
22
{
23
    if (drawshine == true)
24
    {
25
        draw_sprite_ext(spr_mouseHole, 0, 200, 240, 2, 2, 0, c_white, 1);
26
        shineindex += 0.25;
27
        draw_sprite_ext(spr_shine, shineindex, 215, 270, 2, 2, 0, c_white, 1);
28
    }
29
}