Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_asgore_soul_capsule_Draw_73

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if (image_index > 0)
4
    draw_sprite_ext(spr_container_empty_open_front, 0, x, y, 2, 2, 0, soul_color, image_alpha)
5
if (flash_alpha > 0)
6
{
7
    draw_set_alpha(flash_alpha)
8
    shader_set(sh_flash)
9
    draw_sprite_ext(spr_container_empty_open_front, 0, x, y, image_xscale, image_yscale, 0, soul_color, image_alpha)
10
    with (obj_heart_battle_fighting_parent)
11
        draw_sprite_ext(spr_container_empty_open_front, 0, x, y, image_xscale, image_yscale, 0, c_white, image_alpha)
12
    shader_reset()
13
    draw_set_alpha(1)
14
}