Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_mouse_traffic_Draw_0

(view raw script w/o annotations or w/e)
1
imageindex += 0.25;
2
if (con == 0)
3
    image_angle = -90;
4
if (con == 1)
5
    image_angle = -180;
6
if (con == 2)
7
    image_angle = -270;
8
draw_sprite_ext(spr_holemouse, imageindex, x, y, 2, 2, image_angle, c_white, 1);
9
draw_sprite_ext(spr_holemouse_tail, imageindex, x, y, 2, 2, image_angle, c_white, 1);