Undertale script viewer

← back to main script listing

gml_Object_obj_spidergirl_shop_Step_1

(view raw script w/o annotations or w/e)
1
scr_depth
scr_depth

depth = 50000 - ((y * 10) + (sprite_height * 10));
(0, 0, 0, 0, 0);
2
if (myinteract > 0)
3
{
4
    sprite_index = spr_muffet_buysell;
5
    if (instance_exists(OBJ_WRITER))
6
    {
7
        if (OBJ_WRITER.halt == 0)
8
            image_speed = 0.1;
9
    }
10
}
11
else
12
{
13
    sprite_index = spr_muffet_overworld;
14
    image_index = 0;
15
    image_speed = 0;
16
}