Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_bowll_bull_warning_Draw_0

(view raw script w/o annotations or w/e)
1
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, image_angle, c_white, image_alpha);
2
if (id_bull.x_dir != 0)
3
{
4
    draw_sprite_ext(sprite_index, image_index, x + disjoint, y, image_xscale, image_yscale, image_angle, c_white, image_alpha);
5
    draw_sprite_ext(sprite_index, image_index, x - disjoint, y, image_xscale, image_yscale, image_angle, c_white, image_alpha);
6
}
7
else
8
{
9
    draw_sprite_ext(sprite_index, image_index, x, y + disjoint, image_xscale, image_yscale, image_angle, c_white, image_alpha);
10
    draw_sprite_ext(sprite_index, image_index, x, y - disjoint, image_xscale, image_yscale, image_angle, c_white, image_alpha);
11
}