Deltarune (Chapter 2) script viewer

← back to main script listing

gml_GlobalScript_scr_move_precise

(view raw script w/o annotations or w/e)
1
function 
scr_move_precise
scr_move_precise

function
scr_move_precise(arg0, arg1, arg2)
{ _moveprecise = instance_create(x, y, obj_move_precise); _moveprecise.target = id; _moveprecise.type = arg0; if (arg1 != 0) _moveprecise.xOrientation = arg1; if (arg2 != 0) _moveprecise.yOrientation = arg2; with (_moveprecise) event_user(0); return _moveprecise; }
(arg0, arg1, arg2)
2
{
3
    _moveprecise = instance_create(x, y, obj_move_precise);
4
    _moveprecise.target = id;
5
    _moveprecise.type = arg0;
6
    if (arg1 != 0)
7
        _moveprecise.xOrientation = arg1;
8
    if (arg2 != 0)
9
        _moveprecise.yOrientation = arg2;
10
    with (_moveprecise)
11
        event_user(0);
12
    return _moveprecise;
13
}