Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_ceroba_phase_2_shield_Draw_73

(view raw script w/o annotations or w/e)
1
if (draw_alpha > 0)
2
{
3
    draw_set_alpha(draw_alpha);
4
    draw_set_color(c_black);
5
    draw_rectangle(0, 0, 640, 480, false);
6
    draw_set_alpha(1);
7
    draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, image_angle, c_white, image_alpha);
8
    draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, 0, c_white, image_alpha);
9
    if (instance_exists(obj_ceroba_phase_2_bell))
10
    {
11
        with (obj_ceroba_phase_2_bell)
12
            draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, image_angle, c_white, image_alpha);
13
    }
14
}