Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_martlet_attack_block_arrow_static_Draw_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
var draw_alpha = 1
4
if (cooldown_timer < cooldown_timer_max)
5
    draw_alpha = 0.25
6
draw_sprite_ext(sprite_index, image_index, x, y, 1, 1, image_angle, image_blend, draw_alpha)
7
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, image_angle, image_blend, image_alpha)