Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_board_enemy_bullet_Draw_0

(view raw script w/o annotations or w/e)
1
siner++;
2
if ((siner % 2) == 0)
3
    colorsiner++;
4
sinamt = abs(sin(colorsiner / 3));
5
image_blend = merge_color(red, yellow, sinamt);
6
draw_self_board();
7
image_blend = merge_color(yellow, red, 0.5 + (sinamt / 2));
8
draw_sprite_ext(spr_smallbullet_outline, 0, round(x / 2) * 2, round(y / 2) * 2, 1, 1, 0, image_blend, 1);