Undertale script viewer

← back to main script listing

gml_Object_obj_smallfrog_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 (global.kills > 16)
3
    instance_destroy();
4
if (room == room_ruins17 && global.kills > 0)
5
    instance_destroy();
6
if (room == room_ruins7 && global.kills > 0)
7
    instance_destroy();