Deltarune script viewer

← back to main script listing

gml_Object_obj_sneo_rotatingwall_bomb_Draw_0

(view raw script w/o annotations or w/e)
1
draw_self();
2
if (sprite_index == spr_mettaton_bomb2)
3
{
4
    for (var i = 1; i < 24; i++)
5
    {
6
        draw_sprite_ext(spr_mettaton_bomb3, image_index, x + (24 * i), y, image_xscale, image_yscale, 90, c_white, image_alpha);
7
        draw_sprite_ext(spr_mettaton_bomb3, image_index, x - (24 * i), y, image_xscale, image_yscale, 90, c_white, image_alpha);
8
        draw_sprite_ext(spr_mettaton_bomb3, image_index, x, y - (24 * i), image_xscale, image_yscale, 0, c_white, image_alpha);
9
        draw_sprite_ext(spr_mettaton_bomb3, image_index, x, y + (24 * i), image_xscale, image_yscale, 0, c_white, image_alpha);
10
    }
11
}