Undertale script viewer

← back to main script listing

gml_Object_obj_assortedtrash_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
con = 0;
15
if (y > 420)
16
    sprite_index = spr_watercomputer;
17
if (y > 500)
18
    sprite_index = spr_rustbike;
19
con = 0;
20
scr_depth
scr_depth

depth = 50000 - ((y * 10) + (sprite_height * 10));
();