Undertale script viewer

← back to main script listing

gml_Object_obj_gyftrotgift_Step_0

(view raw script w/o annotations or w/e)
1
if (active == 1)
2
{
3
    if (instance_exists(obj_gyftrothead) && gift != 1 && gift != 7 && gift != 9)
4
    {
5
        x = obj_gyftrothead.x;
6
        y = obj_gyftrothead.y;
7
    }
8
    else if (instance_exists(obj_gyftrot))
9
    {
10
        x = obj_gyftrot.x;
11
        y = obj_gyftrot.y;
12
    }
13
}