Deltarune script viewer

← back to main script listing

gml_Object_obj_mauswheel_cursor_Draw_0

(view raw script w/o annotations or w/e)
1
draw_self();
2
draw_set_color(c_white);
3
if (image_blend == c_yellow && timer >= 20 && timer <= 60)
4
{
5
    draw_set_halign(fa_right);
6
    draw_text_ext_transformed(x - 15, y - 2, stringsetloc(
Movements from turn 2
"Movements from turn 2", "obj_mauswheel_cursor_slash_Draw_0_gml_10_0"
), 9999, 9999, 0.6, 0.6, 0);
7
}
8
if (image_blend == c_red && timer >= 20 && timer <= 60 && instance_number(obj_mauswheel_cursor) == 1)
9
{
10
    draw_set_halign(fa_left);
11
    draw_text_ext_transformed(x + 30, y - 2, stringsetloc(
Movements from turn 1
"Movements from turn 1", "obj_mauswheel_cursor_slash_Draw_0_gml_11_0"
), 9999, 9999, 0.6, 0.6, 0);
12
}
13
draw_set_halign(fa_left);