Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_shutta_falling_item_Step_0

(view raw script w/o annotations or w/e)
1
if (falling)
2
{
3
    fall_time++;
4
    y = ease_out_bounce(fall_time, start_y, final_y - start_y - (bbox_bottom - y), fall_duration);
5
    if (fall_time == fall_duration)
6
        falling = false;
7
}
8
if (sprite_index == spr_realisticexplosion && image_index >= 11 && image_index < 14)
9
    image_index = 14;