int script_1393(int arg0) {
	int ivar1;
	if (arg0 <= 0) {
		return -1;
	}
	arg0 = subtract(arg0, 1);
	ivar1 = getItemContainerLength(94);
	if (arg0 < ivar1) {
		return getItemAmtInSlot(94, arg0);
	}
	arg0 = subtract(arg0, ivar1);
	if (arg0 < getItemContainerLength(93)) {
		return getItemAmtInSlot(93, arg0);
	}
	return -1;
}
