Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_mizzle_spotlight_eye_Draw_0

(view raw script w/o annotations or w/e)
1
if (con != 1 || (timer % 2) != 0)
2
{
3
    if (sprite_index == spr_almond)
4
        draw_sprite_ext(sprite_index, image_index, xprevious, yprevious, image_xscale, image_yscale, image_angle, c_gray, image_alpha);
5
    draw_self();
6
    if (sprite_index == spr_almond)
7
        draw_sprite(spr_almond_iris, 0, x + lengthdir_x(speed, direction), y + lengthdir_y(speed, direction));
8
}