Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_beatbullet_Draw_0

(view raw script w/o annotations or w/e)
1
draw_self();
2
draw_set_color(c_white);
3
var _percent = max(0, framesAway / frames);
4
var _yDiff = abs(ystart - endY);
5
draw_set_color(c_red);
6
draw_rectangle(x, y - 60, x + 100, (y - 60) + 20, false);
7
draw_set_color(c_white);
8
draw_set_halign(fa_left);
9
draw_set_valign(fa_top);