Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_petal_pile_Draw_0

(view raw script w/o annotations or w/e)
1
if (!surface_exists(global.attack_surface))
2
{
3
    draw_self()
4
    return;
5
}
6
surface_set_target(global.attack_surface)
7
draw_sprite_ext(sprite_index, image_index, (x - global.attack_surface_x), (y - global.attack_surface_y), image_xscale, image_yscale, image_angle, c_white, image_alpha)
8
draw_set_color(c_black)
9
draw_rectangle(bbox_left, bbox_bottom, bbox_right, (bbox_bottom + 480), false)
10
surface_reset_target()