Imagine following scenario: when player character dies, background music stops, special "game over" sound is played and player is given choice to restart the game or open Jump To dialog. When the player jumps back to selected bookmark, background music resumes.
I tried to implement this using PassageHeader where <<if>> checks if user visited certain passages, but apparently Jump To completely erases not only current history, but expired too, because both State.hasPlayed(passageTitle) and visited([passages…]) return false when I check for that passage where death happened. I also tried visitedTags, previous and even using variables, just in case.
The only solution I see now is to write flag into localStorage, but this will open a whole new can of worms. Am I missing something? Is there better, may be "think outside of the box" solution?