function enemy_dummy_ai()
{
	x_spd = 0;
	y_spd = 0;
	
	switch(state)
	{
		case "IDLE":
			if hitstun_timer == hitstun_max
			{
				if facing_y == -1
				{
					state = "COUNTER_UP";
					set_sprite(sEnemyDummyCounter);
					
					var _indi = icl(oEnemyDummyIndicator, x, y - 192);
					_indi.image_angle = 90;
				}
				else
				{
					state = "COUNTER_VER";
					set_sprite(sEnemyDummyCounter);
					
					var _indi = icl(oEnemyDummyIndicator, x, y - 96);
					_indi.image_xscale = facing_x;
				}
			}
			facing_x = sign(global.player.x - x);
			facing_y = sign(global.player.y + sprite_height - y);
			break;
			
		case "COUNTER_UP":
			if animation_end()
			{
				var _hb = enemy_create_hitboxBC(144, 384, 0, -192, 10);
				//_hb.damage = 2;
				
				state = "ATTACK";
				set_sprite(sEnemyDummyAttack);
			}
			break;
			
		case "COUNTER_VER":
			if animation_end()
			{
				var _hb = enemy_create_hitboxML(384, 144, 0, -96, 10);
				//_hb.damage = 2;
				
				state = "ATTACK";
				set_sprite(sEnemyDummyAttack);
			}
			break;
			
		case "ATTACK":
			if animation_end()
			{
				state = "IDLE";
				set_sprite(sEnemyDummyIdle);
			}
			break;
	}
}