function	script	F_FreeHG	{
	setarray .@freehg[1],19561,19587,19883,19903,19970,19979,20071,20202,20278,20393,20399,20514,30200,30201,30202,30203,30205,30206,30207,30210,30212,30213,30214,30215,30220,30221,30223,30226,30227,30229,30230,30231,30232,30233,30234,30236,30237,30239,30241,30243,31160,31261,19973,20450,31123,31195,31204,31389;
	if(getarg(0) == 4){
		getitembound .@freehg[rand(1,getarraysize(.@freehg))], 1,4;
	} else if(getarg(0) == 2){
		getitembound .@freehg[rand(1,getarraysize(.@freehg))], 1,2;
	} else if(getarg(0) == 1){
		getitem .@freehg[rand(1,getarraysize(.@freehg))], 1;	
	}	
	end;
}
function	script	F_GrowthPack	{
	if (getarg(0) == 1){
		.@ret = checkweight(
			Growth_Pack_10,1,
			Online_Coin,1,
			Preschool_Hat_F,1,
			Light_White_Pot_F,300,
			Light_Blue_Pot_F,100,
			Wing_Of_Fly_F,10,
			Wing_Of_Butterfly_F,5,
			Thick_Manual50,3,
			Battle_Manual_X3,1
		);
		if(.@ret){
			delitem Growth_Pack_1,1;
			getitembound Growth_Pack_10,1,4;
			getitembound Online_Coin,1,4;
			getitembound Preschool_Hat_F,1,4;
			getitembound Light_White_Pot_F,300,4;
			getitembound Light_Blue_Pot_F,100,4;
			getitembound Wing_Of_Fly_F,10,4;
			getitembound Wing_Of_Butterfly_F,5,4;
			getitembound Thick_Manual50,3,4;
			getitembound Battle_Manual_X3,1,4;
			Zeny += 500;
		} else {
			dispbottom "You might get overweight. Please store some items and try again.";
		}
	} else if (getarg(0) == 10){
		.@ret = checkweight(
			Growth_Pack_20,1,
			Wing_Of_Fly_F,10,	
			Wing_Of_Butterfly_F,5,
			Thick_Manual50,3
		);
		if(.@ret){
			delitem Growth_Pack_10,1;
			getitembound Growth_Pack_20,1,4;
			getitembound Wing_Of_Fly_F,10,4;
			getitembound Wing_Of_Butterfly_F,5,4;
			getitembound Thick_Manual50,3,4;
			Zeny += 2000;
		} else {
			dispbottom "You might get overweight. Please store some items and try again.";
		}
	} else if (getarg(0) == 20){
		.@ret = checkweight(
			Growth_Pack_30,1,
			Wing_Of_Fly_F,10,
			Wing_Of_Butterfly_F,5,
			Bubble_Gum,1,
			Light_White_Pot_F,300,
			Light_Blue_Pot_F,100,
			Dish_Pack_A,1,
			Thick_Manual50,3
		);
		if(.@ret){
			delitem Growth_Pack_20,1;
			getitembound Growth_Pack_30,1,4;
			getitembound Wing_Of_Fly_F,10,4;
			getitembound Wing_Of_Butterfly_F,5,4;
			getitembound Bubble_Gum,1,4;
			getitembound Light_White_Pot_F,300,4;
			getitembound Light_Blue_Pot_F,100,4;
			getitembound Dish_Pack_A,1,4;
			getitembound Thick_Manual50,3,4;
			Zeny += 5000;
		} else {
			dispbottom "You might get overweight. Please store some items and try again.";
		}
	} else if (getarg(0) == 30){
		.@ret = checkweight(
			Growth_Pack_40,1,
			Bubble_Gum,1,
			Light_White_Pot_F,300,
			Light_Blue_Pot_F,100,
			Thick_Manual50,3,
			Premium_Reset_Stone,1
		);
		if(.@ret){
			delitem Growth_Pack_30,1;
			getitembound Growth_Pack_40,1,4; 
			getitembound Bubble_Gum,1,4;
			getitembound Light_White_Pot_F,300,4;
			getitembound Light_Blue_Pot_F,100,4;
			getitembound Thick_Manual50,3,4;
			getitembound Premium_Reset_Stone,1,4;
			callfunc "F_FreeHG",1;
			Zeny += 10000;
		} else {
			dispbottom "You might get overweight. Please store some items and try again.";
		}
	} else if (getarg(0) == 40){
		.@ret = checkweight(
			Growth_Pack_50,1,
			Neuralizer,1,
			Branch_Of_Dead_Tree,5,
			Old_Blue_Box,1,
			Dish_Pack_A,2,
			Elunium,2,
			Bubble_Gum,2,
			Light_White_Pot_F,300,
			Light_Blue_Pot_F,100,
			Thick_Manual50,3
		);
		if(.@ret){
			delitem Growth_Pack_40,1;
			getitembound Growth_Pack_50,1,4; 
			getitembound Neuralizer,1,4;
			getitembound Branch_Of_Dead_Tree,5,4;
			getitembound Old_Blue_Box,1,4;
			getitembound Dish_Pack_A,2,4;
			getitembound Elunium,2,4;
			getitembound Bubble_Gum,2,4;
			getitembound Light_White_Pot_F,300,4;
			getitembound Light_Blue_Pot_F,100,4;
			getitembound Thick_Manual50,3,4;
			Zeny += 20000;
		} else {
			dispbottom "You might get overweight. Please store some items and try again.";
		}
	} else if (getarg(0) == 50){
		.@ret = checkweight(
			Growth_Pack_60,1,
			Inspector_Certificate,10,
			Bubble_Gum,2,
			Light_White_Pot_F,300,
			Light_Blue_Pot_F,100,
			Thick_Manual50,3
		);
		if(.@ret){
			delitem Growth_Pack_50,1;
			getitembound Growth_Pack_60,1,4; 
			getitembound Inspector_Certificate,10,4;
			getitembound Bubble_Gum,2,4;
			getitembound Light_White_Pot_F,300,4;
			getitembound Light_Blue_Pot_F,100,4;
			getitembound Thick_Manual50,3,4;
			Zeny += 30000;
		} else {
			dispbottom "You might get overweight. Please store some items and try again.";
		}
	} else if (getarg(0) == 60){
		.@ret = checkweight(
			Growth_Pack_70,1,
			Bubble_Gum,2,
			Branch_Of_Dead_Tree,10,
			Old_Violet_Box,1,
			Dish_Pack_B,1,
			Elunium,2,
			Light_White_Pot_F,300,
			Light_Blue_Pot_F,100,
			Thick_Manual50,3
		);
		if(.@ret){
			delitem Growth_Pack_60,1;
			getitembound Growth_Pack_70,1,4; 
			getitembound Bubble_Gum,2,4;
			getitembound Branch_Of_Dead_Tree,10,4;
			getitembound Old_Violet_Box,1,4;
			getitembound Dish_Pack_B,1,4;
			getitembound Elunium,2,4;
			getitembound Light_White_Pot_F,300,4;
			getitembound Light_Blue_Pot_F,100,4;
			getitembound Thick_Manual50,3,4;
			Zeny += 40000;
		} else {
			dispbottom "You might get overweight. Please store some items and try again.";
		}
	} else if (getarg(0) == 70){
		.@ret = checkweight(
			Growth_Pack_80,1,
			Bubble_Gum,2,
			Branch_Of_Dead_Tree,10,
			Old_Violet_Box,1,
			Dish_Pack_B,1,
			Elunium,2,
			Light_White_Pot_F,300,
			Light_Blue_Pot_F,100,
			Thick_Manual50,3
		);
		if(.@ret){
			delitem Growth_Pack_70,1;
			getitembound Growth_Pack_80,1,4; 
			getitembound Bubble_Gum,2,4;
			getitembound Branch_Of_Dead_Tree,10,4;
			getitembound Old_Violet_Box,1,4;
			getitembound Dish_Pack_B,1,4;
			getitembound Elunium,2,4;
			getitembound Light_White_Pot_F,300,4;
			getitembound Light_Blue_Pot_F,100,4;
			getitembound Thick_Manual50,3,4;
			Zeny += 50000;
		} else {
			dispbottom "You might get overweight. Please store some items and try again.";
		}
	} else if (getarg(0) == 80){
		.@ret = checkweight(
			Growth_Pack_90,1, 
			Bubble_Gum,2,
			Branch_Of_Dead_Tree,10,
			Old_Violet_Box,1,
			Dish_Pack_B,1,
			Elunium,2,
			Light_White_Pot_F,300,
			Light_Blue_Pot_F,100,
			Thick_Manual50,3
		);
		if(.@ret){
			delitem Growth_Pack_80,1;
			getitembound Growth_Pack_90,1,4; 
			getitembound Bubble_Gum,2,4;
			getitembound Branch_Of_Dead_Tree,10,4;
			getitembound Old_Violet_Box,1,4;
			getitembound Dish_Pack_B,1,4;
			getitembound Elunium,2,4;
			getitembound Light_White_Pot_F,300,4;
			getitembound Light_Blue_Pot_F,100,4;
			getitembound Thick_Manual50,3,4;
			Zeny += 60000;
		} else {
			dispbottom "You might get overweight. Please store some items and try again.";
		}
	} else if (getarg(0) == 90){
		.@ret = checkweight(
			Growth_Pack_99,1, 
			Dish_Pack_B,10,
			Bubble_Gum,2,
			Light_White_Pot_F,300,
			Light_Blue_Pot_F,100,
			Thick_Manual50,3
		);
		if(.@ret){
			delitem Growth_Pack_90,1;
			getitembound Growth_Pack_99,1,4; 
			getitembound Dish_Pack_B,10,4;
			getitembound Bubble_Gum,2,4;
			getitembound Light_White_Pot_F,300,4;
			getitembound Light_Blue_Pot_F,100,4;
			getitembound Thick_Manual50,3,4;
			Zeny += 70000;
		} else {
			dispbottom "You might get overweight. Please store some items and try again.";
		}
	} else if (getarg(0) == 99){
		.@ret = checkweight(
			Yggdrasilberry,20,
			Bloody_Dead_Branch,5,
			Bubble_Gum,10,
			Dish_Pack_B,10,
			Light_White_Pot_F,300,
			Light_Blue_Pot_F,100
		);
		if(.@ret){
			delitem Growth_Pack_99,1;
			getitembound Yggdrasilberry,20,4;
			getitembound Bloody_Dead_Branch,5,4;
			getitembound Bubble_Gum,10,4;
			getitembound Dish_Pack_B,10,4;
			getitembound Light_White_Pot_F,300,4;
			getitembound Light_Blue_Pot_F,100,4;
			callfunc "F_FreeHG",1;
			Zeny += 100000;
		} else {
			dispbottom "You might get overweight. Please store some items and try again.";
		}
	} else {
		dispbottom "Invalid";
	}
	return;
}