Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_board_enemy_pellet_Draw_0

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