Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_solid_temp_Step_2

(view raw script w/o annotations or w/e)
1
if (active)
2
{
3
    with (mysolid)
4
    {
5
        x = other.x;
6
        y = other.y;
7
        image_xscale = other.image_xscale;
8
        image_yscale = other.image_yscale;
9
        image_angle = other.image_angle;
10
        sprite_index = other.sprite_index;
11
        image_index = other.image_index;
12
    }
13
}
14
else
15
{
16
    with (mysolid)
17
    {
18
        if (x == other.x)
19
        {
20
            x = room_width + room_height;
21
            y = x;
22
        }
23
    }
24
}