Undertale script viewer

← back to main script listing

gml_Object_obj_lighttower_Draw_0

(view raw script w/o annotations or w/e)
1
draw_sprite(spr_lighttower, 0, x, y);
2
draw_sprite(spr_towersymbol_off, ts / 6, x + 25, y + 11);
3
if (on == 1)
4
{
5
    draw_sprite(spr_towersymbol_on, ts / 6, x + 25, y + 11);
6
    ts += 1;
7
}