Undertale script viewer

← back to main script listing

gml_Object_obj_stable_Create_0

(view raw script w/o annotations or w/e)
1
dsprite = spr_sans_d;
2
usprite = spr_sans_u;
3
lsprite = spr_sans_l;
4
rsprite = spr_sans_r;
5
dtsprite = spr_sans_d;
6
utsprite = spr_sans_u;
7
ltsprite = spr_sans_l;
8
rtsprite = spr_sans_r;
9
myinteract = 0;
10
facing = 0;
11
direction = 270;
12
talkedto = 0;
13
image_speed = 0;
14
open = 0;
15
scr_depth
scr_depth

depth = 50000 - ((y * 10) + (sprite_height * 10));
();
16
mysolid = instance_create(214, 52, obj_solidsmall);
17
if (global.flag[92 status_stable] > 0)
18
    open = 1;
19
if (global.flag[92 status_stable] > 3)
20
{
21
    open = 2;
22
    with (mysolid)
23
        instance_destroy();
24
}
25
con = 0;