(text-color:red)[###EMERGENCY BROADCAST SYSTEM]
(text-color:white)[THERE IS AN EMERGENCY IN PROGRESS IN YOUR AREA.
DO NOT GO OUTSIDE. SECURE ALL ENTRANCES AND WINDOWS.
GO TO YOUR BASEMENT OR OTHER SECURE SHELTER.
DO NOT INVESTIGATE STRANGE NOISES.
DO NOT INVESTIGATE STRANGE LIGHTS.
DO NOT INVESTIGATE LAW ENFORCEMENT ACTIVITIES.
DO NOT LOOK UP.
AWAIT FURTHER INSTRUCTIONS.]
(set:$hasMoved to false)
(set:$doorLocked to false)
(set:$hasUnlockedDoor to false)
(set:$hasGun to false)
(set:$hasKnife to false)
(set:$checkedFridge to false)
(set:$withJeremy to false)
(set:$jeremyDead to false)
(set:$fridgeCheck to 0)
(live: 30s)[(goto:"Basement")](text-color:white)[{You are in your basement
(if:$hasMoved is false)[sitting on your couch.]
(else-if:$hasMoved and $withJeremy is false)[standing alone. ]
(else-if:$hasMoved and $withJeremy)[with Jeremy. ]
(if:$hasMoved and $doorLocked is false)[The front door is unlocked. The emergency broadcast is unchanged. ]
(if:$hasMoved and $withJeremy and $doorLocked is false)[`“Shouldn’t we go lock the door?`” asks Jeremy.]
(if:$hasMoved and $withJeremy is false and $doorLocked and $jeremyDead is false)[The emergency broadcast is unchanged.(live:20s)[(goto:"EMERGENCY LIFTED")]]
(if:$hasMoved and $doorLocked and ($withJeremy or $jeremyDead))[There’s a bang upstairs, and a team of police in heavy armour rush down the stairs, rifles trained on you. They’re yelling at you not to move. ]
(if:$hasMoved and $doorLocked and $withJeremy and $jeremyDead is false)[You hear a yelp from Jeremy.]
(elseif:$hasMoved and $doorLocked and $jeremyDead)[You hear a scraping noise above you.]}]
(if:$jeremyDead is false)[(link:"Go upstairs to Kitchen.")[(set: $hasMoved to true)(goto:"Kitchen")]]
(if:$jeremyDead is false and $doorLocked)[(link-goto:"Wait it out...", "EMERGENCY LIFTED")]
[[Look Up.->Ceiling]]
(if:$hasKnife and $withJeremy)[(link-goto:"Stab Jeremy.","StabJeremy")]
(if:$hasGun and $withJeremy)[(link-goto:"Shoot Jeremy.","ShootJeremy")]
(if:$doorLocked and $withJeremy or $jeremyDead)[(link-goto:"Run.","RunFromPolice")]
(if:$hasKnife and $doorLocked and $withJeremy or $jeremyDead)[(link-goto:"Stab Police.","StabPolice")]
(if:$hasGun and $doorLocked and $withJeremy or $jeremyDead)[(link-goto:"Shoot Police.","ShootPolice")]
(text-color:white)[{You are in your kitchen
(if:$withJeremy is false)[standing alone.]
(else-if:$withJeremy)[with Jeremy.]
}]
(text-color:white)[[]<getKnife|]
(if:$hasKnife is false)[(link:"Arm Yourself.")[(set: $hasKnife to true)(replace:?getKnife)[You get a butcher knife from the block.](live:1.5s)[(goto:"Kitchen")]]]
[[Go to Foyer.->Foyer]]
[[Go upstairs to Bedroom.->Bedroom]]
[[Go downstairs.->Basement]]
[[Check Fridge.->Fridge]]
[[Look Up.->Ceiling]]
(if:$hasKnife and $withJeremy)[(link-goto:"Stab Jeremy.","StabJeremy")]
(if:$hasGun and $withJeremy)[(link-goto:"Shoot Jeremy.","ShootJeremy")](text-color:white)[{You are in your foyer,
(if:$doorLocked is false)[The door is unlocked.]
(else-if:$doorLocked)[The door is locked.]
You can see lights moving rapidly up and down the street.
}]
(text-color:white)[[]<lockDoor|]
(if:$doorLocked is false)[(link:"Lock Front Door.")[(set: $doorLocked to true)(replace:?lockDoor)[You lock the front door.](replace:?leaveHouse)[](live:1.5s)[(goto:"Foyer")]]]
[(if:$doorLocked is false)[[[Leave the house.->Street]]]]<leaveHouse|
(if:$doorLocked)[(link:"Unlock Front Door.")[(set: $doorLocked to false)(replace:?lockDoor)[You unlock the front door.](live:1.5s)[(goto:"Foyer")]]]
[[Go to Living Room.->Living Room]]
[[Go to Kitchen.->Kitchen]]
[[Look Up.->Ceiling]] (text-color:white)[{You are in your living room
(if:$withJeremy is false and $jeremyDead is false)[(set:$withJeremy to true) You see a stranger: <br/>“Oh! Sorry, I didn’t know anyone was here. I got the emergency notice on my phone and started trying doors. I heard shouting about some kind of MONSTER down the street. My name’s Jeremy. Please don’t kick me out…”
[[Continue->Living Room]]]
(else-if:$withJeremy is true)[ with Jeremy.]
(else-if:$withJeremy is false and $jeremyDead)[ standing alone.]
(else-if:$doorLocked is false)[ The front door is unlocked.]
}]
[[Go to Foyer.->Foyer]]
[[Look Up.->Ceiling]]
(if:$hasKnife and $withJeremy)[(link-goto:"Stab Jeremy.","StabJeremy")]
(if:$hasGun and $withJeremy)[(link-goto:"Shoot Jeremy.","ShootJeremy")](text-color:white)[{You are in your bedroom
(if:$withJeremy is false)[standing alone.]
(else-if:$withJeremy)[ with Jeremy <br/>“What are we doing in here?” he asks.]
}]
(text-color:white)[[]<getGun|]
(if:$hasGun is false)[(link:"Arm Yourself.")[(set: $hasGun to true)(replace:?getGun)[You get your pistol out of the closet.](live:1.5s)[(goto:"Bedroom")]]]
[[Go to Kitchen.->Kitchen]]
[[Look Up.->Ceiling]]
(if:$hasKnife and $withJeremy)[(link-goto:"Stab Jeremy.","StabJeremy")]
(if:$hasGun and $withJeremy)[(link-goto:"Shoot Jeremy.","ShootJeremy")](set: $previous to (history:)'s last)
(text-color:white)[{Looking at the ceiling,
(if: $previous is "Basement" and ($withJeremy is false or $jeremyDead is false) and $doorLocked is false)[there are cobwebs. You should dust more often.]
(if: $previous is "Basement" and ($withJeremy is false or $jeremyDead is false) and $doorLocked is true)[there are cobwebs. You should dust more often.
Nothing to do but wait now...
didn't the TV say something about not looking up?]
(if: $previous is "Kitchen")[there are stains from steam off the stove.]
(if: $previous is "Foyer")[it’s smooth plaster. Wind from the door keeps cobwebs from settling.]
(if: $previous is "Living Room" and ($withJeremy is false or $jeremyDead is false) and $doorLocked is false)[the stucco popped balloons in the past.]
(if: $previous is "Bedroom" and ($withJeremy is false or $jeremyDead is false) and $doorLocked is false)[it’s wallpapered. Who wallpapers a ceiling?]
(if: ($previous is "Basement" or $previous is "Bedroom" or $previous is "Living Room") and ($withJeremy or $jeremyDead) and $doorLocked)[you see it.]
}]
(if: (($previous is "Basement" or $previous is "Bedroom" or $previous is "Living Room") and ($withJeremy is false or $jeremyDead is false)) or ($previous is "Kitchen" or $previous is "Foyer"))[(link-goto:"Look Forward.",$previous)]
(if: ($previous is "Basement" or $previous is "Bedroom" or $previous is "Living Room") and ($withJeremy or $jeremyDead) and $doorLocked)[(link-goto:"Look Away.","Ceiling2")]
(text-color:white)[You can’t. It’s horrifying.]
[[Try to escape.->Ceiling3]](text-color:white)[Too late.] (text-color:red)[It has you now. It’s over.]
(link-goto:"Start.","EMERGENCY BROADCAST")
(text-color:white)[Jeremy disarms you and stabs you with your knife.] (text-color:red)[You die in pain.]
(text-color:white)[(link-goto:"Start.","EMERGENCY BROADCAST")](set: $previous to (history:)'s last)
(text-color:white)[You shoot Jeremy. He collapses to the floor whimpering. His face gaunt, eyes full of terror, he asks “Why?”]
(live:8s)[(text-color:white)[He slumps forward. Jeremy is dead.]](stop:)
(set:$withJeremy to false)(set:$jeremyDead to true)
(live:15s)[(goto:$previous)](set:$checkedFridge to true)
(set:$fridgeCheck to $fridgeCheck + 1)
(text-color:white)[{You look in the fridge. It’s empty aside from a few condiments.
(if:$fridgeCheck is 0 or $fridgeCheck is 1)[You need to buy groceries soon.]
(if:$fridgeCheck is 2)[You REALLY need groceries.]
(if:$fridgeCheck >= 3)[A beer would be nice right about now.]
}]
[[Back->Kitchen]] [(if:$fridgeCheck >= 3 and $hasKnife and $hasGun and $withJeremy and $jeremyDead is false)[{(text-color:white)[You walk into the street. You hear Jeremy yelling something behind you. You see a bright light from the sky. You find yourself in a small, circular, silvery room. A little greyish man speaks to you in words you don’t understand but still find comforting. He gives you a cold beer.]}
(text-color:green)[(live:15s)[This is nice.](stop:)]
(live:17s)[(link-goto:"Start.","EMERGENCY BROADCAST")](stop:)]
(else:)[{(text-color:white)[You walk into the street. Lights envelope you and you hear voices shouting not to move. You shield your eyes and are] (text-color:red)[shot dead.]}
(live:7s)[(link-goto:"Start.","EMERGENCY BROADCAST")](stop:)]](text-color:white)[You move to escape. The police open fire. ] (text-color:red)[You die instantly.]
(text-color:white)[(link-goto:"Start.","EMERGENCY BROADCAST")](text-color:white)[You raise your gun, they open fire. ]
(text-color:red)[You die instantly.]
(text-color:white)[(link-goto:"Start.","EMERGENCY BROADCAST")](text-color:white)[You rush the police, they open fire. ] (text-color:red)[You die instantly.]
(text-color:white)[(link-goto:"Start.","EMERGENCY BROADCAST")](text-color:red)[###EMERGENCY BROADCAST SYSTEM]
(text-color:green)[THE EMERGENCY FOR YOUR AREA HAS BEEN LIFTED.
YOU MAY RESUME YOUR NORMAL BUSINESS.]
(live:10s)[(link-goto:"Start.","EMERGENCY BROADCAST")](stop:)