event_inherited();

hp = 240;

credit = 50;

enemy_ai = hex_ai;

hitbox = enemy_create_hitboxMC(160, 160);

side_len = 128;
roll_spd = 0;
roll_acc = 0;
roll_angle = 0;

dir = 0;
acc = 0;
spd = 0;
x_acc = 0;
y_acc = 0;

pivot_x = 0;
pivot_y = 0;

state = "IDLE";

rebounce_timer = 0;

angle_alter = 0;

cnt = 0;

last_attack = -1;

depth = 10;

base_y = 916;

death_callback = function()
{
	with(oEnemyHex)
	{
		x_spd_kb = choose(-1, 1) * 15;
		y_spd_kb = 0;
		enemy_death();
	}
	screen_shake(30);
	global.time_scale_t = 0;
	global.time_scale = 0.05;
	global.camera.smooth = 0.1;
	global.camera.follow = global.player;
}