Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_silhouette_simple_Step_2

(view raw script w/o annotations or w/e)
1
if (target)
2
{
3
    x = target.x;
4
    y = target.y;
5
    depth = target.depth - 1;
6
    sprite_index = target.sprite_index;
7
    image_xscale = target.image_xscale;
8
    image_yscale = target.image_yscale;
9
    image_index = target.image_index;
10
    image_angle = target.image_angle;
11
}