Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_chefs_coinvfx_Step_0

(view raw script w/o annotations or w/e)
1
if (goto_score)
2
{
3
    var _gx = 500;
4
    var _gy = 20;
5
    move_towards_point(_gx, _gy, 16);
6
    if (y <= 48)
7
        depth = -25;
8
    if (point_distance(x, y, _gx, _gy) <= 16)
9
        instance_destroy();
10
}