Undertale script viewer

← back to main script listing

gml_Object_obj_blockbullet_Draw_0

(view raw script w/o annotations or w/e)
1
if (hspeed > 0)
2
    draw_sprite_ext(spr_bullet_test_l, image_index, x, y, 1, 1, 0, c_white, image_alpha);
3
if (hspeed < 0)
4
    draw_sprite_ext(spr_bullet_test_r, image_index, x, y, 1, 1, 0, c_white, image_alpha);
5
if (vspeed > 0)
6
    draw_sprite_ext(spr_bullet_test_d, image_index, x, y, 1, 1, 0, c_white, image_alpha);
7
if (vspeed < 0)
8
    draw_sprite_ext(spr_bullet_test_u, image_index, x, y, 1, 1, 0, c_white, image_alpha);