Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_chaseenemy_Draw_0

(view raw script w/o annotations or w/e)
1
if (facing == 0)
2
    draw_sprite_ext(sprite_index, walk_index, x, y, image_xscale, image_yscale, image_angle, image_blend, image_alpha);
3
if (facing == 1)
4
    draw_sprite_ext(sprite_index, walk_index, x + sprite_width, y, -image_xscale, image_yscale, image_angle, image_blend, image_alpha);