public void ChangeMap(int toChange) {
		Engine.changingMaps = true;
		MOBS[0].map=toChange;
		currentab = 0;
		def.Frame.gp.blankScreen = true;
		currentmap = toChange;
		BLOCKS = new Block[Engine.mfo.WFH[currentmap].ReadWorldLayers][Engine.mfo.WFH[currentmap].ReadWorldH][Engine.mfo.WFH[currentmap].ReadWorldW];
		ID = Engine.mfo.WFH[currentmap].ReadBlockID;
		BuildBlocks();
		def.Frame.gp.blankScreen = false;
		Engine.changingMaps = false;
	}