public void teleport(){
		if(player.teleportationRing) c.println("You activate your ring of teleportation.");
		else{
			c.println("You activate one of your scrolls of teleportation.");
			player.teleportationScrolls--;
		}
		if(d20.roll()>10){
			c.println("You fail to control the spell and you end up in a random location.");
			x=dSize.flip(); y=dSize.flip();
		}
		else{
			int xShift=c.readInteger("How far east do you want to travel? ");
			int yShift=c.readInteger("How far south do you want to travel? ");
			x+=xShift;
			y+=yShift;
			if(x>=size)x=size-1;
			if(x<0)x=0;
			if(y>=size)y=size-1;
			if(y<0)y=0;
		}
		c.println("Whoosh!");
		if (!maze.room[y][x].explored){
			maze.room[y][x].explored=true;
			noRooms++;
		}
		if(player.teleportationRing){
			if(d20.roll()>18) {
				c.println("Your ring of teleportation breaks under the stress of constant use!");
				player.teleportationRing=false;
			}
		}
	}