Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_hotland_roof_cutscene_pacifist_Draw_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
draw_set_color(c_black)
4
draw_set_alpha(draw_alpha)
5
draw_rectangle(0, 0, room_width, room_height, false)
6
draw_set_alpha(1)
7
if instance_exists(obj_player_npc)
8
{
9
    shader_set(sh_yellow)
10
    draw_set_alpha(draw_clover_yellow_alpha)
11
    draw_sprite(obj_player_npc.sprite_index, obj_player_npc.image_index, obj_player_npc.x, obj_player_npc.y)
12
    draw_set_alpha(1)
13
    shader_reset()
14
}