Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_chaseenemy_zapper_Draw_0

(view raw script w/o annotations or w/e)
1
if (drawtype == 0)
2
{
3
    if (facing == 0)
4
        draw_sprite_ext(mysprite, animindex, round(x - 62), round(y - 130), 2, 2, 0, c_white, 1);
5
    if (facing == 1)
6
        draw_sprite_ext(mysprite, animindex, round(x + 62), round(y - 130), -2, 2, 0, c_white, 1);
7
    if (animindex > 9)
8
        animindex -= 9;
9
}
10
if (drawtype == 1)
11
    draw_self();