Give both puzzle routes an ending
09 / THE LAST PAGE
1. Open the PCA Script ledger_end. Paste this listing, validate, apply and save. The Ledger button can be pressed at any time. It tells the player what is missing until Pip is in the Relay Room and knows the clockmaker’s secret.
ledger_end / PCA SCRIPT
global secret_route = 0
global book_closed = falseif book_closed
show message "The ledger is closed. The names are safe."
else if secret_route == 0
show message "There is one page missing from the story."
else if active_player() != "new_character"
show message "Kit: Pip should enter the last line."
else if current_scene() != "relay_room"
show message "Pip: I left the ledger beside the relay."
else
set book_closed to true
if secret_route == 1
show message "Pip: Three bells, one, two. Every name is here."
else
show message "Pip: One turn of the key. Every name is here."
end
show message "Nell takes the ledger. Outside, the clock strikes one."
endThe bell ending left secret_route = 1. The Long Key ending left it at 2. We can use that detail for Pip’s last line. Both paths put the same ledger in Nell’s hands. Setting book_closed before the first line makes a second click safe even if the player skips the text.
2. Leave room to say goodbye. After the last line, let the player stand with Nell. Recall still works. Hint now confirms that the names are safe. A second press of Ledger gives one quiet line. Use Pause › Save Game for a finished slot, then Pause › Main Menu to return to the title and credits. The earlier autosave may precede this last conversation.
Test the two routes from the same pre-receiver save. After closing the ledger on one route, save in a different slot so the other route is still available to test.
