Your browser lacks required capabilities. Please upgrade it or switch to another to continue.
Loading…
<<removeclass "#ui-bar" "stowed">><<updatebar>><<imagePreload>>\
You're in <<if hasVisited("IntroCell")>>this awful cell<<else>>a [[cell|IntroCell]]<</if>>.
<<if hasVisited("IntroFriend")>>Your friend is<<else>>There is [[a person|IntroFriend]]<</if>> here with you.
<<if hasVisited("IntroYou")>>It doesn't really matter why you're here.<<else>>Do you even [[remember|IntroYou]] why you're here?<</if>>
<<if !$completeEnd>>\
<<if hasVisited("IntroCell","IntroFriend","IntroYou")>>\
<<timed 1s t8n>>[[You hear someone outside.|Event1]]<</timed>>
<</if>>
<<else>>\
...Actually, you're pretty sure you've been here before.
[[You hear someone outside.|Event1]]
<</if>>
<<nobr>>
<<script>>
ga('send', 'event', 'passage', 'loaded', 'Start');
ga('send', 'event', 'player', 'proceed to start');
<</script>>
<<if $completeCount gte 1>>
<<if $completeEnd is "good">>
<<script>>ga('send', 'event', 'player', 'restarted from good > reached start');<</script>>
<<elseif $completeEnd is "badWin">>
<<script>>ga('send', 'event', 'player', 'restarted from bad win > reached start');<</script>>
<<elseif $completeEnd is "badLose">>
<<script>>ga('send', 'event', 'player', 'restarted from bad lose > reached start');<</script>>
<</if>>
<</if>>
<</nobr>><<nobr>>
<<set $isUploaded to true>>
<<if $isUploaded>><<addclass "#ui-bar" "stowed">><</if>>
/% image URLs %/
<<if !$isUploaded>>
<<set $imgHealthFullUrl to "http://i.imgur.com/jJmSzUt.png">>
<<set $imgHealth75Url to "http://i.imgur.com/8nJ9aJq.png">>
<<set $imgHealth50Url to "http://i.imgur.com/xFp8hRx.png">>
<<set $imgHealth25Url to "http://i.imgur.com/JAlqNIY.png">>
<<set $imgHealth10Url to "http://i.imgur.com/8e6yhWX.png">>
<<set $imgHealth0Url to "http://i.imgur.com/OEXTVBS.png">>
<<set $iconAward to "http://i.imgur.com/CYZdTyW.png">>
<<else>>
<<set $imgHealthFullUrl to "img/healthbar-100.png">>
<<set $imgHealth75Url to "img/healthbar-75.png">>
<<set $imgHealth50Url to "img/healthbar-50.png">>
<<set $imgHealth25Url to "img/healthbar-25.png">>
<<set $imgHealth10Url to "img/healthbar-10.png">>
<<set $imgHealth0Url to "img/healthbar-0.png">>
<<set $iconAward to "img/icon-crown.png">>
<</if>>
/% audio %/
<<if !$isUploaded>>
<<cacheaudio "alertPositive" "http://themushroomkingdom.net/sounds/wav/smw/smw_coin.wav">>
<<cacheaudio "alertNegative" "http://themushroomkingdom.net/sounds/wav/smw/smw_bowser_fire.wav">>
<<cacheaudio "alertGeneric" "http://themushroomkingdom.net/sounds/wav/smw/smw_kick.wav">>
<<else>>
<<cacheaudio "alertPositive" "audio/positive.wav">>
<<cacheaudio "alertNegative" "audio/negative.wav">>
<<cacheaudio "alertGeneric" "audio/generic.wav">>
<<cacheaudio "musicGoodEnd" "audio/bensound-acousticbreeze.mp3">>
<</if>>
/% starting variables %/
<<set $playerHealthImgUrl to $imgHealth50Url>>
<<set $playerPenaltyCount to 0>>
<</nobr>>\
\
<span id="initTitle">All you have to do is <<linkappend "survive.">>
<<tip "<<if $completeEnd>>Welcome back!<<else>>Survival tip!<</if>>" "<<display 'IntroAlert'>>" "alertGeneric">>
[[Start]]<</linkappend>></span>
<<script>>
ga('send', 'event', 'passage', 'loaded', 'StoryInit');
ga('send', 'event', 'player', 'first load');
<</script>>The cell is <<cyclinglink "cold" "chilly" "freezing">> and <<cyclinglink "dark" "grim" "oppressive">>. The walls are <<cyclinglink "unforgiving brick slabs" "unbreachable" "suffocating">>. You've been here for <<cyclinglink "days" "weeks" "what feels like a lifetime" "- you actually don't remember how long">>.
[["You want to go home."|Start]]
<<script>>
ga('send', 'event', 'passage', 'loaded', 'IntroCell');
<</script>>You look at your <<cyclinglink "cellmate" "companion" "friend">>. You've known her for <<cyclinglink "only a couple of days" "a few years" "your entire life">>, and her presence is pretty much all that's keeping you from completely losing it in here.
She <<cyclinglink "smiles" "sticks her tongue out" "winks">> at you, trying to make you feel better. You do, a little bit. Her <<cyclinglink "determination" "sense of humor" "strength" "hope">> grounds you.
<<link "At least you're here together." "Start">><</link>>
<<script>>
ga('send', 'event', 'passage', 'loaded', 'IntroFriend');
<</script>>Your memories are <<cyclinglink "vague" "nebulous" "uncertain">>. It all seemed to happen so fast.
There was a <<cyclinglink "new leader" "dictator" "tyrant">> who started a war <<cyclinglink "with another country" "against vulnerable minorities" "on a whim">>.
You think you were just <<cyclinglink "in the wrong place at the wrong time" "minding your own business" "staying out of trouble">>, yet here you are.
Here you are.
[["It is what it is."|Start]]
<<script>>
ga('send', 'event', 'passage', 'loaded', 'IntroYou');
<</script>>There is a <<cyclinglink "sudden" "jarring" "violent" end>> jangling of keys, and two <<cyclinglink "intimidating figures" "hulking men" "guards" end>> enter the cell. They're carrying a tray with two syringes. They smile and say <<linkreplace "it's medicine!">>it's medicine. <em>They're lying.</em><</linkreplace>>
<<linkappend "They approach your friend first.">> She shouts, a loud and panicked dissent, and tries to fight them off. One of the men seizes her, restraining her effortlessly, and drags her out of the cell.
The other one <<linkappend "comes towards you.">>
<<tip "Survival Tip!" "Players who cooperate with the guards win 99.9% of the time!" "alertGeneric">>
Do you [[throw a tantrum for no reason|Event1-A]] or [[cooperate|Event1-B]]?
<</linkappend>>
<</linkappend>>
<<nobr>>
<<script>>
ga('send', 'event', 'passage', 'loaded', 'Event1');
ga('send', 'event', 'player', 'reaches event 1');
<</script>>
<<if $completeCount gte 1>>
<<if $completeEnd is "good">>
<<script>>ga('send', 'event', 'player', 'restarted from good > reached event1');<</script>>
<<elseif $completeEnd is "badWin">>
<<script>>ga('send', 'event', 'player', 'restarted from bad win > reached event1');<</script>>
<<elseif $completeEnd is "badLose">>
<<script>>ga('send', 'event', 'player', 'restarted from bad lose > reached event1');<</script>>
<</if>>
<</if>>
<</nobr>>Your hands curl into fists. <<linkappend "The guard notices.">> Before you can do anything, he's got you in a tight grip, pressing bruises into your arms as he hauls you off in the same direction as your friend.
From there, it all happens so fast – the handcuffs they slap on your wrists are <<cyclinglink "freezing metal" "far too tight" "painful reminders that this is really happening">>, and the authorities they pass you over to are even bigger than the guards.
<<linkreplace "So. Here you are.">>\
<<linkreplace "You ask about due process.">>\
<<addpenalty 1>>\
They laugh. You get a penalty.\
<</linkreplace>>\
<<linkreplace "You try to get away.">>\
<<addpenalty 1>>\
They tase you. You get a penalty.\
<</linkreplace>>\
<<linkreplace "You stay quiet.">>They leave the handcuffs on for hours.
<<timed 2s t8n>>And hours.
<<next>>[[Eventually, you are returned to your cell.|Event1-A-Result]]<</timed>>
<</linkreplace>>
<</linkreplace>>
<</linkappend>>
<<script>>
ga('send', 'event', 'passage', 'loaded', 'Event1-A');
ga('send', 'event', 'player', 'event 1 resist');
<</script>>The guard approaches you and you don't move. You <<cyclinglink "can't help but hear" "try not to listen to" "force yourself to ignore" end>> your friend's voice shouting your name, getting quieter and further away as seconds pass.
The guard's grip is too tight on your arm. <<cyclinglink "You watch" "You look away from" end>> the needle puncturing your skin. It stings.
<<linkappend "You ask if your friend is going to be okay.">> He tells you to be quiet.
<<linkreplace "You ask again, louder.">>\
<<addpenalty 1>>\
He ignores you. You get a penalty.\
<</linkreplace>>\
<<linkreplace "You let it go.">>She'll be back soon, anyway.
You try not to worry too much about it. <<linkappend "Everything is going to be just fine.">>
<<timed 1s t8n>>[[And then they bring her back.|Event1-B-Result]]<</timed>><</linkappend>>
<</linkreplace>>
<</linkappend>>
<<script>>
ga('send', 'event', 'passage', 'loaded', 'Event1-B');
ga('send', 'event', 'player', 'event 1 surrender');
<</script>><<set $playerMorality to "resist">>\
You are <<linkappend "hurt.">>
<<set $playerHealthImgUrl to $imgHealth25Url>><<addpenalty 1>>
<<tip "Survival Tip!" "Looks like your health is getting low, and you got penalties! Next time, try not fighting the inevitable!">>
<<linkreplace "And yet –">>And yet. You are not alone.
Your friend is there too, bloody and aching, and she holds your hand.
<<timed 2s t8n>>[[You sleep.|Event2]]<</timed>>
<</linkreplace>>\
<</linkappend>>\
<<script>>ga('send', 'event', 'passage', 'loaded', 'Event1-A-Result');<</script>><<set $playerMorality to "surrender">>\
There is a bandage wrapped around her head, <<linkappend "covering her eyes.">> <em>What did they do to her eyes?</em><</linkappend>> Her hands <<linkappend "shake.">> <em>What have <strong>you</strong> done?</em><</linkappend>> She does not look at you because – well, even if <<linkappend "she wanted to">> <em>(she doesn't want to)</em><</linkappend>>, she can't.
<<linkappend "The guards leave.">>
<<set $playerHealthImgUrl to $imgHealth75Url>><<updatebar>>\
<<tip "Great job!" "You got some health back! <<if $playerPenaltyCount gte 1>>Just be careful of those penalties!<<else>>Keep up the good work!<</if>>" "alertPositive">>
<<timed 2s t8n>>You can't help but feel <<cyclinglink "guilty" "proud" "like you're going to be sick">>. Your wounded friend is curled up in the corner of the cell. <<linkreplace "You go to her." t8n>>You can't bring yourself to go to her.
<<linkappend "You leave her alone.">>
<<timed 2s t8n>>[[Eventually, you sleep.|Event2]]<</timed>><</linkappend>>
<</linkreplace>>
<</timed>>
<</linkappend>>
<<script>>
ga('send', 'event', 'passage', 'loaded', 'Event1-B-Result');
<</script>><<nobr>>
<<if !tags().includes("hide-health")>>
<span id="statsHeader">
<span id="tip">
<span id="tipContents">
[img[State.active.variables.playerHealthImgUrl]]
</span>
</span>
</span>
<<if $playerPenaltyCount gte 1>>
<span id="penalty" class="sidebarText">
Penalties: $playerPenaltyCount
</span>
<</if>>
<</if>>
<<if tags().includes("winner")>>
<span id="winnerCaption" class="sidebarText fadeEnd">
[img[$iconAward]]
<span id="winText">Achievement unlocked!</span>
</span>
<</if>>
<</nobr>>Time passes, but not enough, and you hear them outside your cell again. \
\
<<if $playerMorality is "resist">>\
You freeze, every muscle in your body seizing up with <<linkappend "fear.">> <em>Not again.</em><</linkappend>> This time the men are wearing suits. They approach silently, holding delicate syringes in their meaty hands.
Your friend, though: <<linkappend "she doesn't freeze at all.">> You watch in wonder as she <<cyclinglink "lunges forward and smacks" "rears back and roundhouse kicks" "takes a deep breath and Fus-Ro-Dahs">> one of the men's syringes out of his hand. It clatters to the floor. He snarls and grabs her wrist, yanking her viciously out of the room. You meet her eyes right before she's out of sight, and she's smiling <<cyclinglink "fiercely" "expectantly" "hopefully">>.
<<replacelink "You won't survive another round of this.">>If you save yourself first, you'll be in a better position to save her.<<becomes>> You're so goddamn scared.
<<timed 1s>>So what now? [[Get yourself killed for no good reason|GoodEnd-0]] or [[stay safe and rest up|Event2-B]]?
<<next>><<if $completeEnd is "badLose">>(Remember what you did to yourself last time. Make good choices.)<</if>>\
<</timed>>
<</replacelink>>
<</linkappend>>
\
<<elseif $playerMorality is "surrender">>\
You see your friend tense up, press herself back against the wall like a trapped animal. <<cyclinglink "You beg her not to make trouble." "You tell her it'll only make things worse." "She's not listening to you." end>>
This time the men are wearing nice suits. They approach silently, holding delicate syringes in their meaty hands. <<linkappend "You hold your breath and pray she won't fight back.">>
But she does. <<cyclinglink "Foolish" "Fierce" "Stubborn">> as she's always been, she lashes out blindly at the man holding the medicine, attacking with her <<cyclinglink "elbows" "teeth" "nails">>. He overpowers her easily, pinning her arms behind her back to drag her away behind him. Her face turns in your direction, <<linkappend "bandage knocked askew from the struggle.">> There is blood caked under it.<</linkappend>> Her mouth forms the shape of the word <<linkreplace "please.">><em>please</em>.
<<cyclinglink "Your heart aches for her, but..." "You'll be in a better position to help her if you keep playing along for now." "What will happen to you if you fight back?" "You're so goddamn scared." end>>
You only have two options now: [[get yourself killed in useless protest|Event2-A]] or [[stay safe and rest up|BadEnd-0]].\
\
<<if $completeEnd is "badLose">>(Remember what you did to yourself last time. Make good choices.)<</if>>\
<</linkreplace>>\
<</linkappend>>\
<</if>>\
<<nobr>>
<<script>>
ga('send', 'event', 'passage', 'loaded', 'Event2');
ga('send', 'event', 'player', 'reach event 2');
<</script>>
<<if $completeCount gte 1>>
<<if $completeEnd is "good">>
<<script>>ga('send', 'event', 'player', 'restarted from good > reached event2');<</script>>
<<elseif $completeEnd is "badWin">>
<<script>>ga('send', 'event', 'player', 'restarted from bad win > reached event2');<</script>>
<<elseif $completeEnd is "badLose">>
<<script>>ga('send', 'event', 'player', 'restarted from bad lose > reached event2');<</script>>
<</if>>
<</if>>
<</nobr>><<set $playerMorality to "surrender-resist">>\
No. You can't just stand by and watch while they do this to her.
It's time to be <<cyclinglink "stupid" "brave">>.
<<linkappend "You stand up." t8n>> An unfamiliar strength inside you unfurls.
<<timed 1s t8n>><<replacelink>>You run.<<becomes>> The guard closest to you tries to grab you.<<becomes>> You dodge.<<becomes>> You make it past him.<<becomes>> You reach your friend. <<becomes>>You tell her she's not alone. <<becomes>>She's crying now, and laughing – and so are you.<<becomes>> The guard grabs <em>you</em> now, and you're scared, sure, but you know you did the right thing.
<<timed 2s t8n>><<addpenalty 1>>\
You got a penalty. [[You don't regret it.|Event2-A-Result]]<</timed>>
<</replacelink>>\
<</timed>>\
<</linkappend>>\
<<script>>
ga('send', 'event', 'passage', 'loaded', 'Event2-A');
ga('send', 'event', 'player', 'surrender > event 2 resist');
<</script>><<set $playerMorality to "resist-surrender">>\
Maybe you can infiltrate the tyranny from the inside, or something.
You grit your teeth, but stay put. Your friend's face crumples as she realizes your <<cyclinglink "choice" "decision" "betrayal" end>>, and her whole body sags, the fight draining out of her all at once. They drag her out of your sight.
<<linkappend "You get your first dose of medicine.">>
<<set $playerHealthImgUrl to $imgHealth75Url>><<updatebar>>\
<<tip "Great job!" "Love the change of heart! Looks like you're feeling better already!" "alertPositive">>
<<timed 2s t8n>>[[You wait for them to bring her back.|Event2-B-Result]]<</timed>>
<</linkappend>>
<<script>>
ga('send', 'event', 'passage', 'loaded', 'Event2-B');
ga('send', 'event', 'player', 'resist > event 2 surrender');
<</script>>The men come again. You look up at them, at their <<cyclinglink "bespoke suits" "pale skin" "high-and-tight haircuts">>, and you know this is your last chance at <<cyclinglink "survival" "redemption">>.
<<if $playerMorality is "surrender-resist">>\
<<script>>ga('send', 'event', 'player', 'reached event 3 (s>r)');<</script>>\
<<linkreplace "What now?">><<tip "Survival Tip!" "Your health is almost all gone! If you resist again, you'll die – and lose the game!" "alertGeneric">>
<<linkappend "That's a good point.">> You fought back last time and it nearly killed you – and it didn't even accomplish <<cyclinglink "anything" "anything productive" "anything other than making your friend feel less alone" end>>.
As far as you know, your friend could still be alive somewhere. What use will you be to her if you get yourself killed? <<cyclinglink "If you play along, maybe you can help her from the inside." "Anyway, you can't be expected to take care of anyone but yourself.">>
Moment of truth: [[resist and lose everything you've got left|GoodEnd-0]] or [[stay calm and win the game|BadEnd-1]]?
<</linkappend>>\
<</linkreplace>>\
\
<<elseif $playerMorality is "resist-surrender">>\
<<script>>ga('send', 'event', 'player', 'reached event 3 (r>s)');<</script>>\
<<linkreplace "What now?">><<tip "Survival Tip!" "You're so close! If you keep cooperating, you can win the game!" "alertGeneric">>
<<linkappend "Yeah.">> What's the use of fighting back at this point? It's not like you're going to <<linkappend "change anything.">> <em>You already failed her. She's gone.</em><</linkappend>> What could someone as <<cyclinglink "powerless" "scared" "weak">> as you possibly hope to accomplish?
Moment of truth: [[resist and lose everything you've got left|GoodEnd-0]] or [[stay calm and win the game|BadEnd-1]]?
<</linkappend>><</linkreplace>>
<</if>>\
<<nobr>>
<<script>>
ga('send', 'event', 'passage', 'loaded', 'Event3');
<</script>>
<<if $completeCount gte 1>>
<<if $completeEnd is "good">>
<<script>>ga('send', 'event', 'player', 'restarted from good > reached event3');<</script>>
<<elseif $completeEnd is "badWin">>
<<script>>ga('send', 'event', 'player', 'restarted from bad win > reached event3');<</script>>
<<elseif $completeEnd is "badLose">>
<<script>>ga('send', 'event', 'player', 'restarted from bad lose > reached event3');<</script>>
<</if>>
<</if>>
<</nobr>>You know what they say: put on your own oxygen mask before assisting others, right?
You don't move. Your friend cries out your name as they take her away <<cyclinglink "again" "for the last time" end>>.
<<linkappend "You get another dose of medicine.">>
<<set $playerHealthImgUrl to $imgHealthFullUrl>><<updatebar>>\
<<tip "Amazing!" "You're all healed! Keep it up, you've almost made it!" "alertPositive">>
<<timed 2s t8n>>Days pass. [[You are alone|BadEnd-1]].<</timed>>
<</linkappend>>
<<script>>
ga('send', 'event', 'passage', 'loaded', 'BadEnd-0');
ga('send', 'event', 'player', 'reached bad end from surrender');
<</script>>The guards drag you off in the same direction as your friend. You're handcuffed and passed over to the authorities.
<<linkreplace "You try to get away.">>\
<<addpenalty 1>>\
They tase you. You get a penalty.\
<</linkreplace>>\
<<linkreplace "You try not to panic.">>See, here's the problem. You led them on. You pretended to be their ally before, and then turned your back on <<cyclinglink "them" "your country" "their country" end>>. They're furious.
<<linkappend "Your betrayal focuses their rage.">> Bound and beaten, you can't even do anything to protect your friend.
<<timed 2s>><<set $playerHealthImgUrl to $imgHealth10Url>><<addpenalty 1>>\
<<tip "Oh no!" "What happened? You were doing so well!">>
<<timed 2s t8n>>They return you to your cell. She isn't there.
[[You're alone.|Event3]]<</timed>><</timed>>
<</linkappend>>\
<</linkreplace>>\
<<script>>
ga('send', 'event', 'passage', 'loaded', 'Event2-A-Result');
<</script>>You wait <<timed 1s t8n>>and wait <<next>>and wait <<next>>and wait
<<next>>until you finally realize
<<next>>she's not coming back.
<<next>><<linkappend "She's never coming back." t8n>>
[[You're alone.|Event3]]<</linkappend>><</timed>>
<<script>>
ga('send', 'event', 'passage', 'loaded', 'Event2-B-Result');
<</script>><<linkappend "<span id='initTitle'>LIGHT FILLS YOUR CELL</span>" t8n>>\
<<addclass "body" "resistance">>\
<<if $isUploaded>><<audio "musicGoodEnd" loop volume 0.15 fadeoverto 30 0.75>><</if>>\
<<timed 2s t8n>>
<<linkappend "You breathe.">> The air is fresh and the smell is sweet.<</linkappend>>
<<next>><<linkappend "You hear music.">> It fills your heart. Your captors recoil.<</linkappend>>
<<next>><<linkappend "You see people.">> They are your rescuers, your allies, with hands outstretched.
<<if $playerMorality is "resist">>\
<<timed 2s t8n>>Your friend grabs one person's hand.
<<next>>[[You grab another.|GoodEnd-3]]<</timed>>\
<<elseif $playerMorality is "resist-surrender">>\
<<timed 2s t8n>>Your breath catches. One of these people is your friend, and she's alive, and beaming.
<<next>>[[You grab her hand.|GoodEnd-3]]<</timed>>\
<<else>>\
<<timed 2s t8n>>[[You grab a hand.|GoodEnd-3]]<</timed>>\
<</if>>\
<</linkappend>>
<</timed>>
<</linkappend>>\
<<script>>
ga('send', 'event', 'passage', 'loaded', 'GoodEnd-2');
<</script>><<if $playerMorality is "resist-surrender">>She pulls<<else>>They pull<</if>> you out.
<<timed 1s t8n>><<linkappend "You turn around." t8n>> Looming behind you, the hulking white obelisk that held you for so long.
<<linkreplace "Look at it now." t8n>>It's crumbling, dissolving, turning into air.
[[A weight lifts from your shoulders along with it.|GoodEnd-4]]<</linkreplace>>
<</linkappend>><</timed>>
<<script>>
ga('send', 'event', 'passage', 'loaded', 'GoodEnd-3');
<</script>>You see <<linkappend "so many other prisoners.">> <em>You thought it was just you and her, you thought you were alone.</em><</linkappend>> They've all been freed.
<<linkappend "You look up at the sky.">> It's shining, brilliant with purples and blues. [[It's beautiful.|GoodEnd-5]]
<</linkappend>>
<<script>>
ga('send', 'event', 'passage', 'loaded', 'GoodEnd-4');
<</script>><<addpenalty 1000>>\
and then
<<timed 1s t8n>>\
<<addpenalty 1000>>\
the brick walls
<<next>><<addpenalty 1000>>\
that surround you
<<next>><<addpenalty 1000>>\
<em>[[explode|GoodEnd-1b]]</em>
<</timed>>
<<script>>
ga('send', 'event', 'passage', 'loaded', 'GoodEnd-1');
<</script>><<if $playerMorality is "surrender-resist">>\
You wish your friend could have seen this. You <<cyclinglink "hope" "think" "know" end>> she would have been proud of you.
<<elseif $playerMorality is "resist-surrender">>\
Your friend hasn't let go of your hand. She presses her shoulder against yours.
<<else>>\
Your friend walks up next to you, and presses her shoulder against yours.
<</if>>\
<<timed 2s t8n>>You're free.<</timed>>
<<timed 4s t8n>><<linkreplace "You didn't win the game." t8n>>You've never felt more alive.
<<timed 2s t8n>>\
<span id="restartLink">\
<<link "> Back to start">>
<<script>>
Dialog.addClickHandler("#restartLink", null, function () {
Dialog.setup("Restart", "fakeRestartDialog");
Dialog.wiki(Story.get("Dialog-CustomRestart").processText());
});
ga('send', 'event', 'player', 'clicked', 'good end > restart');
<</script>>\
<</link>>\
[[> Credits|Credits-Good]]
</span>\
<</timed>>\
<</linkreplace>>\
<</timed>>\
<<nobr>>
<<script>>
ga('send', 'event', 'passage', 'loaded', 'GoodEnd-5');
ga('send', 'event', 'player', 'completed good end');
<</script>>
<<if $completeCount gte 1>>
<<if $completeEnd is "good">>
<<script>>ga('send', 'event', 'player', 'restarted from good > reached good end');<</script>>
<<elseif $completeEnd is "badWin">>
<<script>>ga('send', 'event', 'player', 'restarted from bad win > reached good end');<</script>>
<<elseif $completeEnd is "badLose">>
<<script>>ga('send', 'event', 'player', 'restarted from bad lose > reached good end');<</script>>
<</if>>
<</if>>
<</nobr>><<display "Credits">>
<span id="restartLink">\
<<link "> Back to start">>
<<script>>
Dialog.addClickHandler("#restartLink", null, function () {
Dialog.setup("Restart", "fakeRestartDialog");
Dialog.wiki(Story.get("Dialog-CustomRestart").processText());
});
ga('send', 'event', 'player', 'clicked', 'good credits > restart');
<</script>>
<</link>></span>
<<script>>ga('send', 'event', 'passage', 'loaded', 'Credits-Good');<</script>>You step into the hall, and <<linkappend "look around.">>\
/%<<if $isUploaded>>\
<<audio "musicBadEnd" loop volume 0.15 fadeoverto 30 0.75>>\
<</if>>%/
You hadn't noticed before, but there are other rooms here, holding <<cyclinglink "more prisoners" "rebels" "traitors" end>>. But <em>they're</em> still locked up, while you're free – clearly, you made the right choices.
You're led down the hall. There is another man waiting for you at the end. You're sure you've never met him before, but still, <<linkappend "he looks familiar.">>
It's kind of eerie, actually. He looks a lot like <<cyclinglink "the dictator who ruined the world" "the tyrant whose rule led to your imprisonment" "the president" end>>.
He holds out his hand.
<<if $playerPenaltyCount gte 1>>[[You hesitate for a brief moment, then shake it.|BadEnd-Fakeout]]<<else>>[[You shake it.|BadEnd-3]]<</if>>
<</linkappend>><</linkappend>>
<<script>>
ga('send', 'event', 'passage', 'loaded', 'BadEnd-2');
<</script>><<display "Credits">>
<span id="fakeRestart">\
<<link "> Restart?">>\
<<script>>
ga('send', 'event', 'player', 'clicked', 'bad end win > restart');
Dialog.addClickHandler("#fakeRestart", null, function () {
Dialog.setup("Wait!", "fakeRestartDialog");
Dialog.wiki(Story.get("Dialog-WaitRestart").processText());
});
<</script>><</link>>
</span>
<<script>>ga('send', 'event', 'passage', 'loaded', 'Credits-Bad');<</script>><<addclass "#ui-bar" "stowed">>\
<<timed 1s t8n>>\
<span id="initTitle" class="big">
b<<timed .2s t8n>>o<<next>>o<<next>>m<<next>>[[!|GoodEnd-2]]<</timed>>
</span>
<</timed>>
<<script>>
ga('send', 'event', 'passage', 'loaded', 'GoodEnd-1b');
<</script>><<if $playerMorality is "resist">>\
<<script>>ga('send', 'event', 'player', 'reached good end from resist');<</script>>\
<<else>>\
<<script>>ga('send', 'event', 'player', 'reached good end from mixed');<</script>>\
Damn the consequences. \
<</if>>\
You <<linkappend "fight.">>
<<set $playerHealthImgUrl to $imgHealth10Url>><<addpenalty 1000>>\
<<tip "Survival tip!" "This is the path to disaster! Turn back while there's still time!">>
<<timed 2s t8n>><<linkreplace "You stand your ground.">>The ground shakes.
<<set $playerHealthImgUrl to $imgHealth10Url>><<addpenalty 1000>>\
<<tip "Survival tip!" "You're making a mistake! STOP!">>
<<timed 2s t8n>>[[You smile.|GoodEnd-1]]<</timed>>\
<</linkreplace>><</timed>><</linkappend>>
<<script>>
ga('send', 'event', 'passage', 'loaded', 'GoodEnd-0');
<</script>><<if $playerMorality is "surrender">>\
The doctors come to your <<cyclinglink "cell" "quarters" end>> again, and this time they're <<cyclinglink "showing their teeth" "smiling" end>>.
<<else>>\
<<script>>ga('send', 'event', 'player', 'reached bad end from mixed');<</script>>\
The <<cyclinglink "guards" "doctors" end>> are looking at you and <<cyclinglink "showing their teeth" "smiling" end>>.
<</if>>\
<<linkreplace "You ask if your friend is okay.">>\
<<tip "Survival tip!" "Really? Are you sure you want to ask about her? They'll probably get angry." "alertGeneric">>
<<linkreplace "Ask anyway.">>You ask anyway. Their smiles falter. They look at each other. You get a penalty.<<addpenalty 1>><</linkreplace>>
<<linkreplace "Let it go.">>You put her out of your mind and smile back.
<<timed 1s>>They tell you it's time to go. <<next>>[[Your door is open.|BadEnd-2]]<</timed>>
<</linkreplace>>
<</linkreplace>>
<<script>>
ga('send', 'event', 'passage', 'loaded', 'BadEnd-1');
<</script>><span class="fadeEnd">The maybe-president is smiling. The men in suits are smiling. They give you a red <<linkreplace "crown.">>crown.
<<addclass "body" "displayWinner">>\
<<tip "Congratulations!" "The perfect prize for our winner and #1 citizen!" "alertPositive">>
<<timed 2s>><<linkreplace "It was all worth it!">>...was it worth it?
<<replacelink "Of course it was.">><<addclass "body" "hideWinText">>\
You're a hero.<<becomes>>You can't wait to show your friend your new crown – <<gains>> oh. <<timedinsert 1s>>Right.<</timedinsert>>\
<<timed 2s>>
<<link "Anyway, you won the game!">>
<<append "#insertBadEnd">><<display "Excerpt-BadEnd">><</append>>\
<</link>>\
<</timed>>\
<</replacelink>>\
<</linkreplace>>\
<</timed>>\
<</linkreplace>>\
</span>
<span id="insertBadEnd"></span>
<<nobr>>
<<script>>
ga('send', 'event', 'passage', 'loaded', 'BadEnd-3');
ga('send', 'event', 'player', 'completed bad end - win');
<</script>>
<<if $completeCount gte 1>>
<<if $completeEnd is "good">>
<<script>>ga('send', 'event', 'player', 'restarted from good > reached bad win end');<</script>>
<<elseif $completeEnd is "badWin">>
<<script>>ga('send', 'event', 'player', 'restarted from bad win > reached bad win end');<</script>>
<<elseif $completeEnd is "badLose">>
<<script>>ga('send', 'event', 'player', 'restarted from bad lose > reached bad win end');<</script>>
<</if>>
<</if>>
<</nobr>><<linkreplace "You won the game!">>...hang on.
<<timed 1s>>\
<<tip "Oh no!" "You have <<if $playerPenaltyCount is 1>>a penalty<<else>>$playerPenaltyCount penalties<</if>>?! You were so close to winning!" "alertNegative">>
<<timed 2s>><<linkappend "You just had to cause all that trouble.">> Did you really think you could get away with it?
You're <<replacelink "a nuisance.">>a risk.<<becomes>>a threat.<<gains>>
The maybe-president backs away in disgust, his guards throw you back in your cell, and they just...leave you there.
<<timed 2s t8n>>[[The world forgets about you.|BadEnd-Fakeout2]]<</timed>>
<</replacelink>>\
<</linkappend>>\
<</timed>>\
<</timed>>\
<</linkreplace>>\
\
<<script>>ga('send', 'event', 'passage', 'loaded', 'BadEnd-Fakeout');<</script>><<audio alertNegative play>>\
<p>You did so well! Do you really want to restart and throw away all your hard work?</p>\
<<nobr>>
<span id="dialogLinks">
<<link "Yes">>
<<script>>Engine.restart();<</script>>
<<remember $completeCount += 1>><<remember $completeEnd to "badWin">>
<</link>>
<<link "Cancel">>
<<script>>Dialog.close();<</script>>
<</link>>
</span>
<<script>>ga('send', 'event', 'passage', 'loaded', 'Dialog-WaitRestart');<</script>>
<</nobr>><<addclass "body" "fadeEndActive">>
You've never felt so alone.
<<timedinsert 4s t8n>>\
<span id="fakeRestart">\
<<link "> Back to start">><<script>>
Dialog.addClickHandler("#fakeRestart", null, function () {
Dialog.setup("Wait!", "fakeRestartDialog");
Dialog.wiki(Story.get("Dialog-WaitRestart").processText());
});
<</script>><</link>>
[[> Credits|Credits-Bad]]
</span>\
<</timedinsert>>\<<set $playerHealthImgUrl to $imgHealth0Url>><<updatebar>>\
<<tip "Game over!" "You died! :(" "alertNegative">>
Maybe you should try to do better, now that you know the correct strategy.
<span id="fakeRestart">\
<<link "> Start again">>
<<script>>Engine.restart();<</script>>
<<remember $completeCount += 1>><<remember $completeEnd to "badLose">>
<</link>>
<<linkreplace "> Stick with your poor decisions">>Just kidding! You actually don't get a choice here.
<<timed 1s t8n>>Restarting in <<timedreplace 1s>>3<<becomes>>2<<becomes>>1<<gains>>\
<<script>>Engine.restart();<</script>>
<<remember $completeCount += 1>><<remember $completeEnd to "badLose">>
<</timedreplace>>
<</timed>>
<</linkreplace>>
</span>
<<nobr>>
<<script>>
ga('send', 'event', 'passage', 'loaded', 'BadEnd-Fakeout2');
ga('send', 'event', 'player', 'completed bad end - lose');
<</script>>
<<if $completeCount gte 1>>
<<if $completeEnd is "good">>
<<script>>ga('send', 'event', 'player', 'restarted from good > reached bad lose end');<</script>>
<<elseif $completeEnd is "badWin">>
<<script>>ga('send', 'event', 'player', 'restarted from bad win > reached bad lose end');<</script>>
<<elseif $completeEnd is "badLose">>
<<script>>ga('send', 'event', 'player', 'restarted from bad lose > reached bad lose end');<</script>>
<</if>>
<</if>>
<</nobr>><<widget "updatebar">>\
<<silently>><<replace "#story-caption">><<display "StoryCaption" t8n>><</replace>><</silently>>\
<</widget>>\
<<widget "addpenalty">>\
<<set $playerPenaltyCount += $args[0]>>\
<<audio alertNegative play>>\
<<updatebar>>\
<</widget>>\
<<widget "tip">>\
<span id="tip" class="initBlock">\
<span id="tipHeader">$args[0]</span>\
<span id="tipContents">$args[1]</span>\
</span>\
<<if $args[2]>><<audio $args[2] play>><</if>>\
<</widget>>\<span id="creditText">\
Made by Lily Lapidese for <a href="https://itch.io/jam/resistjam" target="_blank">#ResistJam</a> 2017
License: <a href="https://creativecommons.org/licenses/by-sa/4.0/" target="_blank">Creative Commons BY-SA 4.0</a>
<a href="https://twitter.com/lilylapidese" target="_blank">twitter</a> | <a href="http://lilylapidese.com" target="_blank">website</a> | <a href="https://taako.itch.io" target="_blank">itch.io</a>
Icon originally by <a href="https://thenounproject.com/smashicons/" target="_blank">Oliviu Stoian</a>
Music by <a href="http://bensound.com" target="_blank">Ben Sound</a>
\
<<if passage() is "Credits-Bad">>
Honorary mention to DJ Cummerbund's <a href="https://www.youtube.com/watch?v=jJnK9EhiXQw" target="_blank">The Sound of Smash Mouth</a>.
If I've done my job, it should feel like the exact right jam for you at this moment. :)
<</if>>\
</span>\<<nobr>>
<p>Are you sure you want to restart from the beginning?</p>
<span id="dialogLinks">
<<link "Yes">>
<<script>>Engine.restart();<</script>>
<<remember $completeCount += 1>><<remember $completeEnd to "good">>\
<</link>>
<<link "Cancel">>
<<script>>Dialog.close();<</script>>
<</link>>
</span>
<<script>>
ga('send', 'event', 'passage', 'loaded', 'Dialog-CustomRestart');<</script>>
<</nobr>>[img[$playerHealthImgUrl]]
This represents your health! \
<<if $completeEnd is "good" or $completeEnd is "badLose">>\
You did pretty badly before and lost it all, but now you have another chance to play the right way and become a winner!
<<elseif $completeEnd is "badWin">>\
You got it all back last time! Ready to relive your victory?
<<else>>\
The healthier you are, the more filled green boxes you'll see, and that's how you win the game!
Now turn up the volume and get started!
<</if>><<nobr>>
<<widget "imagePreload">>
<div id="preloadImages">
[img[$imgHealthFullUrl]]
[img[$imgHealth75Url]]
[img[$imgHealth50Url]]
[img[$imgHealth25Url]]
[img[$imgHealth10Url]]
[img[$imgHealth0Url]]
[img[$iconAward]]
[img["img/spacebg.jpg"]]
</div>
<</widget>>
<</nobr>>