Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_funnytext_Draw_0

(view raw script w/o annotations or w/e)
1
if (typingstyle == 0)
2
{
3
    draw_sprite_ext(sprite_index, image_index, x + random_range(-charshake, charshake), y + random_range(-charshake, charshake), image_xscale, image_yscale, image_angle, image_blend, image_alpha);
4
}
5
else if (typingstyle == 1)
6
{
7
    for (var ti = 0; ti < charmax; ti++)
8
        draw_sprite_ext(sprite_index, ti, x + random_range(-charshake, charshake), y + random_range(-charshake, charshake), image_xscale, image_yscale, image_angle, image_blend, image_alpha);
9
}
10
else
11
{
12
    draw_self();
13
}