Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_swatch_potchaser_Draw_0

(view raw script w/o annotations or w/e)
1
draw_self();
2
sweattimer++;
3
if (sweattimer == 30)
4
    sweattimer = 0;
5
if (sweattimer <= 15)
6
{
7
    if (sprite_index == spr_npc_swatchling_scared)
8
        draw_sprite_ext(spr_defeatsweat, 0, x + 90, y - 2, image_xscale * -1, image_yscale, 0, c_white, 1);
9
}