Deltarune script viewer

← back to main script listing

gml_Object_obj_beatbullet_wall_Draw_0

(view raw script w/o annotations or w/e)
1
depth = 900000
2
siner += 0.5
3
y = 132
4
for (i = 0; i < 10; i++)
5
{
6
    draw_sprite_ext(spr_beatbullet_smol, 0, (x + (sin(i + siner / 4)) * 40), (y - i * 30), 2, 2, 90, c_white, 0.8)
7
    draw_sprite_ext(spr_beatbullet_smol, 0, (x - (sin(i + siner / 4)) * 40), (y - i * 30), 2, 2, -90, c_white, 0.8)
8
}
9
for (i = 0; i < 4; i++)
10
{
11
    var alphaadd = (sin(siner / 4 + i)) * 0.1
12
    if (global.flag[8 simplify_vfx] == 1)
13
        alphaadd = 0
14
    draw_sprite_ext(spr_beatbullet_smol, 0, (x + 60), (y - i * 30), 2, 2, 90, c_white, (0.9 + alphaadd))
15
    draw_sprite_ext(spr_beatbullet_smol, 0, (x - 60), (y - i * 30), 2, 2, -90, c_white, (0.9 + alphaadd))
16
}