Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_chefs_evilguest_Step_2

related scripts: Alarm_0 • Alarm_1 • Collision_obj_chefs_kris • Collision_obj_chefs_stackbox • Create_0 • Step_0 • Step_2

(view raw script w/o annotations or w/e)
1
if (x < xprevious)
2
    image_xscale = abs(image_xscale);
3
if (x > xprevious)
4
    image_xscale = -abs(image_xscale);