public int move(int spaces) {
		if (active.onZubat) {
			if (spaces == 2 || spaces == 1) {
				return active.loc;
			}
		}
		if (active.onTentacool) {
			if (spaces == 1 || spaces == 6) {
				return active.loc;
			}
		}
		int start = active.loc;
		spaces = (int) (spaces * active.mult);
		int sign;
		if(spaces == 0){
			System.out.println(active.loc);
			sign = 0;
		}
		else{
			sign = spaces / Math.abs(spaces);
		}
		for (int i = 1; i <= Math.abs(spaces); i++) {
			if (tiles.get(start + i).isStop) {
				active.loc = start + (i * sign);
				break;
			} else {
				active.loc += sign;
			}
		}
		land();
		return active.loc;
	}