Let Kit and Pip remember different things
06 / BASIC LIBRARY • FIRST PIECE
Open BASIC › last_words and replace the starter text. The dark blocks on pages 7, 8 and 9 form one script. Paste them in that order into this same record, then Validate › Apply / Save Script. Save the project. The other records in this chapter are PCA Script.
last_words / BASIC / 1 of 3
OPTION PCA3D BASIC 1.0
GLOBAL lift_stage = 0
GLOBAL letter_read = FALSE
GLOBAL lamp_ready = FALSE
GLOBAL secret_route = 0
GLOBAL book_closed = FALSE
GLOBAL hint_page = 0
GLOBAL hint_level = 0SUB Recall()
DIM line = "I still have a job to do here."
IF ActivePlayer() = "player" THEN
IF lift_stage >= 1 THEN
line = "Kit: I felt the breaker catch. Pip had power."
END IF
ELSEIF ActivePlayer() = "new_character" THEN
IF letter_read THEN
line = "Pip: Nell kept that letter folded in her palm."
ELSEIF lift_stage = 4 THEN
line = "Pip: When the shutter lifted, Nell was there."
END IF
END IF
AWAIT ShowMessage({"text":line})
END SUBPCA gives Kit the First Light ID player and Pip new_character. Recall checks who pressed the button before it picks a line. A character who hasn’t had that experience yet gets a neutral thought. The memories come from milestones the earlier chapters already saved.
recall_now / PCA SCRIPT
call script last_words function RecallPlace the single line above in the separate recall_now PCA Script. It asks the BASIC library to run Recall. Part 4’s GDScript sets lift_stage and Part 5 sets letter_read. BASIC can read both.
