Undertale script viewer

← back to main script listing

gml_Object_obj_mettaton_actor_Step_0

(view raw script w/o annotations or w/e)
1
if (d == 0)
2
    scr_depth
scr_depth

depth = 50000 - ((y * 10) + (sprite_height * 10));
();
3
if (global.flag[20 animation_index] < 7)
4
    sprite_index = m[global.flag[20 animation_index]];