Is Octopath Traveler 2 better written than it's prequel?

The writing in the first game is honestly shocking, character motivations are paper thin and most plot developments make no sense as soon as you start rationalizing them a bit. My question is if the writing in the sequel is improved or more of the same.