Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_npc_toriel_Create_0

(view raw script w/o annotations or w/e)
1
dtsprite = spr_toriel_dt;
2
rtsprite = spr_toriel_rt;
3
ltsprite = spr_toriel_lt;
4
utsprite = spr_toriel_ut;
5
myinteract = 0;
6
facing = 0;
7
dfacing = 0;
8
image_speed = 0;
9
scr_depth
scr_depth

function
scr_depth()
{ if (argument_count > 0) { with (argument0) depth = 100000 - ((y * 10) + (sprite_height * 10)); } else { depth = 100000 - ((y * 10) + (sprite_height * 10)); } }
();