The developer demonstrates in this Twitter thread how it's accomplished for The Last Night and why it's implementation is somewhat disappointing in Octopath Traveler.
Take a look at the full thread and breakdown here:
https://twitter.com/timsoret/status/1017673147590561793
Take a look at the full thread and breakdown here:
https://twitter.com/timsoret/status/1017673147590561793