Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_barrier_container_surface_Draw_72

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if (!surface_exists(global.attack_surface))
4
    global.attack_surface = surface_create(global.attack_surface_width, global.attack_surface_height)
5
surface_set_target(global.attack_surface)
6
draw_clear_alpha(c_black, 0)
7
surface_reset_target()