Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_maus_cursor_follow_Draw_0

(view raw script w/o annotations or w/e)
1
var count = instance_number(obj_maus_cursor_trail);
2
for (i = 0; i < count; i++)
3
{
4
    var trail = instance_find(obj_maus_cursor_trail, i);
5
    draw_sprite_ext(spr_maus_cursor, 0, trail.x, trail.y, 1, 1, image_angle, trail.image_blend, 1);
6
}
7
draw_self();
8
draw_set_color(c_white);
9
if (timer >= 10 && timer <= 70 && !instance_exists(obj_mauswheel_cursor))
10
{
11
    textflash++;
12
    if (textflash > 2)
13
        textflash = 0;
14
}