Beating Starfy comes down to defeating Mega Mash Tooth and then Trla.
Those are the two encounters standing between you and the ending, so clearing them in order wraps up the game. If either fight is giving you trouble, a level or two of extra grinding makes a noticeable difference to how the battles go.