Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_enemy_marker_Step_2

(view raw script w/o annotations or w/e)
1
if (updatefacing)
2
{
3
    if (x < xprevious)
4
        facing = 0;
5
    if (x > xprevious)
6
        facing = 1;
7
}