Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_ch5_LW07_thrashfit_stats_Draw_0

(view raw script w/o annotations or w/e)
1
for (var i = 0; i < _stat_total; i++)
2
{
3
    draw_sprite_ext(_sprite, i, camerax() + 420, cameray() + 120 + (24 * i), 2, 2, 0, statcolor[i], 1);
4
    for (var j = 0; j < get_star_amount(i); j++)
5
        draw_sprite_ext(spr_thrashstar, i, camerax() + 490 + (j * 20), cameray() + 120 + (24 * i), 2, 2, 0, statcolor[i], 1);
6
}