draw_sprite_ext(sprite_index, -1, x, y, 1, 1, image_angle div 22.5, c_white, 1);


if (armor == 1 || bonusArmor) {
	armorImageIndex += armorImageSpeed + armorImageSpeedRandom;
	if (armorImageIndex >= armorImageNumber) {
		armorImageIndex = 0;
	}
	if (armor == 1) {
		draw_sprite(spr_enemyArmor, armorImageIndex, x, y);
	} else if (bonusArmor) {
		draw_sprite(spr_armor1, armorImageIndex, x, y);
	}
}

/*draw_set_color(c_red);
var _targetX = (x - xprevious) * 100000;
var _targetY = (y - yprevious) * 100000;
draw_line(x, y, _targetX, _targetY);*/