Grouped Messages As Dialogue

version 1 by Ron Newcomb

Section 6 - Yes and No

This is the picking response to yes rule:
if answering the NPC is ready for answer, now answering the NPC is changing phase; [BACKS UP A STEP FOR THE CASE WHERE PLAYER ANSWERS YES TO WHICH DID MEAN; THIS MAY HAPPEN IF THE NPC PHRASES HIS/HER QUESTION IN CERTAIN WAYS]
if spurious yes is true, now answering the NPC is changing phase;
now spurious yes is false; [ SPURIOUS ANSWERS ARE IGNORED, BUT WE "TURN BACK THE CLOCK" BY BACKING UP THE "ANSWERING THE NPC" VARIABLE ]
This is the picking response to no rule:
if spurious no is true, now answering the NPC is changing phase;
now spurious no is false; [ SPURIOUS ANSWERS ARE IGNORED, BUT WE "TURN BACK THE CLOCK" BY BACKING UP THE "ANSWERING THE NPC" VARIABLE ]

The picking response to yes rule is listed instead of the block saying yes rule in the check saying yes rules.
The picking response to no rule is listed instead of the block saying no rule in the check saying no rules.

The no-answer is a rule that varies. The no-answer is usually the block saying yes rule.
The yes-answer is a rule that varies. The yes-answer is usually the block saying no rule.
Spurious yes is a truth state that varies. Spurious yes is usually false.
Spurious no is a truth state that varies. Spurious no is usually false.

To Yes is (code - a rule): now spurious yes is false; now the yes-answer is the code.
To No is (code - a rule): now spurious no is false; now the no-answer is the code.
To Yes is (code - a rule) and ignored: now spurious yes is true; now the yes-answer is the code.
To No is (code - a rule) and ignored: now spurious no is true; now the no-answer is the code.

To reset yes and no:
Yes is the block saying yes rule;
No is the block saying no rule;

To say the/-- pronoun understood:
if the main object is nothing begin; say "that";
otherwise if the main object is the pronoun him; say "him";
otherwise if the main object is the pronoun her; say "her";
otherwise if the main object is the pronoun it; say "it";
otherwise if the main object is the pronoun them; say "them";
otherwise; say "that";
end if.