Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_vertical_dark_shockwave1_Draw_0

(view raw script w/o annotations or w/e)
1
draw_self();
2
if (con == 2 || (con == 1 && timer >= 30))
3
{
4
    if (position == "below")
5
    {
6
        for (i = 0; i < 8; i += 1)
7
            draw_sprite_ext(spr_vertical_dark_shockwave_square, image_index, x, y - (i * 80) - 3, laser_xscale, 1, image_angle, image_blend, image_alpha);
8
    }
9
    if (position == "above")
10
    {
11
        for (i = 0; i < 8; i += 1)
12
            draw_sprite_ext(spr_vertical_dark_shockwave_square, image_index, x, y + 80 + (i * 80) + 3, laser_xscale, 1, image_angle, image_blend, image_alpha);
13
    }
14
}