Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_screen_shatter_effect_Step_0

(view raw script w/o annotations or w/e)
1
for (var i = 0; i < total_number; i++)
2
{
3
    piece_x[i] += piece_hsp[i]
4
    piece_y[i] += piece_vsp[i]
5
    piece_vsp[i] += piece_grav
6
}
7
timer--
8
if (timer < 0)
9
    instance_destroy()