Your browser lacks required capabilities. Please upgrade it or switch to another to continue.
Loading…
<<set $stepsTaken_Array to []>>
<<set $stepsNeeded_Array = ["OddMagic"]>><<set $stepsNeeded_Array = []>>
<<set $stepsTaken_Array = []>>
[img[Images\Day16\GSDay16BG1.png]]
"It has to be here. It has to be. It has to. Please please please please please."
<<set _show to { start: 0, end: 5}>>\
<div class='hide' id='next0'>[img[Images\Day16\GSDay16BG2.png]]
"AAAGH"</div>
<div class='hide' id='next1'>[img[Images\Day16\GSDay16BG3.png]]
"It's not here. I've looked everywhere. I can't find my book. I'll never get to complete the series now."</div>
<div class='hide' id='next2'>"Oh I'm sorry... I got a little carried away looking. We should clean all this up. Would you mind lending a hand? I think we should start wi-"</div>
<div class='hide' id='next3'>[img[Images\Day16\GSDay16BG4.png]]
"WAIT! I just remembered the last place I saw it was in the dorm! That... probably could have saved some time."</div>
<div class='hide' id='next4'>"Well it's worth a shot before I give up on my hopes and dreams forever. Care to join?"
[[That's a bit much, but, uh, sure?|Steps 11 - 15]]</div><<set $stepsNeeded_Array = ["rep(3) {moveDown();}","rep(3) {moveLeft();}","check();"]>>\
<<set _commandLength = $stepsTaken_Array.length>>\
<<if $step11Visited == null>>\
<<set $step11Visited = true>>\
[img[Images\Day16\GSDay16BG5.png]]
"Woah... what happened in here?"
<<set _show to { start: 0, end: 2}>>\
<div class='hide' id='next0'>"Actually... you know some of this stuff looks really familiar."</div>
<div class='hide' id='next1'> [img[Images\Day16\GSDay16BG6.png]]
"Can you go over to that chair and <span class='redBold'>check();</span> if there's a book lodged in there? Use <span class='blueBold'>rep( ) { }</span> for moves."
<<if _commandLength < $stepsNeeded_Array.length>>\
<label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 11 - 15][$stepsTaken_Array.push(_commandString)]]
[[Clear the commands.|Steps 11 - 15][$stepsTaken_Array = []]]
<</if>>\
</div>
<<else>>\
[img[Images\Day16\GSDay16BG6.png]]
"Can you go over to that chair and <span class='redBold'>check();</span> if there's a book lodged in there? Use <span class='blueBold'>rep( ) { }</span> for moves."
<<if _commandLength < $stepsNeeded_Array.length>><label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 11 - 15][$stepsTaken_Array.push(_commandString)]]
[[Clear the commands.|Steps 11 - 15][$stepsTaken_Array = []]]
<</if>>\
<<if _commandLength >= $stepsNeeded_Array.length>>\
[[Check solution.|Steps 11 - 15 Evaluation]]
[[Clear the commands.|Steps 11 - 15][$stepsTaken_Array = []]]
<</if>>\
<<if _commandLength > 0>>\
Current commands:
<<for _i to 0; _i < _commandLength; _i ++>>\
<<if $stepsTaken_Array[_i] != "" && $stepsTaken_Array[_i] != " ">>\
<<print $stepsTaken_Array[_i]>>
<<else>>\
Blank Command
<</if>>\
<</for>>
<</if>>
<</if>>[img[Images\Day15\GSDay15BG36.png]]
"Phew. Thank you. I think I've calmed down a bit."
<<set _show to { start: 0, end: 4}>>\
<div class='hide' id='next0'>[img[Images\Day15\GSDay15BG37.png]]
"Why don't you help me carry these to the Library? Then we can head back to the Dorm."</div>
<div class='hide' id='next1'>[img[Images\Day15\GSDay15BG38.png]]
"Thank you for helping today. I'm sorry I got so mad earlier, I'm sure you kinda just got dragged into that mess."</div>
<div class='hide' id='next2'>[img[Images\Day15\GSDay15BG39.png]]
"Here's a treat to thank you. Hope you like ice cream!"</div>
<div class='hide' id='next3'>[img[Images\Day15\GSDay15BG40.png]]
"Oh... Oh no..."
----
Good job! This lesson's password is: <span class ='whiteBold'>Pearl</span>
Enter it in the Google Forms link!</div><<set _gotIt = true>>\
<<for _i to 0; _i < $stepsTaken_Array.length; _i ++>>\
<<set _gotIt = $stepsTaken_Array[_i].replace(/\s/g,'') == $stepsNeeded_Array[_i].replace(/\s/g,'')>>\
<<if _gotIt == false>>\
<<break>>
<</if>>\
<</for>>\
<<if _gotIt == false>>\
Looks like you had an error somewhere. Try it again.
[[Go back.|Steps 11 - 15][$stepsTaken_Array = []]]
<<else>>\
You slip-slide-shimmy over to the chair and inspect it closely for a book.
You find nothing.
[[Yeah, no good. Sorry!|Steps 16 - 17]]
<<set $stepsNeeded_Array = []>>
<<set $stepsTaken_Array = []>>
<</if>>\<<set $stepsNeeded_Array = ["rep(10) {moveRight();}",
"rep(2) {moveUp();}", "check();"]>>
<<set _commandLength = $stepsTaken_Array.length>>\
<<if $step16Visited == null>>\
<<set $step16Visited = true>>\
[img[Images\Day16\GSDay16BG7.png]]
"Nothing? Hmm... what about that one over there?"
<<if _commandLength < $stepsNeeded_Array.length>><label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 16 - 17][$stepsTaken_Array.push(_commandString)]]
[[Clear the commands.|Steps 16 - 17][$stepsTaken_Array = []]]
<</if>>
<<else>>\
[img[Images\Day16\GSDay16BG7.png]]
"Nothing? Hmm... what about that one over there?"
<<if _commandLength < $stepsNeeded_Array.length>><label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 16 - 17][$stepsTaken_Array.push(_commandString)]]
[[Clear the commands.|Steps 16 - 17][$stepsTaken_Array = []]]
<</if>>\
<<if _commandLength >= $stepsNeeded_Array.length>>\
[[Check solution.|Steps 16 - 17 Evaluation]]
[[Clear the commands.|Steps 16 - 17][$stepsTaken_Array = []]]
<</if>>\
<<if _commandLength > 0>>\
Current commands:
<<for _i to 0; _i < _commandLength; _i ++>>\
<<if $stepsTaken_Array[_i] != "" && $stepsTaken_Array[_i] != " ">>\
<<print $stepsTaken_Array[_i]>>
<<else>>\
Blank Command
<</if>>\
<</for>>
<</if>>
<</if>><<set _gotIt = true>>\
<<for _i to 0; _i < $stepsTaken_Array.length; _i ++>>\
<<set _gotIt = $stepsTaken_Array[_i].replace(/\s/g,'') == $stepsNeeded_Array[_i].replace(/\s/g,'')>>\
<<if _gotIt == false>>\
<<break>>
<</if>>\
<</for>>\
<<if _gotIt == false>>\
Looks like you had an error somewhere. Try it again.
[[Go back.|Steps 16 - 17][$stepsTaken_Array = []]]
<<else>>\
With a shrug, you spin and slide over to the other chair to check it.
This time, a book pops into your hand when.
[[Nabbed it! Yo, look at this!|Steps 18 - 21]]
<<set $stepsNeeded_Array = []>>
<<set $stepsTaken_Array = []>>
<</if>>\<<set $stepsNeeded_Array = ["moveLeft();", "moveUp();",
"pickUp();", "rep(6) {moveLeft();}", "putDown(book);"]>>
<<set _commandLength = $stepsTaken_Array.length>>\
<<if $step18Visited == null>>\
<<set $step18Visited = true>>\
[img[Images\Day16\GSDay16BG8.png]]
"You found it!?"
<<set _show to { start: 0, end: 1}>>\
<div class='hide' id='next0'>[img[Images\Day16\GSDay16BG9.png]]
"Grab it and <span class='whiteBold'>put it down</span> by me!"
<<if _commandLength < $stepsNeeded_Array.length>><label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 18 - 21][$stepsTaken_Array.push(_commandString)]]
[[Clear the commands.|Steps 18 - 21][$stepsTaken_Array = []]]
<</if>>\
</div>
<<else>>\
[img[Images\Day16\GSDay16BG9.png]]
"Grab it and <span class='whiteBold'>put it down</span> by me!"
<<if _commandLength < $stepsNeeded_Array.length>><label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 18 - 21][$stepsTaken_Array.push(_commandString)]]
[[Clear the commands.|Steps 18 - 21][$stepsTaken_Array = []]]
<</if>>\
<<if _commandLength >= $stepsNeeded_Array.length>>\
[[Check solution.|Steps 18 - 21 Evaluation]]
[[Clear the commands.|Steps 18 - 21][$stepsTaken_Array = []]]
<</if>>\
<<if _commandLength > 0>>\
Current commands:
<<for _i to 0; _i < _commandLength; _i ++>>\
<<if $stepsTaken_Array[_i] != "" && $stepsTaken_Array[_i] != " ">>\
<<print $stepsTaken_Array[_i]>>
<<else>>\
Blank Command
<</if>>\
<</for>>
<</if>>
<</if>><<set _gotIt = true>>\
<<for _i to 0; _i < $stepsTaken_Array.length; _i ++>>\
<<set _gotIt = $stepsTaken_Array[_i].replace(/\s/g,'') == $stepsNeeded_Array[_i].replace(/\s/g,'')>>\
<<if _gotIt == false>>\
<<break>>
<</if>>\
<</for>>\
<<if _gotIt == false>>\
Looks like you had an error somewhere. Try it again.
[[Go back.|Steps 18 - 21][$stepsTaken_Array = []]]
<<else>>\
You do another set of power moves toward the other chair and check it.
You find a book!
[[Woo! We got a whammy!|Steps 22 - 27]]
<<set $stepsNeeded_Array = []>>
<<set $stepsTaken_Array = []>>
<</if>>\<<set $stepsNeeded_Array = ["rep(3) {moveRight();}", "fix();"]>>
<<set _commandLength = $stepsTaken_Array.length>>\
<<if $step22Visited == null>>\
<<set $step22Visited = true>>\
[img[Images\Day16\GSDay16BG10.png]]
"Nope. This isn't it."
<<set _show to { start: 0, end: 2}>>\
<div class='hide' id='next0'>[img[Images\Day16\GSDay16BG11.png]]
"Fate is so cruel. Maybe I'll just give up on reading. Some people say the movies are better anyway... Some people are monsters."</div>
<div class='hide' id='next1'>[img[Images\Day16\GSDay16BG12.png]]
"Why don't you go <span class='redBold'>fix();</span> on that tv over there? Just use the power button. Whether it's on or off is a Boolean value - a true or false value. It's off. So turn it on."
<label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 22 - 27][$stepsTaken_Array.push(_commandString)]]
[[Clear the commands.|Steps 22 - 27][$stepsTaken_Array = []]]</div>
<<else>>\
[img[Images\Day16\GSDay16BG12.png]]
"Why don't you go <span class='redBold'>fix();</span> on that tv over there? Just use the power button. Whether it's on or off is a Boolean value - a true or false value. It's off. So turn it on."
<<if _commandLength < $stepsNeeded_Array.length>><label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 22 - 27][$stepsTaken_Array.push(_commandString)]]
[[Clear the commands.|Steps 22 - 27][$stepsTaken_Array = []]]
<</if>>\
<</if>>\
<<if _commandLength >= $stepsNeeded_Array.length>>\
[[Check solution.|Steps 22 - 27 Evaluation]]
[[Clear the commands.|Steps 22 - 27][$stepsTaken_Array = []]]
<</if>>\
<<if _commandLength > 0>>\
Current commands:
<<for _i to 0; _i < _commandLength; _i ++>>\
<<if $stepsTaken_Array[_i] != "" && $stepsTaken_Array[_i] != " ">>\
<<print $stepsTaken_Array[_i]>>
<<else>>\
Blank Command
<</if>>\
<</for>>
<</if>><<set _gotIt = true>>\
<<for _i to 0; _i < $stepsTaken_Array.length; _i ++>>\
<<set _gotIt = $stepsTaken_Array[_i].replace(/\s/g,'') == $stepsNeeded_Array[_i].replace(/\s/g,'')>>\
<<if _gotIt == false>>\
<<break>>
<</if>>\
<</for>>\
<<if _gotIt == false>>\
Looks like you had an error somewhere. Try it again.
[[Go back.|Steps 22 - 27][$stepsTaken_Array = []]]
<<else>>\
You snap the TV on.
[[All right, what's on the box?|Steps 28 - 31]]
<<set $stepsNeeded_Array = []>>
<<set $stepsTaken_Array = []>>
<</if>>\<<set $stepsNeeded_Array = ["moveLeft();", "pickUp();",
"rep(3) {moveLeft();}", "putDown(book);"]>>
<<set _commandLength = $stepsTaken_Array.length>>\
<<if $step28Visited == null>>\
<<set $step28Visited = true>>\
[img[Images\Day16\GSDay16BG13.png]]
"A BOOK CAME OUT OF THE TV?!"
<<set _show to { start: 0, end: 1}>>\
<div class='hide' id='next0'>[img[Images\Day16\GSDay16BG14.png]]
"You know what? I'm not even going to question that. Bring that book over here please."
<<if _commandLength < $stepsNeeded_Array.length>><label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 28 - 31][$stepsTaken_Array.push(_commandString)]]
[[Clear the commands.|Steps 28 - 31][$stepsTaken_Array = []]]
<</if>>\
</div>
<<else>>\
[img[Images\Day16\GSDay16BG14.png]]
"You know what? I'm not even going to question that. Bring that book over here please."
<<if _commandLength < $stepsNeeded_Array.length>><label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 28 - 31][$stepsTaken_Array.push(_commandString)]]
[[Clear the commands.|Steps 28 - 31][$stepsTaken_Array = []]]
<</if>>\
<<if _commandLength >= $stepsNeeded_Array.length>>\
[[Check solution.|Steps 28 - 31 Evaluation]]
[[Clear the commands.|Steps 28 - 31][$stepsTaken_Array = []]]
<</if>>\
<<if _commandLength > 0>>\
Current commands:
<<for _i to 0; _i < _commandLength; _i ++>>\
<<if $stepsTaken_Array[_i] != "" && $stepsTaken_Array[_i] != " ">>\
<<print $stepsTaken_Array[_i]>>
<<else>>\
Blank Command
<</if>>\
<</for>>
<</if>>
<</if>><<set _gotIt = true>>\
<<for _i to 0; _i < $stepsTaken_Array.length; _i ++>>\
<<set _gotIt = $stepsTaken_Array[_i].replace(/\s/g,'') == $stepsNeeded_Array[_i].replace(/\s/g,'')>>\
<<if _gotIt == false>>\
<<break>>
<</if>>\
<</for>>\
<<if _gotIt == false>>\
Looks like you had an error somewhere. Try it again.
[[Go back.|Steps 28 - 31][$stepsTaken_Array = []]]
<<else>>\
You pluck the book up and bring it to the cat-eared ghost.
[[Got it. What's next?|Steps 32 - 35]]
<<set $stepsNeeded_Array = []>>
<<set $stepsTaken_Array = []>>
<</if>>\<<set $stepsNeeded_Array = ["moveRight();","rep(3) {pickUp(book); moveUp(); moveUp();}","rep(10) {moveLeft();}","putDown(book);"]>>
<<set _commandLength = $stepsTaken_Array.length>>\
<<if $step36Visited == null>>\
<<set $step36Visited = true>>\
[img[Images\Day16\GSDay16BG17.png]]
"All of them had books in them. Yup. That makes sense."
<<set _show to { start: 0, end: 1}>>\
<div class='hide' id='next0'>[img[Images\Day16\GSDay16BG18.png]]
"After you grab them, please <span class='whiteBold'>put down</span> the <span class='whiteBold'>3</span> books right here."
<<if _commandLength < $stepsNeeded_Array.length>><label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 36 - 39][$stepsTaken_Array.push(_commandString)]]
[[Clear the commands.|Steps 36 - 39][$stepsTaken_Array = []]]
<</if>>\
</div>
<<else>>\
[img[Images\Day16\GSDay16BG18.png]]
"After you grab them, please <span class='whiteBold'>put down</span> the <span class='whiteBold'>3</span> books right here."
<<if _commandLength < $stepsNeeded_Array.length>><label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 36 - 39][$stepsTaken_Array.push(_commandString)]]
[[Clear the commands.|Steps 36 - 39][$stepsTaken_Array = []]]
<</if>>\
<<if _commandLength >= $stepsNeeded_Array.length>>\
[[Check solution.|Steps 36 - 39 Evaluation]]
[[Clear the commands.|Steps 36 - 39][$stepsTaken_Array = []]]
<</if>>\
<<if _commandLength > 0>>\
Current commands:
<<for _i to 0; _i < _commandLength; _i ++>>\
<<if $stepsTaken_Array[_i] != "" && $stepsTaken_Array[_i] != " ">>\
<<print $stepsTaken_Array[_i]>>
<<else>>\
Blank Command
<</if>>\
<</for>>
<</if>>
<</if>><<set $stepsNeeded_Array = ["rep(5) {moveRight();}",
"moveDown();","rep(5) {moveRight();}","check();","rep(3) {moveDown();}",
"check();","moveDown();","fix();"]>>
<<set _commandLength = $stepsTaken_Array.length>>\
<<if $step32Visited == null>>\
<<set $step32Visited = true>>\
[img[Images\Day16\GSDay16BG15.png]]
"Of course not. Of course the magical book that came out of the tv wouldn't be it. Tell me the truth in a Bool. True or False. Am I cursed? ...Actually don't answer that."
<<set _show to { start: 0, end: 1}>>\
<div class='hide' id='next0'>[img[Images\Day16\GSDay16BG16.png]]
"I don't even know anymore. <span class='redBold'>check();</span> the lockers. Heck, <span class='redBold'>fix();</span> that other old TV on. Give that a whirl."
<<if _commandLength < $stepsNeeded_Array.length>><label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 32 - 35][$stepsTaken_Array.push(_commandString)]]
[[Clear the commands.|Steps 32 - 35][$stepsTaken_Array = []]]
<</if>>\
</div>
<<else>>\
[img[Images\Day16\GSDay16BG16.png]]
"I don't even know anymore. <span class='redBold'>check();</span> the lockers. Heck, <span class='redBold'>fix();</span> that other old TV on. Give that a whirl."
<<if _commandLength < $stepsNeeded_Array.length>><label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 32 - 35][$stepsTaken_Array.push(_commandString)]]
[[Clear the commands.|Steps 32 - 35][$stepsTaken_Array = []]]
<</if>>\
<<if _commandLength >= $stepsNeeded_Array.length>>\
[[Check solution.|Steps 32 - 35 Evaluation]]
[[Clear the commands.|Steps 32 - 35][$stepsTaken_Array = []]]
<</if>>\
<<if _commandLength > 0>>\
Current commands:
<<for _i to 0; _i < _commandLength; _i ++>>\
<<if $stepsTaken_Array[_i] != "" && $stepsTaken_Array[_i] != " ">>\
<<print $stepsTaken_Array[_i]>>
<<else>>\
Blank Command
<</if>>\
<</for>>
<</if>>
<</if>><<set _gotIt = true>>\
<<for _i to 0; _i < $stepsTaken_Array.length; _i ++>>\
<<set _gotIt = $stepsTaken_Array[_i].replace(/\s/g,'') == $stepsNeeded_Array[_i].replace(/\s/g,'')>>\
<<if _gotIt == false>>\
<<break>>
<</if>>\
<</for>>\
<<if _gotIt == false>>\
Looks like you had an error somewhere. Try it again.
[[Go back.|Steps 32 - 35][$stepsTaken_Array = []]]
<<else>>\
You shuffle and slide over to the targets in question and check and switch the various things.
[[Magic, magic, magic~|Steps 36 - 39]]
<<set $stepsNeeded_Array = []>>
<<set $stepsTaken_Array = []>>
<</if>>\<<set _gotIt = true>>\
<<for _i to 0; _i < $stepsTaken_Array.length; _i ++>>\
<<set _gotIt = $stepsTaken_Array[_i].replace(/\s/g,'') == $stepsNeeded_Array[_i].replace(/\s/g,'')>>\
<<if _gotIt == false>>\
<<break>>
<</if>>\
<</for>>\
<<if _gotIt == false>>\
Looks like you had an error somewhere. Try it again.
[[Go back.|Steps 36 - 39][$stepsTaken_Array = []]]
<<else>>\
You put the books down in front of the ghost.
[[Here you go.|Steps 40 - 43]]
<<set $stepsNeeded_Array = []>>
<<set $stepsTaken_Array = []>>
<</if>>\<<set $stepsNeeded_Array = ["rep(3) {moveDown(); moveLeft(); moveDown(); check();}"]>>
<<set _commandLength = $stepsTaken_Array.length>>\
<<if $step40Visited == null>>\
<<set $step40Visited = true>>\
[img[Images\Day16\GSDay16BG19.png]]
"I see. It's not any of these either, huh?"
<<set _show to { start: 0, end: 1}>>\
<div class='hide' id='next0'>[img[Images\Day16\GSDay16BG20.png]]
"EVERYTHING. <span class='redBold'>check();</span> EVERYTHING. <span class='redBold'>check();</span> IT ALL."
<label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 40 - 43 Evaluation][$stepsTaken_Array.push(_commandString)]]</div>
<<else>>\
[img[Images\Day16\GSDay16BG20.png]]
"EVERYTHING. <span class='redBold'>check();</span> EVERYTHING. span class='redBold'>check();</span> IT ALL."
<label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 40 - 43 Evaluation][$stepsTaken_Array.push(_commandString)]]
<</if>>\<<set _gotIt = true>>\
<<for _i to 0; _i < $stepsTaken_Array.length; _i ++>>\
<<set _gotIt = $stepsTaken_Array[_i].replace(/\s/g,'') == $stepsNeeded_Array[_i].replace(/\s/g,'')>>\
<<if _gotIt == false>>\
<<break>>
<</if>>\
<</for>>\
<<if _gotIt == false>>\
Looks like you had an error somewhere. Try it again.
[[Go back.|Steps 40 - 43][$stepsTaken_Array = []]]
<<else>>\
Nervously, you go to check the stuff that the cat-eared ghost asked you to check.
[[Here you go.|Steps 44 - 45]]
<<set $stepsNeeded_Array = []>>
<<set $stepsTaken_Array = []>>
<</if>>\<<set $stepsNeeded_Array = ["rep(3) { rep(4) { moveRight(); } fix(); }"]>>
<<set _commandLength = $stepsTaken_Array.length>>\
<<if $step44Visited == null>>\
<<set $step44Visited = true>>\
[img[Images\Day16\GSDay16BG21.png]]
"FORGET THOSE BOOKS. GO <span class='redBold'>fix();</span> ON ALL THE MAGIC SCREENS."
<label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 44 - 45 Evaluation][$stepsTaken_Array.push(_commandString)]]
<<else>>\
[img[Images\Day16\GSDay16BG21.png]]
"FORGET THOSE BOOKS. GO span class='redBold'>fix();</span> ON ALL THE MAGIC SCREENS."
<label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 44 - 45 Evaluation][$stepsTaken_Array.push(_commandString)]]
<</if>>\<<set _gotIt = true>>\
<<for _i to 0; _i < $stepsTaken_Array.length; _i ++>>\
<<set _gotIt = $stepsTaken_Array[_i].replace(/\s/g,'') == $stepsNeeded_Array[_i].replace(/\s/g,'')>>\
<<if _gotIt == false>>\
<<break>>
<</if>>\
<</for>>\
<<if _gotIt == false>>\
Looks like you had an error somewhere. Try it again.
[[Go back.|Steps 46 - 47][$stepsTaken_Array = []]]
<<else>>\
Nervously, you go to check the stuff that the cat-eared ghost asked you to check.
[[Here you go.|Steps 46 - 47]]
<<set $stepsNeeded_Array = []>>
<<set $stepsTaken_Array = []>>
<</if>>\<<set $stepsNeeded_Array = ["rep(3) {moveUp();}",
"rep(3) {moveLeft(); moveLeft(); fix();}",
"rep(3) {moveDown();}"]>>
<<set _commandLength = $stepsTaken_Array.length>>\
<<if $step46Visited == null>>\
<<set $step46Visited = true>>\
[img[Images\Day16\GSDay16BG22.png]]
"GET THOSE TOO."
<<if _commandLength < $stepsNeeded_Array.length>><label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 46 - 47][$stepsTaken_Array.push(_commandString)]]
[[Clear the commands.|Steps 46 - 47][$stepsTaken_Array = []]]
<</if>>\
</div>
<<else>>\
[img[Images\Day16\GSDay16BG22.png]]
"GET THOSE TOO."
<<if _commandLength < $stepsNeeded_Array.length>><label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 46 - 47][$stepsTaken_Array.push(_commandString)]]
[[Clear the commands.|Steps 46 - 47][$stepsTaken_Array = []]]
<</if>>\
<<if _commandLength >= $stepsNeeded_Array.length>>\
[[Check solution.|Steps 46 - 47 Evaluation]]
[[Clear the commands.|Steps 46 - 47][$stepsTaken_Array = []]]
<</if>>\
<<if _commandLength > 0>>\
Current commands:
<<for _i to 0; _i < _commandLength; _i ++>>\
<<if $stepsTaken_Array[_i] != "" && $stepsTaken_Array[_i] != " ">>\
<<print $stepsTaken_Array[_i]>>
<<else>>\
Blank Command
<</if>>\
<</for>>
<</if>>
<</if>><<set _gotIt = true>>\
<<for _i to 0; _i < $stepsTaken_Array.length; _i ++>>\
<<set _gotIt = $stepsTaken_Array[_i].replace(/\s/g,'') == $stepsNeeded_Array[_i].replace(/\s/g,'')>>\
<<if _gotIt == false>>\
<<break>>
<</if>>\
<</for>>\
<<if _gotIt == false>>\
Looks like you had an error somewhere. Try it again.
[[Go back.|Steps 46 - 47][$stepsTaken_Array = []]]
<<else>>\
You get those, too.
[[Um. Did I get 'em?|Steps 48 - 59]]
<<set $stepsNeeded_Array = []>>
<<set $stepsTaken_Array = []>>
<</if>>\[img[Images\Day16\GSDay16BG23.png]]
"Is that it? No more hidden books?"
<<set _show to { start: 0, end: 5}>>\
<div class='hide' id='next0'>[img[Images\Day16\GSDay16BG24.png]]
"Not here..."</div>
<div class='hide' id='next1'>[img[Images\Day16\GSDay16BG25.png]]
"IT'S NOT HERE..."</div>
<div class='hide' id='next2'>[img[Images\Day16\GSDay16BG26.png]]
"IS IT IN THIS VASE?!?"</div>
<div class='hide' id='next3'>[img[Images\Day16\GSDay16BG27.png]]
"IS IT BURIED UNDER THIS PLANT?!?"</div>
<div class='hide' id='next4'>[img[Images\Day16\GSDay16BG28.png]]
"Where is it?"
[[Uh. Are you OK?|Steps 60 - 67]]</div>[img[Images\Day16\GSDay16BG29.png]]
"Tell me..."
<<set _show to { start: 0, end: 4}>>\
<div class='hide' id='next0'>[img[Images\Day16\GSDay16BG30.png]]
"My book..."
<div class='hide' id='next1'>[img[Images\Day16\GSDay16BG31.png]]
"What did you do..."</div>
<div class='hide' id='next2'>[img[Images\Day16\GSDay16BG32.png]]
"WHAT DID YOU DO WITH IT"</div>
<div class='hide' id='next3'>
[[OK. So not OK. NOT OK. UHHHH|Steps 68 - 80]]</div><<set _show to { start: 0, end: 7}>>\
[img[Images\Day16\GSDay16BG33.png]]
"AH... I'm sorry. I... just got really attached to the characters..."
<div class='hide' id='next0'>"It's like another world, you know? They're all so unique and I feel like I'm letting them down by not seeing how it all ends."</div>
<div class='hide' id='next1'>"...Don't worry about it. Thanks for trying to help. I really do appreciate it. And I'll bring these all back to the library, don't worry."</div>
<div class='hide' id='next2'>[img[Images\Day16\GSDay16BG34.png]]
"I guess I'll just have to accept that I won't be able to finish the story..." *sigh* </div>
<div class='hide' id='next3'>[img[Images\Day16\GSDay16BG35.png]]
"Hi you two! What do you think of the new layout? I brought in some stuff we had in storage. I was thinking we could start decorating this-"
<div class='hide' id='next4'>"...""</div>
<div class='hide' id='next5'>"..."</div>
<div class='hide' id='next6'>[img[Images\Day16\GSDay16BG36.png]]
"You... What is that on your head?"
[img[Images\Day16\GSDay16BG37.png]]
</div><label>Enter the password for today's class. <<textbox "_commandString" "">></label>
[[Enter command.|PasswordCheck][$stepsTaken_Array.push(_commandString)]]
<<set _gotIt = true>>\
<<for _i to 0; _i < $stepsTaken_Array.length; _i ++>>\
<<set _gotIt = $stepsTaken_Array[_i] == $stepsNeeded_Array[_i]>>\
<<if _gotIt == false>>\
<<break>>
<</if>>\
<</for>>\
<<if _gotIt == false>>\
Password was incorrect.
[[Go back.|Password Screen][$stepsTaken_Array = []]]
<<else>>\
[[Click here to continue.|Steps 1 - 10]]
<<set $stepsNeeded_Array = []>>
<<set $stepsTaken_Array = []>>
<</if>>\