Undertale script viewer

← back to main script listing

gml_Object_obj_lock_and_key_Create_0

(view raw script w/o annotations or w/e)
1
myinteract = 0;
2
image_xscale = 1;
3
image_yscale = 1;
4
salad = instance_create(x, y + 5, obj_solidexwide);
5
if (global.flag[454 unlocked_latchkey] == 1)
6
{
7
    with (salad)
8
        instance_destroy();
9
    instance_destroy();
10
}
11
con = 0;