Find the maximum value of $x$ so that the following equation has an integer solution.
$ y^5 + 2xy = x^2 + 2y^4 $