Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_ch2_room_mansion_dining_Create_0

(view raw script w/o annotations or w/e)
1
swatchling_npc_a = instance_create(470, 205, obj_npc_butler);
2
with (swatchling_npc_a)
3
    scr_depth
scr_depth

function scr_depth() { depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
4
swatchling_npc_b = instance_create(750, 205, obj_npc_butler);
5
with (swatchling_npc_b)
6
    scr_depth
scr_depth

function scr_depth() { depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
7
with (swatchling_npc_b)
8
    current_pal = yellow;