From Home is a scene. Note From Home begins when Mrs McClintock encloses the note for the teacher. Note From Home ends when the player holds the yellow folder.
When Note From Home begins:
if the envelope is sealed
begin;
say "Mrs McClintock tears off the end of the envelope and removes a piece of paper from inside. She opens it and reads for a moment.";
remove the envelope from play;
remove the note for the teacher from play;
otherwise if Mrs McClintock encloses the envelope;
say "Mrs McClintock glances at the torn envelope, then gives you a disapproving look. 'Jamie, I'm disappointed. It's unlike you to open an envelope that isn[']t addressed to you.'[/l]You look away sheepishly, feeling your face turning red.[/l]Mrs McClintock [if the envelope encloses the note]removes the note from inside and [end if]reads it. ";
remove the envelope from play;
remove the note for the teacher from play;
otherwise;
say "Mrs McClintock reads the note. ";
remove the note for the teacher from play;
end if;
now the player is permitted to leave;
say "'Your brother is sick today? I'm sorry to hear that. You need to go pick up his homework folder from Mr Bradley's room next door. Better do it now so that you don[']t forget.'".
Every turn when Mr Frank is active:
if the location of Mr Frank is not the destination of Mr Frank, try Mr Frank ambling.
Every turn when Note From Home is happening and Mr Frank is passive:
if the player is not in room 10, change Mr Frank to active.
Book 3 - Daniel's Folder