if (type == 0)
draw_sprite_ext(sprite_index, global.flag[20 animation_index], x, y, 2, 2, 0, c_white, 1);
if (type == 1)
draw_sprite_ext(sprite_index, global.faceemotion, x, y, 2, 2, 0, c_white, 1);