<commit_before>function theScript() {
	return {


		main: [ // Init
			[ACTION_SETVAR, "qIntel", null],
			[ACTION_GOTO, "a1"],
		],


		a1: [ // Act 1: main
			[ACTION_SYSTEM, "— Connecting —"],
			[ACTION_PAUSE, 900],
			[ACTION_SYSTEM, "— Connection established —"],
			[ACTION_TYPING, 1600, 900],
			[ACTION_TEXT, ["Hi"]],
			[ACTION_TYPING, 400, 1700],
			[ACTION_TEXT, ["I know this must be confusing for you..."]],
			[ACTION_TYPING, 400, 1300],
			[ACTION_TEXT, ["Just, don't panic. Okay?"]],
			[ACTION_PAUSE, 500],
			[ACTION_PROMPT, [["Who are you?", "a1u"], ["Where am I?", "a1is"]]],
		],

		a1u: [ // Act 1: who are you
			[ACTION_SPEAK, ["Who are you?"]],
			[ACTION_TYPING, 400, 1700],
			[ACTION_TEXT, ["I'm your P.A.L."]],
			[ACTION_PAUSE, 800],
			[ACTION_SPEAK, ["P.A.L?"]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["Primary Access Link"]],
			[ACTION_TYPING, 400, 1700],
			[ACTION_TEXT, ["Yeah, I know.", "It sucks."]],
			[ACTION_TYPING, 400, 1400],
			[ACTION_TEXT, ["Just call me Pal."]],
			[ACTION_PAUSE, 500],
			[ACTION_PROMPT, [["Hi Pal.", "a1u2"], ["Where am I Pal?", "a1i"]]],
		],

		a1u2: [ // Act 1: who are you followup
			[ACTION_SPEAK, ["Hi Pal."]],
			[ACTION_TYPING, 400, 1700],
			[ACTION_TEXT, ["Well hi to you to! Good to", "see you're taking this so well", "given where you are."]],
			[ACTION_GOTO, "a1i"],
		],

		a1is: [ // Act 1: Where am I direct
			[ACTION_SPEAK, ["Where am I?"]],
			[ACTION_TYPING, 400, 1700],
			[ACTION_TEXT, ["What, no hello?", "No, hi, nice to meet you?"]],
			[ACTION_TYPING, 400, 1500],
			[ACTION_TEXT, ["I'm P.A.L. by the way."]],
			[ACTION_TYPING, 400, 1900],
			[ACTION_TEXT, ["It stands for Primary Access", "Link, but I guess you don't", "care about that either."]],
			[ACTION_PAUSE, 500],
			[ACTION_GOTO, "a1i"],
		],

		a1i: [ // Act 1: Where am I?
			[ACTION_SPEAK, ["Where am I Pal?"]],
			[ACTION_TYPING, 400, 1700],
			[ACTION_TEXT, ["You're safe."]],
			[ACTION_PAUSE, 500],
			[ACTION_PROMPT, [["That's reassuring.", "a1ir"], ["That's not what I asked!", "a1ia"]]],
		],

		a1ir: [ // Act 1: Where am I? => Reassured
			[ACTION_SPEAK, ["Well that's reassuring."]],
			[ACTION_TYPING, 400, 1100],
			[ACTION_TEXT, ["Phew!"]],
			[ACTION_TYPING, 400, 1700],
			[ACTION_TEXT, ["The last guy flipped.", "You seem much calmer!"]],
			[ACTION_GOTO, "a2"],
		],
		a1ia: [ // Act 1: Where am I? => Angry
			[ACTION_SPEAK, ["That's not what I asked!"]],
			[ACTION_TYPING, 400, 1100],
			[ACTION_TEXT, ["Hey hey!"]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["Calm down, okay?", "I'm trying to explain this", "slowly for you."]],
			[ACTION_GOTO, "a2"],
		],


		a2: [ // Act 2
			[ACTION_TYPING, 400, 1600],
			[ACTION_TEXT, ["This is going to be a shock but..."]],
			[ACTION_SYSTEM, "— Connection lost, retrying... —"],
			[ACTION_PAUSE, 900],
			[ACTION_SYSTEM, "— Connected —"],
			[ACTION_TYPING, 1600, 900],
			[ACTION_TEXT, ["Huh"]],
			[ACTION_TYPING, 1600, 1800],
			[ACTION_TEXT, ["That shouldn't happen"]],
			[ACTION_TYPING, 1600, 1500],
			[ACTION_TEXT, ["How are you feeling?"]],
			[ACTION_PAUSE, 500],
			[ACTION_PROMPT, [["I'm confused", "a2c"], ["I'm angry", "a2a"], ["I'm lost", "a2l"]]],
		],
		a2c: [ // Act 2: Confused
			[ACTION_SPEAK, ["I'm a bit confused. What's", "going on?"]],
			[ACTION_TYPING, 400, 1100],
			[ACTION_TEXT, ["Let's start at the beginning."]],
			[ACTION_GOTO, "a2e"],
		],
		a2a: [ // Act 2: Angry
			[ACTION_SPEAK, ["Just tell me what's going on already!"]],
			[ACTION_TYPING, 400, 1100],
			[ACTION_TEXT, ["It's not that simple."]],
			[ACTION_TYPING, 400, 1100],
			[ACTION_TEXT, ["How about we start at the beginning."]],
			[ACTION_GOTO, "a2e"],
		],
		a2l: [ // Act 2: Lost
			[ACTION_SPEAK, ["I'm lost. Where am I Pal?", "Why am I here?"]],
			[ACTION_TYPING, 400, 1100],
			[ACTION_TEXT, ["I know it's scary, but bear with", "me. Let's start at the beginning yeah?"]],
			[ACTION_GOTO, "a2e"],
		],

		a2e: [ // Act 2: Explanation
			[ACTION_TYPING, 400, 1100],
			[ACTION_TEXT, ["What's the last thing you remember?"]],
			[ACTION_PAUSE, 500],
			[ACTION_PROMPT, [["The light", "a2el"], ["The sound", "a2es"], ["The pain", "a2ep"]]],
		],
		a2el: [ // Act 2: Explain light
			[ACTION_SPEAK, ["I remember a blinding light.", "It was so close, I couldn't", "see anything else."]],
			[ACTION_GOTO, "a2e2"],
		],
		a2es: [ // Act 2: Explain sound
			[ACTION_SPEAK, ["I remember a sound.", "Like a bomb going off", "right next to my ear."]],
			[ACTION_GOTO, "a2e2"],
		],
		a2ep: [ // Act 2: Explain pain
			[ACTION_SPEAK, ["I remember the pain.", "Felt like I was hit by a", "dump truck right in the chest!"]],
			[ACTION_GOTO, "a2e2"],
		],
		a2e2: [ // Act 2: Explain confirm
			[ACTION_TYPING, 400, 1900],
			[ACTION_TEXT, ["That's good.", "Well not good, but at least", "you remember something."]],
			[ACTION_TYPING, 400, 1500],
			[ACTION_TEXT, ["It will make this easier."]],
			[ACTION_PAUSE, 500],
			[ACTION_SPEAK, ["???"]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["You're dead"]],
			[ACTION_SYSTEM, "— Connection lost, retrying... —"],
			[ACTION_PAUSE, 900],
			[ACTION_SYSTEM, "— Retry failed, retrying #2... —"],
			[ACTION_PAUSE, 700],
			[ACTION_SYSTEM, "— Connected —"],
			[ACTION_TYPING, 1600, 900],
			[ACTION_TEXT, ["Great timing techs. Really great."]],
			[ACTION_PAUSE, 500],
			[ACTION_SPEAK, ["I'm dead?!"]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["Yes, but don't panic, remember?"]],
			[ACTION_PAUSE, 500],
			[ACTION_PROMPT, [["I'm dead!", "a2e2d"], ["I'm scared!", "a2e2s"]]],
		],
		a2e2d: [ // Act 2: Dead
			[ACTION_SPEAK, ["I'm dead! How am I not", "supposed to panic?!"]],
			[ACTION_TYPING, 400, 1700],
			[ACTION_TEXT, ["Because we haven't lost you yet."]],
			[ACTION_GOTO, "a3"],
		],
		a2e2s: [ // Act 2: Scared
			[ACTION_SPEAK, ["I'm scared Pal. I don't", "feel like I'm dead."]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["That's good.", "Stick with that."]],
			[ACTION_TYPING, 400, 1700],
			[ACTION_TEXT, ["Because we haven't lost you yet."]],
			[ACTION_GOTO, "a3"],
		],


		a3: [ // Act 3
			[ACTION_TYPING, 400, 1100],
			[ACTION_TEXT, ["You were hurt.", "Your heart has stopped."]],
			[ACTION_TYPING, 400, 1900],
			[ACTION_TEXT, ["We're trying to save you, but", "we need to talk to you first."]],
			[ACTION_PAUSE, 500],
			[ACTION_SPEAK, ["Talk to me?"]],
			[ACTION_PAUSE, 500],
			[ACTION_PROMPT, [["Why so urgent?", "a3u"], ["Save me first!", "a3s"]]],
		],
		a3u: [ // Act 3: urgent
			[ACTION_SPEAK, ["What could be more urgent", "than saving my life?"]],
			[ACTION_TYPING, 400, 1600],
			[ACTION_TEXT, ["You have some intel..."]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["And we need to make sure it gets", "to the right people as soon", "as possible."]],
			[ACTION_PAUSE, 500],
			[ACTION_PROMPT, [["What kind of intel?", "a3ik"], ["And it's worth risking my life for?", "a3ir"]]],
		],
		a3s: [ // Act 3: save me
			[ACTION_SPEAK, ["How about you save me first yeah?"]],
			[ACTION_TYPING, 400, 1200],
			[ACTION_TEXT, ["We're trying!"]],
			[ACTION_TYPING, 400, 1000],
			[ACTION_TEXT, ["We're doing everything we can."]],
			[ACTION_TYPING, 400, 1600],
			[ACTION_TEXT, ["But you have some intel..."]],
			[ACTION_TYPING, 400, 2000],
			[ACTION_TEXT, ["And we need to make sure it gets", "to the right people as soon", "as possible."]],
			[ACTION_PAUSE, 500],
			[ACTION_PROMPT, [["What kind of intel?", "a3ik"], ["And it's worth risking my life for?", "a3ir"]]],
		],
		a3ik: [ // Act 3: intel kind
			[ACTION_SETVAR, "qIntel", true],
			[ACTION_SPEAK, ["What kind of intel?"]],
			[ACTION_TYPING, 400, 1200],
			[ACTION_TEXT, ["Good, you're asking the right questions."]],
			[ACTION_GOTO, "a3i2"],
		],
		a3ir: [ // Act 3: intel risk
			[ACTION_SPEAK, ["And it's worth risking my life for?"]],
			[ACTION_TYPING, 400, 1200],
			[ACTION_TEXT, ["From what I've been told, yeah."]],
			[ACTION_PAUSE, 700],
			[ACTION_SPEAK, ["'From what you've been told?'", "You don't even know what it is?"]],
			[ACTION_GOTO, "a3i2"],
		],

		a3i2: [ // Act 3: intel
			[ACTION_TYPING, 400, 1700],
			[ACTION_TEXT, ["It's intel vital to the war effort."]],
			[ACTION_TYPING, 400, 1200],
			[ACTION_TEXT, ["We can't let it get into the wrong hands."]],
			[ACTION_PAUSE, 500],
			[ACTION_PROMPT, [["The war?", "a3i2w"], ["The wrong hands?", "a3i2e"]]],
		],
		a3i2w: [ // Act 3: intel war
			[ACTION_SPEAK, ["Wait, there's a war going on?"]],
			[ACTION_TYPING, 400, 1000],
			[ACTION_TEXT, ["Oh boy"]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["Yes. We are at war. Now, don't", "freak out at this next part okay?"]],
			[ACTION_GOTO, "a4"],
		],
		a3i2e: [ // Act 3: intel enemy
			[ACTION_SPEAK, ["Who the hell are we fighting against?"]],
			[ACTION_TYPING, 400, 1400],
			[ACTION_TEXT, ["This is going to be a shock."]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["And I don't want you to freak out, okay?"]],
			[ACTION_GOTO, "a4"],
		],


		a4: [ // Act 4: Enter Aliens
			[ACTION_PAUSE, 500],
			[ACTION_SPEAK, ["Freak out?!"]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["They're aliens."]],
			[ACTION_GOTO, "a4"],
			[ACTION_SYSTEM, "— Connection lost, retrying... —"],
			[ACTION_PAUSE, 1100],
			[ACTION_SYSTEM, "— Retry failed, retrying #2... —"],
			[ACTION_PAUSE, 1900],
			[ACTION_SYSTEM, "— Connected —"],
			[ACTION_SYSTEM, "— Warning: Link Unstable —"],
			[ACTION_TYPING, 1600, 900],
			[ACTION_TEXT, ["You need to calm down."]],
			[ACTION_PAUSE, 500],
			[ACTION_PROMPT, [["Aliens!", "a4a"], ["ALIENS!", "a4aa"]]],
		],
		a4aa: [ // Act 4: ALIENS!
			[ACTION_SPEAK, ["Calm down?!"]],
			[ACTION_PAUSE, 900],
			[ACTION_SPEAK, ["CALM DOWN?!"]],
			[ACTION_PAUSE, 1700],
			[ACTION_GOTO, "a4a"],
		],
		a4a: [ // Act 4: Aliens!
			[ACTION_SPEAK, ["You just told me we're at war with aliens!"]],
			[ACTION_PAUSE, 1800],
			[ACTION_SPEAK, ["How can I be calm right now?"]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["Because otherwise you'll hurt yourself."]],
			[ACTION_PAUSE, 1100],
			[ACTION_SPEAK, ["You mean more than being dead?"]],
			[ACTION_TYPING, 400, 1000],
			[ACTION_TEXT, ["Yes."]],
			[ACTION_PAUSE, 500],
			[ACTION_SPEAK, ["Oh."]],
			[ACTION_PAUSE, 400],
			[ACTION_PROMPT, [["What do they want?", "a4aw"], ["Why am I so important?", "a4ai"]]],
		],
		a4aw: [ // Act 4: Alien wants
			[ACTION_SPEAK, ["So...", "What do these aliens want?"]],
			[ACTION_TYPING, 400, 1200],
			[ACTION_TEXT, ["Oh the usual."]],
			[ACTION_TYPING, 400, 2100],
			[ACTION_TEXT, ["Take over the world.", "Steal our resources.", "Enslave the population."]],
			[ACTION_PAUSE, 500],
			[ACTION_SPEAK, ["And me?"]],
			[ACTION_TYPING, 400, 2100],
			[ACTION_TEXT, ["You have some very valuable intel in your head."]],
			[ACTION_TYPING, 400, 1500],
			[ACTION_TEXT, ["And we need to get it out."]],
			[ACTION_GOTO, "a4b"],
		],
		a4ai: [ // Act 4: Player importance?
			[ACTION_SPEAK, ["So...", "Why am I so important?"]],
			[ACTION_TYPING, 400, 1200],
			[ACTION_TEXT, ["I already told you"]],
			[ACTION_TYPING, 400, 2100],
			[ACTION_TEXT, ["These aliens want to take over the", "planet, steal our resources,", "enslave the population."]],
			[ACTION_TYPING, 400, 1900],
			[ACTION_TEXT, ["And you have the intel in your", "head to stop them."]],
			[ACTION_TYPING, 400, 1500],
			[ACTION_TEXT, ["So we need to get it out."]],
			[ACTION_GOTO, "a4b"],
		],


		a5: [ // Act 5: Me or the Mission
			[ACTION_PAUSE, 600],
			[ACTION_SPEAK, ["Before I die you mean."]],
			[ACTION_TYPING, 400, 1500],
			[ACTION_TEXT, ["We're not giving up on you yet."]],
			[ACTION_PAUSE, 400],
			[ACTION_PROMPT, [["Save the intel", "a5i"], ["Save me first", "a5m"]]],
		],
		a5i: [ // Act 5: Save intel
			[ACTION_SPEAK, ["Save the intel"]],
			[ACTION_PAUSE, 800],
			[ACTION_SPEAK, ["If it can save the human race,", "it's more important than me."]],
			[ACTION_TYPING, 400, 1200],
			[ACTION_TEXT, ["Good man."]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["That's what we like to see,", "putting others before yourself."]],
			[ACTION_PAUSE, 400],
			[ACTION_PROMPT, [["What's the risk?", "a5r"], ["What's the intel?", "a5ii"]]],
		],
		a5m: [ // Act 5: Save me
			[ACTION_SPEAK, ["Save me first!"]],
			[ACTION_PAUSE, 800],
			[ACTION_SPEAK, ["If I die you're getting nothing."]],
			[ACTION_TYPING, 400, 1200],
			[ACTION_TEXT, ["We're doing everything we can."]],
			[ACTION_TYPING, 400, 1900],
			[ACTION_TEXT, ["But if something goes wrong..."]],
			[ACTION_PAUSE, 400],
			[ACTION_PROMPT, [["What's the risk?", "a5r"], ["What's the intel?", "a5ii"]]],
		],
		a5r: [ // Act 5: Whats the risk
			[ACTION_SPEAK, ["What's the risk?"]],
			[ACTION_TYPING, 400, 1200],
			[ACTION_TEXT, ["Not gonna lie."]],
			[ACTION_TYPING, 400, 2400],
			[ACTION_TEXT, ["You might not make it through but", "we're trying everything we can."]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["And it's not as risky as what", "you were doing to get into", "this situation!"]],
			[ACTION_GOTO, "a5e"],
		],
		a5ii: [ // Act 5: What's the intel
			[ACTION_SPEAK, ["What's the intel?"]],
			[ACTION_TYPING, 400, 1500],
			[ACTION_IFVAR, "qIntel", {
				true: [ACTION_TEXT, ["You asked about the intel before."]],
				null: [ACTION_TEXT, ["So now you're interested in the intel."]],
			}],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["It's probably best to say how you got here..."]],
			[ACTION_GOTO, "a5e"],
		],
		a5e: [ // Act 5: Explanation
			[ACTION_TYPING, 400, 1400],
			[ACTION_TEXT, ["You were a pilot."]],
			[ACTION_TYPING, 400, 1900],
			[ACTION_TEXT, ["Are a pilot.", "Are."]],
			[ACTION_TYPING, 400, 2400],
			[ACTION_TEXT, ["You were supposed to fly into the alien", "mothership and launch a nuke."]],
			[ACTION_PAUSE, 1500],
			[ACTION_SPEAK, ["Yeah, I've seen this movie before..."]],
			[ACTION_TYPING, 400, 2100],
			[ACTION_TEXT, ["Anyway, it all went wrong."]],
			[ACTION_PAUSE, 1700],
			[ACTION_PROMPT, [["Of course it did!", "a5eo"], ["How did it go wrong?", "a5ew"]]],
		],
		a5eo: [ // Act 5: Explanation course
			[ACTION_SPEAK, ["Of course it went wrong!"]],
			[ACTION_PAUSE, 800],
			[ACTION_SPEAK, ["It always goes wrong!"]],
			[ACTION_TYPING, 400, 1700],
			[ACTION_TEXT, ["It was your plan."]],
			[ACTION_TYPING, 400, 2400],
			[ACTION_TEXT, ["Fly the plane up there, launch", "the nuke, and then fly", "out before it blew."]],
			[ACTION_TYPING, 400, 2400],
			[ACTION_TEXT, ["Only you lost the nuke."]],
			[ACTION_GOTO, "a6"],
		],
		a5ew: [ // Act 5: Explanation course
			[ACTION_SPEAK, ["How did it go wrong?"]],
			[ACTION_TYPING, 400, 1500],
			[ACTION_TEXT, ["You kind of... lost the nuke."]],
			[ACTION_GOTO, "a6"],
		],


		a6: [ // Act 6: The Nuke
			[ACTION_PAUSE, 800],
			[ACTION_PROMPT, [["How do you lose a nuke?!", "a6h"], ["Where did I lose it?", "a6w"]]],
		],
		a6h: [ // Act 5: Nuke lost how
			[ACTION_SPEAK, ["How do you lose a nuke?!"]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["You get shot at."]],
			[ACTION_TYPING, 400, 2200],
			[ACTION_TEXT, ["You had to abort and eject. We think", "the nuke broke free during the fall."]],
			[ACTION_GOTO, "a6l"],
		],
		a6w: [ // Act 5: Nuke where
			[ACTION_SPEAK, ["Where did I lose it?"]],
			[ACTION_TYPING, 400, 1900],
			[ACTION_TEXT, ["That's the thing."]],
			[ACTION_TYPING, 400, 1400],
			[ACTION_TEXT, ["We don't know."]],
			[ACTION_TYPING, 400, 2400],
			[ACTION_TEXT, ["You were shot down on approach and", "had to eject. We think the nuke", "broke free during the fall."]],
			[ACTION_GOTO, "a6l"],
		],
		a6l: [ // Act 6: Missing, one nuke
			[ACTION_PAUSE, 2800],
			[ACTION_SPEAK, ["So where is it now?"]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["Lost."]],
			[ACTION_PAUSE, 1200],
			[ACTION_SPEAK, ["Lost?"]],
			[ACTION_TYPING, 400, 1100],
			[ACTION_TEXT, ["Lost."]],
		],














		debug: [ // Debug text
			[ACTION_SYSTEM, "System text"],
			[ACTION_TEXT, ["Single line of them text"]],
			[ACTION_TEXT, ["Multi-line 1", "Multi-line 2 longer", "Multi-line 3"]],
			[ACTION_SPEAK, ["Player speaking"]],
		],


	};
}<commit_msg>Script v1<commit_after>function theScript() {
	return {


		main: [ // Init
			[ACTION_SETVAR, "qIntel", null],
			[ACTION_SETVAR, "untrust1", null],
			[ACTION_SETVAR, "untrust2", null],
			[ACTION_GOTO, "a1"],
		],


		a1: [ // Act 1: main
			[ACTION_SYSTEM, "— Connecting —"],
			[ACTION_PAUSE, 900],
			[ACTION_SYSTEM, "— Connection established —"],
			[ACTION_TYPING, 1600, 900],
			[ACTION_TEXT, ["Hi"]],
			[ACTION_TYPING, 400, 1700],
			[ACTION_TEXT, ["I know this must be confusing for you..."]],
			[ACTION_TYPING, 400, 1300],
			[ACTION_TEXT, ["Just, don't panic. Okay?"]],
			[ACTION_PAUSE, 500],
			[ACTION_PROMPT, [["Who are you?", "a1u"], ["Where am I?", "a1is"]]],
		],

		a1u: [ // Act 1: who are you
			[ACTION_SPEAK, ["Who are you?"]],
			[ACTION_TYPING, 400, 1700],
			[ACTION_TEXT, ["I'm your P.A.L."]],
			[ACTION_PAUSE, 800],
			[ACTION_SPEAK, ["P.A.L?"]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["Primary Access Link"]],
			[ACTION_TYPING, 400, 1700],
			[ACTION_TEXT, ["Yeah, I know.", "It sucks."]],
			[ACTION_TYPING, 400, 1400],
			[ACTION_TEXT, ["Just call me Pal."]],
			[ACTION_PAUSE, 500],
			[ACTION_PROMPT, [["Hi Pal.", "a1u2"], ["Where am I Pal?", "a1i"]]],
		],

		a1u2: [ // Act 1: who are you followup
			[ACTION_SPEAK, ["Hi Pal."]],
			[ACTION_TYPING, 400, 1700],
			[ACTION_TEXT, ["Well hi to you to! Good to", "see you're taking this so well", "given where you are."]],
			[ACTION_GOTO, "a1i"],
		],

		a1is: [ // Act 1: Where am I direct
			[ACTION_SPEAK, ["Where am I?"]],
			[ACTION_TYPING, 400, 1700],
			[ACTION_TEXT, ["What, no hello?", "No, hi, nice to meet you?"]],
			[ACTION_TYPING, 400, 1500],
			[ACTION_TEXT, ["I'm P.A.L. by the way."]],
			[ACTION_TYPING, 400, 1900],
			[ACTION_TEXT, ["It stands for Primary Access", "Link, but I guess you don't", "care about that either."]],
			[ACTION_PAUSE, 500],
			[ACTION_GOTO, "a1i"],
		],

		a1i: [ // Act 1: Where am I?
			[ACTION_SPEAK, ["Where am I Pal?"]],
			[ACTION_TYPING, 400, 1700],
			[ACTION_TEXT, ["You're safe."]],
			[ACTION_PAUSE, 500],
			[ACTION_PROMPT, [["That's reassuring.", "a1ir"], ["That's not what I asked!", "a1ia"]]],
		],

		a1ir: [ // Act 1: Where am I? => Reassured
			[ACTION_SPEAK, ["Well that's reassuring."]],
			[ACTION_TYPING, 400, 1100],
			[ACTION_TEXT, ["Phew!"]],
			[ACTION_TYPING, 400, 1700],
			[ACTION_TEXT, ["The last guy flipped.", "You seem much calmer!"]],
			[ACTION_GOTO, "a2"],
		],
		a1ia: [ // Act 1: Where am I? => Angry
			[ACTION_SPEAK, ["That's not what I asked!"]],
			[ACTION_TYPING, 400, 1100],
			[ACTION_TEXT, ["Hey hey!"]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["Calm down, okay?", "I'm trying to explain this", "slowly for you."]],
			[ACTION_GOTO, "a2"],
		],


		a2: [ // Act 2
			[ACTION_TYPING, 400, 1600],
			[ACTION_TEXT, ["This is going to be a shock but..."]],
			[ACTION_SYSTEM, "— Connection lost, retrying... —"],
			[ACTION_PAUSE, 900],
			[ACTION_SYSTEM, "— Connected —"],
			[ACTION_TYPING, 1600, 900],
			[ACTION_TEXT, ["Huh"]],
			[ACTION_TYPING, 1600, 1800],
			[ACTION_TEXT, ["That shouldn't happen"]],
			[ACTION_TYPING, 1600, 1500],
			[ACTION_TEXT, ["How are you feeling?"]],
			[ACTION_PAUSE, 500],
			[ACTION_PROMPT, [["I'm confused", "a2c"], ["I'm angry", "a2a"], ["I'm lost", "a2l"]]],
		],
		a2c: [ // Act 2: Confused
			[ACTION_SPEAK, ["I'm a bit confused. What's", "going on?"]],
			[ACTION_TYPING, 400, 1100],
			[ACTION_TEXT, ["Let's start at the beginning."]],
			[ACTION_GOTO, "a2e"],
		],
		a2a: [ // Act 2: Angry
			[ACTION_SPEAK, ["Just tell me what's going on already!"]],
			[ACTION_TYPING, 400, 1100],
			[ACTION_TEXT, ["It's not that simple."]],
			[ACTION_TYPING, 400, 1100],
			[ACTION_TEXT, ["How about we start at the beginning."]],
			[ACTION_GOTO, "a2e"],
		],
		a2l: [ // Act 2: Lost
			[ACTION_SPEAK, ["I'm lost. Where am I Pal?", "Why am I here?"]],
			[ACTION_TYPING, 400, 1100],
			[ACTION_TEXT, ["I know it's scary, but bear with", "me. Let's start at the beginning yeah?"]],
			[ACTION_GOTO, "a2e"],
		],

		a2e: [ // Act 2: Explanation
			[ACTION_TYPING, 400, 1100],
			[ACTION_TEXT, ["What's the last thing you remember?"]],
			[ACTION_PAUSE, 500],
			[ACTION_PROMPT, [["The light", "a2el"], ["The sound", "a2es"], ["The pain", "a2ep"]]],
		],
		a2el: [ // Act 2: Explain light
			[ACTION_SPEAK, ["I remember a blinding light.", "It was so close, I couldn't", "see anything else."]],
			[ACTION_GOTO, "a2e2"],
		],
		a2es: [ // Act 2: Explain sound
			[ACTION_SPEAK, ["I remember a sound.", "Like a bomb going off", "right next to my ear."]],
			[ACTION_GOTO, "a2e2"],
		],
		a2ep: [ // Act 2: Explain pain
			[ACTION_SPEAK, ["I remember the pain.", "Felt like I was hit by a", "dump truck right in the chest!"]],
			[ACTION_GOTO, "a2e2"],
		],
		a2e2: [ // Act 2: Explain confirm
			[ACTION_TYPING, 400, 1900],
			[ACTION_TEXT, ["That's good.", "Well not good, but at least", "you remember something."]],
			[ACTION_TYPING, 400, 1500],
			[ACTION_TEXT, ["It will make this easier."]],
			[ACTION_PAUSE, 500],
			[ACTION_SPEAK, ["???"]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["You're dead"]],
			[ACTION_SYSTEM, "— Connection lost, retrying... —"],
			[ACTION_PAUSE, 900],
			[ACTION_SYSTEM, "— Retry failed, retrying #2... —"],
			[ACTION_PAUSE, 700],
			[ACTION_SYSTEM, "— Connected —"],
			[ACTION_TYPING, 1600, 900],
			[ACTION_TEXT, ["Great timing techs. Really great."]],
			[ACTION_PAUSE, 500],
			[ACTION_SPEAK, ["I'm dead?!"]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["Yes, but don't panic, remember?"]],
			[ACTION_PAUSE, 500],
			[ACTION_PROMPT, [["I'm dead!", "a2e2d"], ["I'm scared!", "a2e2s"]]],
		],
		a2e2d: [ // Act 2: Dead
			[ACTION_SPEAK, ["I'm dead! How am I not", "supposed to panic?!"]],
			[ACTION_TYPING, 400, 1700],
			[ACTION_TEXT, ["Because we haven't lost you yet."]],
			[ACTION_GOTO, "a3"],
		],
		a2e2s: [ // Act 2: Scared
			[ACTION_SPEAK, ["I'm scared Pal. I don't", "feel like I'm dead."]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["That's good.", "Stick with that."]],
			[ACTION_TYPING, 400, 1700],
			[ACTION_TEXT, ["Because we haven't lost you yet."]],
			[ACTION_GOTO, "a3"],
		],


		a3: [ // Act 3
			[ACTION_TYPING, 400, 1100],
			[ACTION_TEXT, ["You were hurt.", "Your heart has stopped."]],
			[ACTION_TYPING, 400, 1900],
			[ACTION_TEXT, ["We're trying to save you, but", "we need to talk to you first."]],
			[ACTION_PAUSE, 500],
			[ACTION_SPEAK, ["Talk to me?"]],
			[ACTION_PAUSE, 500],
			[ACTION_PROMPT, [["Why so urgent?", "a3u"], ["Save me first!", "a3s"]]],
		],
		a3u: [ // Act 3: urgent
			[ACTION_SPEAK, ["What could be more urgent", "than saving my life?"]],
			[ACTION_TYPING, 400, 1600],
			[ACTION_TEXT, ["You have some intel..."]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["And we need to make sure it gets", "to the right people as soon", "as possible."]],
			[ACTION_PAUSE, 500],
			[ACTION_PROMPT, [["What kind of intel?", "a3ik"], ["And it's worth risking my life for?", "a3ir"]]],
		],
		a3s: [ // Act 3: save me
			[ACTION_SPEAK, ["How about you save me first yeah?"]],
			[ACTION_TYPING, 400, 1200],
			[ACTION_TEXT, ["We're trying!"]],
			[ACTION_TYPING, 400, 1000],
			[ACTION_TEXT, ["We're doing everything we can."]],
			[ACTION_TYPING, 400, 1600],
			[ACTION_TEXT, ["But you have some intel..."]],
			[ACTION_TYPING, 400, 2000],
			[ACTION_TEXT, ["And we need to make sure it gets", "to the right people as soon", "as possible."]],
			[ACTION_PAUSE, 500],
			[ACTION_PROMPT, [["What kind of intel?", "a3ik"], ["And it's worth risking my life for?", "a3ir"]]],
		],
		a3ik: [ // Act 3: intel kind
			[ACTION_SETVAR, "qIntel", true],
			[ACTION_SPEAK, ["What kind of intel?"]],
			[ACTION_TYPING, 400, 1200],
			[ACTION_TEXT, ["Good, you're asking the right questions."]],
			[ACTION_GOTO, "a3i2"],
		],
		a3ir: [ // Act 3: intel risk
			[ACTION_SPEAK, ["And it's worth risking my life for?"]],
			[ACTION_TYPING, 400, 1200],
			[ACTION_TEXT, ["From what I've been told, yeah."]],
			[ACTION_PAUSE, 700],
			[ACTION_SPEAK, ["'From what you've been told?'", "You don't even know what it is?"]],
			[ACTION_GOTO, "a3i2"],
		],

		a3i2: [ // Act 3: intel
			[ACTION_TYPING, 400, 1700],
			[ACTION_TEXT, ["It's intel vital to the war effort."]],
			[ACTION_TYPING, 400, 1200],
			[ACTION_TEXT, ["We can't let it get into the wrong hands."]],
			[ACTION_PAUSE, 500],
			[ACTION_PROMPT, [["The war?", "a3i2w"], ["The wrong hands?", "a3i2e"]]],
		],
		a3i2w: [ // Act 3: intel war
			[ACTION_SPEAK, ["Wait, there's a war going on?"]],
			[ACTION_TYPING, 400, 1000],
			[ACTION_TEXT, ["Oh boy"]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["Yes. We are at war. Now, don't", "freak out at this next part okay?"]],
			[ACTION_GOTO, "a4"],
		],
		a3i2e: [ // Act 3: intel enemy
			[ACTION_SPEAK, ["Who the hell are we fighting against?"]],
			[ACTION_TYPING, 400, 1400],
			[ACTION_TEXT, ["This is going to be a shock."]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["And I don't want you to freak out, okay?"]],
			[ACTION_GOTO, "a4"],
		],


		a4: [ // Act 4: Enter Aliens
			[ACTION_PAUSE, 500],
			[ACTION_SPEAK, ["Freak out?!"]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["They're aliens."]],
			[ACTION_GOTO, "a4"],
			[ACTION_SYSTEM, "— Connection lost, retrying... —"],
			[ACTION_PAUSE, 1100],
			[ACTION_SYSTEM, "— Retry failed, retrying #2... —"],
			[ACTION_PAUSE, 1900],
			[ACTION_SYSTEM, "— Connected —"],
			[ACTION_SYSTEM, "— Warning: Link Unstable —"],
			[ACTION_TYPING, 1600, 900],
			[ACTION_TEXT, ["You need to calm down."]],
			[ACTION_PAUSE, 500],
			[ACTION_PROMPT, [["Aliens!", "a4a"], ["ALIENS!", "a4aa"]]],
		],
		a4aa: [ // Act 4: ALIENS!
			[ACTION_SPEAK, ["Calm down?!"]],
			[ACTION_PAUSE, 900],
			[ACTION_SPEAK, ["CALM DOWN?!"]],
			[ACTION_PAUSE, 1700],
			[ACTION_GOTO, "a4a"],
		],
		a4a: [ // Act 4: Aliens!
			[ACTION_SPEAK, ["You just told me we're at war with aliens!"]],
			[ACTION_PAUSE, 1800],
			[ACTION_SPEAK, ["How can I be calm right now?"]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["Because otherwise you'll hurt yourself."]],
			[ACTION_PAUSE, 1100],
			[ACTION_SPEAK, ["You mean more than being dead?"]],
			[ACTION_TYPING, 400, 1000],
			[ACTION_TEXT, ["Yes."]],
			[ACTION_PAUSE, 500],
			[ACTION_SPEAK, ["Oh."]],
			[ACTION_PAUSE, 400],
			[ACTION_PROMPT, [["What do they want?", "a4aw"], ["Why am I so important?", "a4ai"]]],
		],
		a4aw: [ // Act 4: Alien wants
			[ACTION_SPEAK, ["So...", "What do these aliens want?"]],
			[ACTION_TYPING, 400, 1200],
			[ACTION_TEXT, ["Oh the usual."]],
			[ACTION_TYPING, 400, 2100],
			[ACTION_TEXT, ["Take over the world.", "Steal our resources.", "Enslave the population."]],
			[ACTION_PAUSE, 500],
			[ACTION_SPEAK, ["And me?"]],
			[ACTION_TYPING, 400, 2100],
			[ACTION_TEXT, ["You have some very valuable intel in your head."]],
			[ACTION_TYPING, 400, 1500],
			[ACTION_TEXT, ["And we need to get it out."]],
			[ACTION_GOTO, "a4b"],
		],
		a4ai: [ // Act 4: Player importance?
			[ACTION_SPEAK, ["So...", "Why am I so important?"]],
			[ACTION_TYPING, 400, 1200],
			[ACTION_TEXT, ["I already told you"]],
			[ACTION_TYPING, 400, 2100],
			[ACTION_TEXT, ["These aliens want to take over the", "planet, steal our resources,", "enslave the population."]],
			[ACTION_TYPING, 400, 1900],
			[ACTION_TEXT, ["And you have the intel in your", "head to stop them."]],
			[ACTION_TYPING, 400, 1500],
			[ACTION_TEXT, ["So we need to get it out."]],
			[ACTION_GOTO, "a4b"],
		],


		a5: [ // Act 5: Me or the Mission
			[ACTION_PAUSE, 600],
			[ACTION_SPEAK, ["Before I die you mean."]],
			[ACTION_TYPING, 400, 1500],
			[ACTION_TEXT, ["We're not giving up on you yet."]],
			[ACTION_PAUSE, 400],
			[ACTION_PROMPT, [["Save the intel", "a5i"], ["Save me first", "a5m"]]],
		],
		a5i: [ // Act 5: Save intel
			[ACTION_SPEAK, ["Save the intel"]],
			[ACTION_PAUSE, 800],
			[ACTION_SPEAK, ["If it can save the human race,", "it's more important than me."]],
			[ACTION_TYPING, 400, 1200],
			[ACTION_TEXT, ["Good man."]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["That's what we like to see,", "putting others before yourself."]],
			[ACTION_PAUSE, 400],
			[ACTION_PROMPT, [["What's the risk?", "a5r"], ["What's the intel?", "a5ii"]]],
		],
		a5m: [ // Act 5: Save me
			[ACTION_SPEAK, ["Save me first!"]],
			[ACTION_PAUSE, 800],
			[ACTION_SPEAK, ["If I die you're getting nothing."]],
			[ACTION_TYPING, 400, 1200],
			[ACTION_TEXT, ["We're doing everything we can."]],
			[ACTION_TYPING, 400, 1900],
			[ACTION_TEXT, ["But if something goes wrong..."]],
			[ACTION_PAUSE, 400],
			[ACTION_PROMPT, [["What's the risk?", "a5r"], ["What's the intel?", "a5ii"]]],
		],
		a5r: [ // Act 5: Whats the risk
			[ACTION_SPEAK, ["What's the risk?"]],
			[ACTION_TYPING, 400, 1200],
			[ACTION_TEXT, ["Not gonna lie."]],
			[ACTION_TYPING, 400, 2400],
			[ACTION_TEXT, ["You might not make it through but", "we're trying everything we can."]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["And it's not as risky as what", "you were doing to get into", "this situation!"]],
			[ACTION_GOTO, "a5e"],
		],
		a5ii: [ // Act 5: What's the intel
			[ACTION_SPEAK, ["What's the intel?"]],
			[ACTION_TYPING, 400, 1500],
			[ACTION_IFVAR, "qIntel", {
				true: [ACTION_TEXT, ["You asked about the intel before."]],
				null: [ACTION_TEXT, ["So now you're interested in the intel."]],
			}],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["It's probably best to say how you got here..."]],
			[ACTION_GOTO, "a5e"],
		],
		a5e: [ // Act 5: Explanation
			[ACTION_TYPING, 400, 1400],
			[ACTION_TEXT, ["You were a pilot."]],
			[ACTION_TYPING, 400, 1900],
			[ACTION_TEXT, ["Are a pilot.", "Are."]],
			[ACTION_TYPING, 400, 2400],
			[ACTION_TEXT, ["You were supposed to fly into the alien", "mothership and launch a nuke."]],
			[ACTION_PAUSE, 1500],
			[ACTION_SPEAK, ["Yeah, I've seen this movie before..."]],
			[ACTION_TYPING, 400, 2100],
			[ACTION_TEXT, ["Anyway, it all went wrong."]],
			[ACTION_PAUSE, 1700],
			[ACTION_PROMPT, [["Of course it did!", "a5eo"], ["How did it go wrong?", "a5ew"]]],
		],
		a5eo: [ // Act 5: Explanation course
			[ACTION_SPEAK, ["Of course it went wrong!"]],
			[ACTION_PAUSE, 800],
			[ACTION_SPEAK, ["It always goes wrong!"]],
			[ACTION_TYPING, 400, 1700],
			[ACTION_TEXT, ["It was your plan."]],
			[ACTION_TYPING, 400, 2400],
			[ACTION_TEXT, ["Fly the plane up there, launch", "the nuke, and then fly", "out before it blew."]],
			[ACTION_TYPING, 400, 2400],
			[ACTION_TEXT, ["Only you lost the nuke."]],
			[ACTION_GOTO, "a6"],
		],
		a5ew: [ // Act 5: Explanation course
			[ACTION_SPEAK, ["How did it go wrong?"]],
			[ACTION_TYPING, 400, 1500],
			[ACTION_TEXT, ["You kind of... lost the nuke."]],
			[ACTION_GOTO, "a6"],
		],


		a6: [ // Act 6: The Nuke
			[ACTION_PAUSE, 800],
			[ACTION_PROMPT, [["How do you lose a nuke?!", "a6h"], ["Where did I lose it?", "a6w"]]],
		],
		a6h: [ // Act 5: Nuke lost how
			[ACTION_SPEAK, ["How do you lose a nuke?!"]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["You get shot at."]],
			[ACTION_TYPING, 400, 2200],
			[ACTION_TEXT, ["You had to abort and eject. We think", "the nuke broke free during the fall."]],
			[ACTION_GOTO, "a6l"],
		],
		a6w: [ // Act 5: Nuke where
			[ACTION_SPEAK, ["Where did I lose it?"]],
			[ACTION_TYPING, 400, 1900],
			[ACTION_TEXT, ["That's the thing."]],
			[ACTION_TYPING, 400, 1400],
			[ACTION_TEXT, ["We don't know."]],
			[ACTION_TYPING, 400, 2400],
			[ACTION_TEXT, ["You were shot down on approach and", "had to eject. We think the nuke", "broke free during the fall."]],
			[ACTION_GOTO, "a6l"],
		],
		a6l: [ // Act 6: Missing, one nuke
			[ACTION_PAUSE, 2800],
			[ACTION_SPEAK, ["So where is it now?"]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["Lost."]],
			[ACTION_PAUSE, 1200],
			[ACTION_SPEAK, ["Lost?"]],
			[ACTION_TYPING, 400, 1100],
			[ACTION_TEXT, ["Lost."]],
			[ACTION_PAUSE, 1700],
			[ACTION_PROMPT, [["Can't you find it?", "a6lu"], ["How does this intel help?", "a6li"]]],
		],
		a6lu: [ // Act 6: You hunt
			[ACTION_SPEAK, ["Can't you find it?"]],
			[ACTION_TYPING, 400, 1600],
			[ACTION_TEXT, ["Not without the codes."]],
			[ACTION_PAUSE, 1100],
			[ACTION_SPEAK, ["But you built the thing surely?!"]],
			[ACTION_GOTO, "a7"],
		],
		a6li: [ // Act 6: How hunt
			[ACTION_SPEAK, ["How does this intel help?"]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["The codes you have will let us locate the nuke."]],
			[ACTION_PAUSE, 1100],
			[ACTION_SPEAK, ["But you must have the codes surely?!"]],
			[ACTION_GOTO, "a7"],
		],


		a7: [ // Act 7: The Reveal
			[ACTION_TYPING, 400, 1900],
			[ACTION_TEXT, ["The team that built the", "nuke is no longer around."]],
			[ACTION_PAUSE, 1700],
			[ACTION_SPEAK, ["Redundancies. Backups. Anything?"]],
			[ACTION_TYPING, 400, 1100],
			[ACTION_TEXT, ["None."]],
			[ACTION_TYPING, 400, 2200],
			[ACTION_TEXT, ["You have to give us the codes."]],
			[ACTION_PAUSE, 1400],
			[ACTION_PROMPT, [["Something doesn't feel right...", "a7u"], ["Why are you so desperate...", "a7d"]]],
		],
		a7u: [ // Act 6: Unease
			[ACTION_SETVAR, "untrust1", true],
			[ACTION_SPEAK, ["Something doesn't feel right..."]],
			[ACTION_TYPING, 400, 1500],
			[ACTION_TEXT, ["We don't have much time."]],
			[ACTION_TYPING, 400, 1800],
			[ACTION_TEXT, ["You need to tell us the codes."]],
			[ACTION_PAUSE, 400],
			[ACTION_PROMPT, [["Okay, let me think.", "a7t"], ["How can I trust you?", "a7q"]]],
		],
		a7d: [ // Act 7: Desperate
			[ACTION_SPEAK, ["Why are you so desperate..."]],
			[ACTION_TYPING, 400, 1600],
			[ACTION_TEXT, ["You don't have much time."]],
			[ACTION_TYPING, 400, 1900],
			[ACTION_TEXT, ["We need to be quick, just in case."]],
			[ACTION_PAUSE, 400],
			[ACTION_PROMPT, [["Okay, let me think.", "a7t"], ["How can I trust you?", "a7q"]]],
		],
		a7q: [ // Act 7: Question trust
			[ACTION_IFVAR, "untrust1", {
				true: [ACTION_SETVAR, "untrust2", true], // double doubt
			}],
			[ACTION_SPEAK, ["How can I trust you?"]],
			[ACTION_TYPING, 400, 1400],
			[ACTION_TEXT, ["I told you."]],
			[ACTION_TYPING, 400, 2200],
			[ACTION_TEXT, ["We're trying to save your life."]],
			[ACTION_PAUSE, 400],
			[ACTION_IFVAR, "untrust2", {
				true: [ACTION_PROMPT, [["Okay, let me think.", "a7t"], ["I'm still not sure.", "a7q2"], ["No. Something's wrong.", "a7s"]]],
				null: [ACTION_PROMPT, [["Okay, let me think.", "a7t"], ["I'm still not sure.", "a7q2"]]],
			}],
		],
		a7t: [ // Act 7: Good trust
			[ACTION_SPEAK, ["Okay, let me think."]],
			[ACTION_TYPING, 400, 1900],
			[ACTION_TEXT, ["Good. Good."]],
			[ACTION_TYPING, 400, 1500],
			[ACTION_TEXT, ["You'll help end this war."]],
			[ACTION_TYPING, 400, 2200],
			[ACTION_TEXT, ["Now think, think of the codes."]],
			[ACTION_GOTO, "a8d"],
		],
		a7q2: [ // Act 7: Question trust round 2
			[ACTION_SPEAK, ["I'm still not sure."]],
			[ACTION_TYPING, 400, 2400],
			[ACTION_TEXT, ["Millions of lives hang in the balance."]],
			[ACTION_TYPING, 400, 2200],
			[ACTION_TEXT, ["You need to help us."]],
			[ACTION_PAUSE, 700],
			[ACTION_PROMPT, [["Okay, let me think.", "a7t"], ["No. Something's wrong.", "a7s"]]],
		],
		a7s: [ // Act 7: BAD BAD BAD
			[ACTION_SPEAK, ["No. Something's wrong."]],
			[ACTION_PAUSE, 400],
			[ACTION_SPEAK, ["Who are you?"]],
			[ACTION_TYPING, 400, 1500],
			[ACTION_TEXT, ["I told you."]],
			[ACTION_TYPING, 400, 1900],
			[ACTION_TEXT, ["I'm your PAL."]],
			[ACTION_PAUSE, 800],
			[ACTION_SPEAK, ["Bullshit", "I want to know who you really are!"]],
			[ACTION_GOTO, "a8c"],
		],


		a8c: [ // Act 8: Call them out
			[ACTION_TYPING, 400, 1500],
			[ACTION_TEXT, ["Very well."]],
			[ACTION_TYPING, 400, 1900],
			[ACTION_TEXT, ["We are your attackers."]],
			[ACTION_TYPING, 400, 2500],
			[ACTION_TEXT, ["We will have your world.", "We will eliminate your defences.", "And you will help us do so."]],
			[ACTION_PAUSE, 2100],
			[ACTION_SPEAK, ["You're crazy if you think I'll help you."]],
			[ACTION_TYPING, 400, 2400],
			[ACTION_TEXT, ["Oh but you will."]],
			[ACTION_TYPING, 400, 1900],
			[ACTION_TEXT, ["You didn't lose your memory."]],
			[ACTION_TYPING, 400, 2100],
			[ACTION_TEXT, ["We took it!"]],
			[ACTION_TYPING, 400, 2800],
			[ACTION_TEXT, ["And we'll take it again.", "And again.", "Until you finally tell us what we want to know."]],
			[ACTION_PAUSE, 2400],
			[ACTION_SPEAK, ["No."]],
			[ACTION_PAUSE, 1400],
			[ACTION_SPEAK, ["I won't let you."]],
			[ACTION_SYSTEM, "— Resetting memories —"],
			[ACTION_PAUSE, 1200],
			[ACTION_SPEAK, ["Stop this."]],
			[ACTION_TYPING, 400, 2100],
			[ACTION_TEXT, ["Let's hope next time you're", "more co-operative."]],
			[ACTION_PAUSE, 1200],
			[ACTION_SPEAK, ["Please!"]],
			[ACTION_SYSTEM, "— Restarting PAL —"],
			[ACTION_PAUSE, 400],
			[ACTION_GOTO, "main"],
		],
		a8d: [ // Act 8: Defeat
			[ACTION_SPEAK, ["I'm trying."]],
			[ACTION_TYPING, 400, 1500],
			[ACTION_TEXT, ["Good."]],
			[ACTION_PAUSE, 900],
			[ACTION_SYSTEM, "— Codes received —"],
			[ACTION_TYPING, 400, 1400],
			[ACTION_TEXT, ["Perfect"]],
			[ACTION_TYPING, 400, 2100],
			[ACTION_TEXT, ["Your contribution to the war effort is", "more important than you can imagine."]],
			[ACTION_PAUSE, 700],
			[ACTION_SYSTEM, "— Purging memories —"],
			[ACTION_PAUSE, 400],
			[ACTION_SPEAK, ["Wait!", "Stop, please!"]],
			[ACTION_TYPING, 400, 2100],
			[ACTION_TEXT, ["You've been very helpful."]],
			[ACTION_PAUSE, 1600],
			[ACTION_SPEAK, ["What are you doing?"]],
			[ACTION_TYPING, 400, 2100],
			[ACTION_TEXT, ["Thank you for the codes human."]],
			[ACTION_TYPING, 400, 2500],
			[ACTION_TEXT, ["But it's time for you to go now."]],
			[ACTION_PAUSE, 400],
			[ACTION_SPEAK, ["Please..."]],
			[ACTION_SYSTEM, "— Shutting down —"],
			[ACTION_SYSTEM, "— Game over —"],
			[ACTION_PAUSE, 1400],
			[ACTION_PROMPT, [["Play again?", "main"]]],
		],


		debug: [ // Debug text
			[ACTION_SYSTEM, "System text"],
			[ACTION_TEXT, ["Single line of them text"]],
			[ACTION_TEXT, ["Multi-line 1", "Multi-line 2 longer", "Multi-line 3"]],
			[ACTION_SPEAK, ["Player speaking"]],
		],


	};
}
{'fraction_non_alphanumeric': 0.19942128724485805, 'fraction_numerical': 0.0569067542556242, 'mean_word_length': 3.6771519141672764, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '279631', 'n_tokens_mistral': 18557, 'n_tokens_neox': 14507, 'n_words': 4443}