Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_jandroid_body_a_Draw_0

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