Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_goosic_body_b_Draw_0

(view raw script w/o annotations or w/e)
1
if (sprite_index != -4)
2
    draw_self()
3
if (global.enemy_dead || global.enemy_spared)
4
{
5
    draw_set_color(c_black)
6
    draw_set_alpha(1 - image_alpha)
7
    draw_rectangle(0, 0, 640, 244, false)
8
    draw_set_alpha(1)
9
}