Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_surface_drawer_Draw_72

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