Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_npc_susiedark_Step_1

(view raw script w/o annotations or w/e)
1
if (myinteract == 0)
2
    facing = dfacing;
3
scr_npcdir
scr_npcdir

function scr_npcdir() { if (facing == 0) sprite_index = dtsprite; if (facing == 1) sprite_index = rtsprite; if (facing == 2) sprite_index = utsprite; if (facing == 3) sprite_index = ltsprite; }
();
4
image_index = 0;