Lillie did nothing wrong, it was GameFreak that made the game unplayable.
Lillie should have been the protagonist and it should have been a spinoff in the style of Persona except the "day" portions are eating Malasadas with Hau and listening to Lillie drone on about trauma and dreams while the "dungeon" portions are pokemon battles with a preset team that are all puzzle based.