Double-click this passage to edit it.(set:$LocationType to "ls")(set:$xloc to 0)(set:$yloc to 1)(set:$lvel to 1)(set:$Section to "rs")(if: $Section is "rl")[<div class="background"><img></img src="rl.png"></div>] (if: $Section is "rl")[] (else-if: $Section is "ud")[] (else-if: $Section is "ul")[] (else-if: $Section is "ur")[] (else-if: $Section is "rd")[] (else-if: $Section is "dl")[] (else-if: $Section is "url")[] (else-if: $Section is "urd")[] (else-if: $Section is "rdl")[] (else-if: $Section is "dlu")[] (else-if: $Section is "ls")[] (else-if: $Section is "rs")[] (else-if: $Section is "ds")[] (else-if: $Section is "us")[]Double-click this passage to edit it.(set:$class to "upButton naviButton")(set:$source to $image's upArrow) [(display:"getImage")]<up|(click: ?up)[(set:$NewDir to "Up")(go-to:"movement")](display:"changeDirection")(display: "Level Section Display")place $xloc $yloc $lvel $Section (set:$class to "downButton naviButton")(set:$source to $image's downArrow) [(display:"getImage")]<down|(click: ?down)[(set:$NewDir to "Down")(go-to:"movement")](set:$class to "rightButton naviButton")(set:$source to $image's rightArrow) [(display:"getImage")]<Right|(click:?Right)[(set:$NewDir to "Right")(go-to:"movement")](set:$class to "leftButton naviButton")(set:$source to $image's leftArrow) [(display:"getImage")]<left|(click: ?left)[(set:$NewDir to "Left")(go-to:"movement")](set: $lvel to 2)(set: $xloc to 0)(set: $yloc to 3)(set:$locationType to "rs")(set:$direction to "right")(set:$NewDir to "")(set: $lastWalk to "")(if:$lvel is 3 )[(set:$CurrentColor to "Color dark") ](else:)[(set:$CurrentColor to "Color a")] <div class="stats">Attack:(text:$PlayerCharacter's Attack) HP:(text:$PlayerCharacter's hp) </div> <div class ="contents">(set:$levelName to "level"+(text:$lvel)+"_x"+(text:$xloc)+"_y"+(text:$yloc))(set:$temporalx to $xloc)(set:$temporaly to $yloc) 1(display:"UseCurrentLocation") 2(display:"VerifySection") 3(display:"2dto3d2") 4(set:$Background to "bg "+$3dPassage) 5(display:"Compass") 6(display:"Write map") 7(display:"Shadow") 8(display:"NOstraightCorridorVariables") (display:"boxes") a(display: $Background) d(display:"Messages") e(if:$Dialogue)[(display:"DialogueCycleTest")] f(if:$Battle)[(display:"Battle")] </div>(set:$imageSourceType to "local")(display:"LoadCurrentImages") (if:$loaded is 0)[ (set:$loaded to 1)(display:"loading") <!--(display:"loading")--> ] (display:"MainMenu") (display:"set2dto3d")(if:$enemyl1x2y2 is true)[(set: $enemy to true)(set: $CurrentEnemy to (datamap: "Name", "I diet With No T", "Attack", 107,"Karma" ,13))](if:$enemy)[(if:$CurrentEnemy's Karma >$PlayerCharacter's Karma)[(set:$CurrentEnemy's Attack to $CurrentEnemy's Attack+$CurrentEnemy's Attack)(set:$messages to $messages+"<br>Because your karma is lower than the enemy's, its attack has doubled.")]<div class="enemyStats">Enemy: (print:$CurrentEnemy)<div/> (display:"Attack") (display:"Evade") ] <div class="characterStats"> Player character (print:$PlayerCharacter) <div/>(if:$PlayerCharacter's Attack > $CurrentEnemy's Attack-1 )[[Attack]<Attack|(if: $Section is "ud")[(if:$direction is "Down")[(click:?Attack)[(go-to:"Killed")(set:$yloc to $yloc-1) ]](else:)[(click:?Attack)[(set:$yloc to $yloc+1)(go-to:"Killed")]]](if:$Section is "rl")[(if: $direction is "Left")[(click:?Attack)[(set:$xloc to $xloc-1)(go-to:"Killed")]](else:)[(click:?Attack)[(go-to:"Killed")(set:$xloc to $xloc+1)]]]](else:)[(set:$messages to $messages+"<br>You don't have enough Attack power to overcome this enemy in combat.")](if: $PlayerCharacter's hp > $CurrentEnemy's Attack)[ [Evade]<Evade| (if: $Section is "ud")[ (if: $direction is "Down")[ (click:?Evade)[(set:$yloc to $yloc-1)(set:$PlayerCharacter's hp to $PlayerCharacter's hp- $CurrentEnemy's attack)(go-to:"Evaded")] ](else:)[ (click:?Evade)[(set:$yloc to $yloc+1)(set:$PlayerCharacter's hp to $PlayerCharacter's hp- $CurrentEnemy's attack)(go-to:"Evaded")] ] ] (if: $Section is "rl")[ (if: $direction is "Left")[ (click:?Evade)[(set:$xloc to $xloc-1)(set:$PlayerCharacter's hp to $PlayerCharacter's hp-$CurrentEnemy's attack)(go-to:"Evaded")] ](else:)[ (click:?Evade)[(set:$xloc to $xloc+1)(set:$PlayerCharacter's hp to $PlayerCharacter's hp-$CurrentEnemy's attack)(go-to:"Evaded")] ] ] ](else:)[(set:$messages to $messages+"<br>You don't have enough HP to evade(it should be higher than the enemy's attack).")](unless:$ending)[(set:$enemy to false)(set:$PlayerCharacter's Attack to $PlayerCharacter's Attack +$attackIncrement)(set:$PlayerCharacter's Karma to $PlayerCharacter's Karma -$karmaDiminish)(set:$killinglxy to (text:$lvel)+(text:$temporalx)+(text:$temporaly))(set:$messages to "You killed the enemy and add +"+(text:$attackIncrement)+" to your attack and lost -"+(text:$karmaDiminish)+" Karma..")(display:"Deaths")(display:"movement")](else:)[(display:"pazEnding")](unless:$ending)[(set:$enemy to false)(set:$PlayerCharacter's hp to $PlayerCharacter's hp - $CurrentEnemy's Attack)(set:$PlayerCharacter's Karma to $PlayerCharacter's Karma +$karmaIncrement)(set:$messages to "You evaded your enemy and, took damage and won +"+(text:$karmaIncrement)+" point of karma.")(display:"movement")](else:)[(display:"violent Ending")](unless: $Section is "ud" or $Section is "rl")[(set:$enemy to false)(set:$gated to false)]<div class="messages">[[view Map<-Map]] l [[Confirmed<-Reset]] l {(if: (savedgames:) contains "temp save")[(link: "Load Autosave")[(load-game:"temp save")]]} $messages $gateMessage (set:$messages to "")(set:$gateMessage to "")(Display:"RolloverText") <div/> (if:$enemy)[(set:$enemy to false)][]<rollover|(mouseover:?Attack)[(replace:?rollover)[Attack to kill the enemy and add +$attackIncrement to your attack and loose -$karmaDiminish Karma.]](mouseover:?open)[(replace:?rollover)[Click here to activate the Switch.]](mouseover:?Evade)[(replace:?rollover)[Evade to run past your enemy. you will take damage equal to its attack and win +$karmaIncrement of karma.]](set:$matrix to (datamap:"5110",false,"5210",false,"5310",false,"5410",false,"5510",false,"5610",false,"5710",false,"5810",false,"5910",false,"519",false,"529",false,"539",false,"549",false,"559",false,"569",false,"579",false,"589",false,"599",false,"518",false,"528",false,"538",false,"548",false,"558",false,"568",false,"578",false,"588",false,"598",false,"517",false,"527",false,"537",false,"547",false,"557",false,"567",false,"577",false,"587",false,"597",false,"516",false,"526",false,"536",false,"546",false,"556",false,"566",false,"576",false,"586",false,"596",false,"515",false,"525",false,"535",false,"545",false,"555",false,"565",false,"575",false,"585",false,"595",false,"514",false,"524",false,"534",false,"544",false,"554",false,"564",false,"574",false,"584",false,"594",false,"513",false,"523",false,"533",false,"543",false,"553",false,"563",false,"573",false,"583",false,"593",false,"512",false,"522",false,"532",false,"542",false,"552",false,"562",false,"572",false,"582",false,"592",false,"511",false,"521",false,"531",false,"541",false,"551",false,"561",false,"571",false,"581",false,"591",false,"4110",false,"4210",false,"4310",false,"4410",false,"4510",false,"4610",false,"4710",false,"4810",false,"4910",false,"419",false,"429",false,"439",false,"449",false,"459",false,"469",false,"479",false,"489",false,"499",false,"418",false,"428",false,"438",false,"448",false,"458",false,"468",false,"478",false,"488",false,"498",false,"417",false,"427",false,"437",false,"447",false,"457",false,"467",false,"477",false,"487",false,"497",false,"416",false,"426",false,"436",false,"446",false,"456",false,"466",false,"476",false,"486",false,"496",false,"415",false,"425",false,"435",false,"445",false,"455",false,"465",false,"475",false,"485",false,"495",false,"414",false,"424",false,"434",false,"444",false,"454",false,"464",false,"474",false,"484",false,"494",false,"413",false,"423",false,"433",false,"443",false,"453",false,"463",false,"473",false,"483",false,"493",false,"412",false,"422",false,"432",false,"442",false,"452",false,"462",false,"472",false,"482",false,"492",false,"411",false,"421",false,"431",false,"441",false,"451",false,"461",false,"471",false,"481",false,"491",false,"3110",false,"3210",false,"3310",false,"3410",false,"3510",false,"3610",false,"3710",false,"3810",false,"3910",false,"319",false,"329",false,"339",false,"349",false,"359",false,"369",false,"379",false,"389",false,"399",false,"318",false,"328",false,"338",false,"348",false,"358",false,"368",false,"378",false,"388",false,"398",false,"317",false,"327",false,"337",false,"347",false,"357",false,"367",false,"377",false,"387",false,"397",false,"316",false,"326",false,"336",false,"346",false,"356",false,"366",false,"376",false,"386",false,"396",false,"315",false,"325",false,"335",false,"345",false,"355",false,"365",false,"375",false,"385",false,"395",false,"314",false,"324",false,"334",false,"344",false,"354",false,"364",false,"374",false,"384",false,"394",false,"313",false,"323",false,"333",false,"343",false,"353",false,"363",false,"373",false,"383",false,"393",false,"312",false,"322",false,"332",false,"342",false,"352",false,"362",false,"372",false,"382",false,"392",false,"311",false,"321",false,"331",false,"341",false,"351",false,"361",false,"371",false,"381",false,"391",false,"2110",false,"2210",false,"2310",false,"2410",false,"2510",false,"2610",false,"2710",false,"2810",false,"2910",false,"219",false,"229",false,"239",false,"249",false,"259",false,"269",false,"279",false,"289",false,"299",false,"218",false,"228",false,"238",false,"248",false,"258",false,"268",false,"278",false,"288",false,"298",false,"217",false,"227",false,"237",false,"247",false,"257",false,"267",false,"277",false,"287",false,"297",false,"216",false,"226",false,"236",false,"246",false,"256",false,"266",false,"276",false,"286",false,"296",false,"215",false,"225",false,"235",false,"245",false,"255",false,"265",false,"275",false,"285",false,"295",false,"214",false,"224",false,"234",false,"244",false,"254",false,"264",false,"274",false,"284",false,"294",false,"213",false,"223",false,"233",false,"243",false,"253",false,"263",false,"273",false,"283",false,"293",false,"212",false,"222",false,"232",false,"242",false,"252",false,"262",false,"272",false,"282",false,"292",false,"211",false,"221",false,"231",false,"241",false,"251",false,"261",false,"271",false,"281",false,"291",false,"1110",false,"1210",false,"1310",false,"1410",false,"1510",false,"1610",false,"1710",false,"1810",false,"1910",false,"119",false,"129",false,"139",false,"149",false,"159",false,"169",false,"179",false,"189",false,"199",false,"118",false,"128",false,"138",false,"148",false,"158",false,"168",false,"178",false,"188",false,"198",false,"117",false,"127",false,"137",false,"147",false,"157",false,"167",false,"177",false,"187",false,"197",false,"116",false,"126",false,"136",false,"146",false,"156",false,"166",false,"176",false,"186",false,"196",false,"115",false,"125",false,"135",false,"145",false,"155",false,"165",false,"175",false,"185",false,"195",false,"114",false,"124",false,"134",false,"144",false,"154",false,"164",false,"174",false,"184",false,"194",false,"113",false,"123",false,"133",false,"143",false,"153",false,"163",false,"173",false,"183",false,"193",false,"112",false,"122",false,"132",false,"142",false,"152",false,"162",false,"172",false,"182",false,"192",false,"111",false,"121",false,"131",false,"141",false,"151",false,"161",false,"171",false,"181",false,"191",false))(set: $xl to $xloc+1)(set:$yl to $yloc+1)(set:$levelmap to (text:$lvel))<div class="Map">MAP<div/>[[Return->Level Section Display]] Basement $lvel : <table class="tableMap"><tr> (if:$yl is 10 and $xl is 1)[<td class='green square'>101<td/>](else:)[(set:$maplocation to $levelmap+'110')(if:$matrix's $maplocation)[<td class='gray square'>101<td/>](else:)[<td class='black square'>101<td/>]] (if:$yl is 10 and $xl is 2)[<td class='green square'>102<td/>](else:)[(set:$maplocation to $levelmap+'210')(if:$matrix's $maplocation)[<td class='gray square'>102<td/>](else:)[<td class='black square'>102<td/>]] (if:$yl is 10 and $xl is 3)[<td class='green square'>103<td/>](else:)[(set:$maplocation to $levelmap+'310')(if:$matrix's $maplocation)[<td class='gray square'>103<td/>](else:)[<td class='black square'>103<td/>]] (if:$yl is 10 and $xl is 4)[<td class='green square'>104<td/>](else:)[(set:$maplocation to $levelmap+'410')(if:$matrix's $maplocation)[<td class='gray square'>104<td/>](else:)[<td class='black square'>104<td/>]] (if:$yl is 10 and $xl is 5)[<td class='green square'>105<td/>](else:)[(set:$maplocation to $levelmap+'510')(if:$matrix's $maplocation)[<td class='gray square'>105<td/>](else:)[<td class='black square'>105<td/>]] (if:$yl is 10 and $xl is 6)[<td class='green square'>106<td/>](else:)[(set:$maplocation to $levelmap+'610')(if:$matrix's $maplocation)[<td class='gray square'>106<td/>](else:)[<td class='black square'>106<td/>]] (if:$yl is 10 and $xl is 7)[<td class='green square'>107<td/>](else:)[(set:$maplocation to $levelmap+'710')(if:$matrix's $maplocation)[<td class='gray square'>107<td/>](else:)[<td class='black square'>107<td/>]] (if:$yl is 10 and $xl is 8)[<td class='green square'>108<td/>](else:)[(set:$maplocation to $levelmap+'810')(if:$matrix's $maplocation)[<td class='gray square'>108<td/>](else:)[<td class='black square'>108<td/>]] (if:$yl is 10 and $xl is 9)[<td class='green square'>109<td/>](else:)[(set:$maplocation to $levelmap+'910')(if:$matrix's $maplocation)[<td class='gray square'>109<td/>](else:)[<td class='black square'>109<td/>]] <tr/> <tr> (if:$yl is 9 and $xl is 1)[<td class='green square'>91<td/>](else:)[(set:$maplocation to $levelmap+'19')(if:$matrix's $maplocation)[<td class='gray square'>91<td/>](else:)[<td class='black square'>91<td/>]] (if:$yl is 9 and $xl is 2)[<td class='green square'>92<td/>](else:)[(set:$maplocation to $levelmap+'29')(if:$matrix's $maplocation)[<td class='gray square'>92<td/>](else:)[<td class='black square'>92<td/>]] (if:$yl is 9 and $xl is 3)[<td class='green square'>93<td/>](else:)[(set:$maplocation to $levelmap+'39')(if:$matrix's $maplocation)[<td class='gray square'>93<td/>](else:)[<td class='black square'>93<td/>]] (if:$yl is 9 and $xl is 4)[<td class='green square'>94<td/>](else:)[(set:$maplocation to $levelmap+'49')(if:$matrix's $maplocation)[<td class='gray square'>94<td/>](else:)[<td class='black square'>94<td/>]] (if:$yl is 9 and $xl is 5)[<td class='green square'>95<td/>](else:)[(set:$maplocation to $levelmap+'59')(if:$matrix's $maplocation)[<td class='gray square'>95<td/>](else:)[<td class='black square'>95<td/>]] (if:$yl is 9 and $xl is 6)[<td class='green square'>96<td/>](else:)[(set:$maplocation to $levelmap+'69')(if:$matrix's $maplocation)[<td class='gray square'>96<td/>](else:)[<td class='black square'>96<td/>]] (if:$yl is 9 and $xl is 7)[<td class='green square'>97<td/>](else:)[(set:$maplocation to $levelmap+'79')(if:$matrix's $maplocation)[<td class='gray square'>97<td/>](else:)[<td class='black square'>97<td/>]] (if:$yl is 9 and $xl is 8)[<td class='green square'>98<td/>](else:)[(set:$maplocation to $levelmap+'89')(if:$matrix's $maplocation)[<td class='gray square'>98<td/>](else:)[<td class='black square'>98<td/>]] (if:$yl is 9 and $xl is 9)[<td class='green square'>99<td/>](else:)[(set:$maplocation to $levelmap+'99')(if:$matrix's $maplocation)[<td class='gray square'>99<td/>](else:)[<td class='black square'>99<td/>]] <tr/> <tr> (if:$yl is 8 and $xl is 1)[<td class='green square'>81<td/>](else:)[(set:$maplocation to $levelmap+'18')(if:$matrix's $maplocation)[<td class='gray square'>81<td/>](else:)[<td class='black square'>81<td/>]] (if:$yl is 8 and $xl is 2)[<td class='green square'>82<td/>](else:)[(set:$maplocation to $levelmap+'28')(if:$matrix's $maplocation)[<td class='gray square'>82<td/>](else:)[<td class='black square'>82<td/>]] (if:$yl is 8 and $xl is 3)[<td class='green square'>83<td/>](else:)[(set:$maplocation to $levelmap+'38')(if:$matrix's $maplocation)[<td class='gray square'>83<td/>](else:)[<td class='black square'>83<td/>]] (if:$yl is 8 and $xl is 4)[<td class='green square'>84<td/>](else:)[(set:$maplocation to $levelmap+'48')(if:$matrix's $maplocation)[<td class='gray square'>84<td/>](else:)[<td class='black square'>84<td/>]] (if:$yl is 8 and $xl is 5)[<td class='green square'>85<td/>](else:)[(set:$maplocation to $levelmap+'58')(if:$matrix's $maplocation)[<td class='gray square'>85<td/>](else:)[<td class='black square'>85<td/>]] (if:$yl is 8 and $xl is 6)[<td class='green square'>86<td/>](else:)[(set:$maplocation to $levelmap+'68')(if:$matrix's $maplocation)[<td class='gray square'>86<td/>](else:)[<td class='black square'>86<td/>]] (if:$yl is 8 and $xl is 7)[<td class='green square'>87<td/>](else:)[(set:$maplocation to $levelmap+'78')(if:$matrix's $maplocation)[<td class='gray square'>87<td/>](else:)[<td class='black square'>87<td/>]] (if:$yl is 8 and $xl is 8)[<td class='green square'>88<td/>](else:)[(set:$maplocation to $levelmap+'88')(if:$matrix's $maplocation)[<td class='gray square'>88<td/>](else:)[<td class='black square'>88<td/>]] (if:$yl is 8 and $xl is 9)[<td class='green square'>89<td/>](else:)[(set:$maplocation to $levelmap+'98')(if:$matrix's $maplocation)[<td class='gray square'>89<td/>](else:)[<td class='black square'>89<td/>]] <tr/> <tr> (if:$yl is 7 and $xl is 1)[<td class='green square'>71<td/>](else:)[(set:$maplocation to $levelmap+'17')(if:$matrix's $maplocation)[<td class='gray square'>71<td/>](else:)[<td class='black square'>71<td/>]] (if:$yl is 7 and $xl is 2)[<td class='green square'>72<td/>](else:)[(set:$maplocation to $levelmap+'27')(if:$matrix's $maplocation)[<td class='gray square'>72<td/>](else:)[<td class='black square'>72<td/>]] (if:$yl is 7 and $xl is 3)[<td class='green square'>73<td/>](else:)[(set:$maplocation to $levelmap+'37')(if:$matrix's $maplocation)[<td class='gray square'>73<td/>](else:)[<td class='black square'>73<td/>]] (if:$yl is 7 and $xl is 4)[<td class='green square'>74<td/>](else:)[(set:$maplocation to $levelmap+'47')(if:$matrix's $maplocation)[<td class='gray square'>74<td/>](else:)[<td class='black square'>74<td/>]] (if:$yl is 7 and $xl is 5)[<td class='green square'>75<td/>](else:)[(set:$maplocation to $levelmap+'57')(if:$matrix's $maplocation)[<td class='gray square'>75<td/>](else:)[<td class='black square'>75<td/>]] (if:$yl is 7 and $xl is 6)[<td class='green square'>76<td/>](else:)[(set:$maplocation to $levelmap+'67')(if:$matrix's $maplocation)[<td class='gray square'>76<td/>](else:)[<td class='black square'>76<td/>]] (if:$yl is 7 and $xl is 7)[<td class='green square'>77<td/>](else:)[(set:$maplocation to $levelmap+'77')(if:$matrix's $maplocation)[<td class='gray square'>77<td/>](else:)[<td class='black square'>77<td/>]] (if:$yl is 7 and $xl is 8)[<td class='green square'>78<td/>](else:)[(set:$maplocation to $levelmap+'87')(if:$matrix's $maplocation)[<td class='gray square'>78<td/>](else:)[<td class='black square'>78<td/>]] (if:$yl is 7 and $xl is 9)[<td class='green square'>79<td/>](else:)[(set:$maplocation to $levelmap+'97')(if:$matrix's $maplocation)[<td class='gray square'>79<td/>](else:)[<td class='black square'>79<td/>]] <tr/> <tr> (if:$yl is 6 and $xl is 1)[<td class='green square'>61<td/>](else:)[(set:$maplocation to $levelmap+'16')(if:$matrix's $maplocation)[<td class='gray square'>61<td/>](else:)[<td class='black square'>61<td/>]] (if:$yl is 6 and $xl is 2)[<td class='green square'>62<td/>](else:)[(set:$maplocation to $levelmap+'26')(if:$matrix's $maplocation)[<td class='gray square'>62<td/>](else:)[<td class='black square'>62<td/>]] (if:$yl is 6 and $xl is 3)[<td class='green square'>63<td/>](else:)[(set:$maplocation to $levelmap+'36')(if:$matrix's $maplocation)[<td class='gray square'>63<td/>](else:)[<td class='black square'>63<td/>]] (if:$yl is 6 and $xl is 4)[<td class='green square'>64<td/>](else:)[(set:$maplocation to $levelmap+'46')(if:$matrix's $maplocation)[<td class='gray square'>64<td/>](else:)[<td class='black square'>64<td/>]] (if:$yl is 6 and $xl is 5)[<td class='green square'>65<td/>](else:)[(set:$maplocation to $levelmap+'56')(if:$matrix's $maplocation)[<td class='gray square'>65<td/>](else:)[<td class='black square'>65<td/>]] (if:$yl is 6 and $xl is 6)[<td class='green square'>66<td/>](else:)[(set:$maplocation to $levelmap+'66')(if:$matrix's $maplocation)[<td class='gray square'>66<td/>](else:)[<td class='black square'>66<td/>]] (if:$yl is 6 and $xl is 7)[<td class='green square'>67<td/>](else:)[(set:$maplocation to $levelmap+'76')(if:$matrix's $maplocation)[<td class='gray square'>67<td/>](else:)[<td class='black square'>67<td/>]] (if:$yl is 6 and $xl is 8)[<td class='green square'>68<td/>](else:)[(set:$maplocation to $levelmap+'86')(if:$matrix's $maplocation)[<td class='gray square'>68<td/>](else:)[<td class='black square'>68<td/>]] (if:$yl is 6 and $xl is 9)[<td class='green square'>69<td/>](else:)[(set:$maplocation to $levelmap+'96')(if:$matrix's $maplocation)[<td class='gray square'>69<td/>](else:)[<td class='black square'>69<td/>]] <tr/> <tr> (if:$yl is 5 and $xl is 1)[<td class='green square'>51<td/>](else:)[(set:$maplocation to $levelmap+'15')(if:$matrix's $maplocation)[<td class='gray square'>51<td/>](else:)[<td class='black square'>51<td/>]] (if:$yl is 5 and $xl is 2)[<td class='green square'>52<td/>](else:)[(set:$maplocation to $levelmap+'25')(if:$matrix's $maplocation)[<td class='gray square'>52<td/>](else:)[<td class='black square'>52<td/>]] (if:$yl is 5 and $xl is 3)[<td class='green square'>53<td/>](else:)[(set:$maplocation to $levelmap+'35')(if:$matrix's $maplocation)[<td class='gray square'>53<td/>](else:)[<td class='black square'>53<td/>]] (if:$yl is 5 and $xl is 4)[<td class='green square'>54<td/>](else:)[(set:$maplocation to $levelmap+'45')(if:$matrix's $maplocation)[<td class='gray square'>54<td/>](else:)[<td class='black square'>54<td/>]] (if:$yl is 5 and $xl is 5)[<td class='green square'>55<td/>](else:)[(set:$maplocation to $levelmap+'55')(if:$matrix's $maplocation)[<td class='gray square'>55<td/>](else:)[<td class='black square'>55<td/>]] (if:$yl is 5 and $xl is 6)[<td class='green square'>56<td/>](else:)[(set:$maplocation to $levelmap+'65')(if:$matrix's $maplocation)[<td class='gray square'>56<td/>](else:)[<td class='black square'>56<td/>]] (if:$yl is 5 and $xl is 7)[<td class='green square'>57<td/>](else:)[(set:$maplocation to $levelmap+'75')(if:$matrix's $maplocation)[<td class='gray square'>57<td/>](else:)[<td class='black square'>57<td/>]] (if:$yl is 5 and $xl is 8)[<td class='green square'>58<td/>](else:)[(set:$maplocation to $levelmap+'85')(if:$matrix's $maplocation)[<td class='gray square'>58<td/>](else:)[<td class='black square'>58<td/>]] (if:$yl is 5 and $xl is 9)[<td class='green square'>59<td/>](else:)[(set:$maplocation to $levelmap+'95')(if:$matrix's $maplocation)[<td class='gray square'>59<td/>](else:)[<td class='black square'>59<td/>]] <tr/> <tr> (if:$yl is 4 and $xl is 1)[<td class='green square'>41<td/>](else:)[(set:$maplocation to $levelmap+'14')(if:$matrix's $maplocation)[<td class='gray square'>41<td/>](else:)[<td class='black square'>41<td/>]] (if:$yl is 4 and $xl is 2)[<td class='green square'>42<td/>](else:)[(set:$maplocation to $levelmap+'24')(if:$matrix's $maplocation)[<td class='gray square'>42<td/>](else:)[<td class='black square'>42<td/>]] (if:$yl is 4 and $xl is 3)[<td class='green square'>43<td/>](else:)[(set:$maplocation to $levelmap+'34')(if:$matrix's $maplocation)[<td class='gray square'>43<td/>](else:)[<td class='black square'>43<td/>]] (if:$yl is 4 and $xl is 4)[<td class='green square'>44<td/>](else:)[(set:$maplocation to $levelmap+'44')(if:$matrix's $maplocation)[<td class='gray square'>44<td/>](else:)[<td class='black square'>44<td/>]] (if:$yl is 4 and $xl is 5)[<td class='green square'>45<td/>](else:)[(set:$maplocation to $levelmap+'54')(if:$matrix's $maplocation)[<td class='gray square'>45<td/>](else:)[<td class='black square'>45<td/>]] (if:$yl is 4 and $xl is 6)[<td class='green square'>46<td/>](else:)[(set:$maplocation to $levelmap+'64')(if:$matrix's $maplocation)[<td class='gray square'>46<td/>](else:)[<td class='black square'>46<td/>]] (if:$yl is 4 and $xl is 7)[<td class='green square'>47<td/>](else:)[(set:$maplocation to $levelmap+'74')(if:$matrix's $maplocation)[<td class='gray square'>47<td/>](else:)[<td class='black square'>47<td/>]] (if:$yl is 4 and $xl is 8)[<td class='green square'>48<td/>](else:)[(set:$maplocation to $levelmap+'84')(if:$matrix's $maplocation)[<td class='gray square'>48<td/>](else:)[<td class='black square'>48<td/>]] (if:$yl is 4 and $xl is 9)[<td class='green square'>49<td/>](else:)[(set:$maplocation to $levelmap+'94')(if:$matrix's $maplocation)[<td class='gray square'>49<td/>](else:)[<td class='black square'>49<td/>]] <tr/> <tr> (if:$yl is 3 and $xl is 1)[<td class='green square'>31<td/>](else:)[(set:$maplocation to $levelmap+'13')(if:$matrix's $maplocation)[<td class='gray square'>31<td/>](else:)[<td class='black square'>31<td/>]] (if:$yl is 3 and $xl is 2)[<td class='green square'>32<td/>](else:)[(set:$maplocation to $levelmap+'23')(if:$matrix's $maplocation)[<td class='gray square'>32<td/>](else:)[<td class='black square'>32<td/>]] (if:$yl is 3 and $xl is 3)[<td class='green square'>33<td/>](else:)[(set:$maplocation to $levelmap+'33')(if:$matrix's $maplocation)[<td class='gray square'>33<td/>](else:)[<td class='black square'>33<td/>]] (if:$yl is 3 and $xl is 4)[<td class='green square'>34<td/>](else:)[(set:$maplocation to $levelmap+'43')(if:$matrix's $maplocation)[<td class='gray square'>34<td/>](else:)[<td class='black square'>34<td/>]] (if:$yl is 3 and $xl is 5)[<td class='green square'>35<td/>](else:)[(set:$maplocation to $levelmap+'53')(if:$matrix's $maplocation)[<td class='gray square'>35<td/>](else:)[<td class='black square'>35<td/>]] (if:$yl is 3 and $xl is 6)[<td class='green square'>36<td/>](else:)[(set:$maplocation to $levelmap+'63')(if:$matrix's $maplocation)[<td class='gray square'>36<td/>](else:)[<td class='black square'>36<td/>]] (if:$yl is 3 and $xl is 7)[<td class='green square'>37<td/>](else:)[(set:$maplocation to $levelmap+'73')(if:$matrix's $maplocation)[<td class='gray square'>37<td/>](else:)[<td class='black square'>37<td/>]] (if:$yl is 3 and $xl is 8)[<td class='green square'>38<td/>](else:)[(set:$maplocation to $levelmap+'83')(if:$matrix's $maplocation)[<td class='gray square'>38<td/>](else:)[<td class='black square'>38<td/>]] (if:$yl is 3 and $xl is 9)[<td class='green square'>39<td/>](else:)[(set:$maplocation to $levelmap+'93')(if:$matrix's $maplocation)[<td class='gray square'>39<td/>](else:)[<td class='black square'>39<td/>]] <tr/> <tr> (if:$yl is 2 and $xl is 1)[<td class='green square'>21<td/>](else:)[(set:$maplocation to $levelmap+'12')(if:$matrix's $maplocation)[<td class='gray square'>21<td/>](else:)[<td class='black square'>21<td/>]] (if:$yl is 2 and $xl is 2)[<td class='green square'>22<td/>](else:)[(set:$maplocation to $levelmap+'22')(if:$matrix's $maplocation)[<td class='gray square'>22<td/>](else:)[<td class='black square'>22<td/>]] (if:$yl is 2 and $xl is 3)[<td class='green square'>23<td/>](else:)[(set:$maplocation to $levelmap+'32')(if:$matrix's $maplocation)[<td class='gray square'>23<td/>](else:)[<td class='black square'>23<td/>]] (if:$yl is 2 and $xl is 4)[<td class='green square'>24<td/>](else:)[(set:$maplocation to $levelmap+'42')(if:$matrix's $maplocation)[<td class='gray square'>24<td/>](else:)[<td class='black square'>24<td/>]] (if:$yl is 2 and $xl is 5)[<td class='green square'>25<td/>](else:)[(set:$maplocation to $levelmap+'52')(if:$matrix's $maplocation)[<td class='gray square'>25<td/>](else:)[<td class='black square'>25<td/>]] (if:$yl is 2 and $xl is 6)[<td class='green square'>26<td/>](else:)[(set:$maplocation to $levelmap+'62')(if:$matrix's $maplocation)[<td class='gray square'>26<td/>](else:)[<td class='black square'>26<td/>]] (if:$yl is 2 and $xl is 7)[<td class='green square'>27<td/>](else:)[(set:$maplocation to $levelmap+'72')(if:$matrix's $maplocation)[<td class='gray square'>27<td/>](else:)[<td class='black square'>27<td/>]] (if:$yl is 2 and $xl is 8)[<td class='green square'>28<td/>](else:)[(set:$maplocation to $levelmap+'82')(if:$matrix's $maplocation)[<td class='gray square'>28<td/>](else:)[<td class='black square'>28<td/>]] (if:$yl is 2 and $xl is 9)[<td class='green square'>29<td/>](else:)[(set:$maplocation to $levelmap+'92')(if:$matrix's $maplocation)[<td class='gray square'>29<td/>](else:)[<td class='black square'>29<td/>]] <tr/> <tr> (if:$yl is 1 and $xl is 1)[<td class='green square'>11<td/>](else:)[(set:$maplocation to $levelmap+'11')(if:$matrix's $maplocation)[<td class='gray square'>11<td/>](else:)[<td class='black square'>11<td/>]] (if:$yl is 1 and $xl is 2)[<td class='green square'>12<td/>](else:)[(set:$maplocation to $levelmap+'21')(if:$matrix's $maplocation)[<td class='gray square'>12<td/>](else:)[<td class='black square'>12<td/>]] (if:$yl is 1 and $xl is 3)[<td class='green square'>13<td/>](else:)[(set:$maplocation to $levelmap+'31')(if:$matrix's $maplocation)[<td class='gray square'>13<td/>](else:)[<td class='black square'>13<td/>]] (if:$yl is 1 and $xl is 4)[<td class='green square'>14<td/>](else:)[(set:$maplocation to $levelmap+'41')(if:$matrix's $maplocation)[<td class='gray square'>14<td/>](else:)[<td class='black square'>14<td/>]] (if:$yl is 1 and $xl is 5)[<td class='green square'>15<td/>](else:)[(set:$maplocation to $levelmap+'51')(if:$matrix's $maplocation)[<td class='gray square'>15<td/>](else:)[<td class='black square'>15<td/>]] (if:$yl is 1 and $xl is 6)[<td class='green square'>16<td/>](else:)[(set:$maplocation to $levelmap+'61')(if:$matrix's $maplocation)[<td class='gray square'>16<td/>](else:)[<td class='black square'>16<td/>]] (if:$yl is 1 and $xl is 7)[<td class='green square'>17<td/>](else:)[(set:$maplocation to $levelmap+'71')(if:$matrix's $maplocation)[<td class='gray square'>17<td/>](else:)[<td class='black square'>17<td/>]] (if:$yl is 1 and $xl is 8)[<td class='green square'>18<td/>](else:)[(set:$maplocation to $levelmap+'81')(if:$matrix's $maplocation)[<td class='gray square'>18<td/>](else:)[<td class='black square'>18<td/>]] (if:$yl is 1 and $xl is 9)[<td class='green square'>19<td/>](else:)[(set:$maplocation to $levelmap+'91')(if:$matrix's $maplocation)[<td class='gray square'>19<td/>](else:)[<td class='black square'>19<td/>]] <tr/> <table/>(set: $xt to $xloc+1)(set:$yt to $yloc+1) (set:$thingName to ""+(text:$lvel)+(text:$xt)+(text:$yt)) (set:$matrix's $thingName to true) $thingName(set:$xloc to 2)(set:$yloc to 6)(set:$Section to "ud")(display:"EnemyConfigl2_x2_y6")(set:$xloc to 2)(set:$yloc to 5)(set:$Section to "ul")(set:$xloc to 1)(set:$yloc to 5)(set:$Section to "rdl")(set:$xloc to 0)(set:$yloc to 5)(set:$Section to "ur")(set:$xloc to 1)(set:$yloc to 4)(set:$Section to "ud")(set:$xloc to 0)(set:$yloc to 3)(set:$Section to "rs")(set:$xloc to 1)(set:$yloc to 3)(set:$Section to "urdl")(set:$xloc to 3)(set:$yloc to 1)(set:$Section to "rl")(set:$xloc to 1)(set:$yloc to 2)(set:$Section to "ud")(display:"Gatexl2_x7_y3")(set:$xloc to 3)(set:$yloc to 3)(set:$Section to "rl")(display:"EnemyConfigl2_x3_y3")(set:$xloc to 2)(set:$yloc to 3)(set:$Section to "rdl")(set:$xloc to 2)(set:$yloc to 1)(set:$Section to "rl")(display:"EnemyConfigl2_x1_y2")(set:$xloc to 1)(set:$yloc to 1)(set:$Section to "ur")(set:$xloc to 4)(set:$yloc to 3)(set:$Section to "url")(set:$xloc to 5)(set:$yloc to 3)(set:$Section to "rl")(display:"EnemyConfigl2_x5_y3")(set:$xloc to 6)(set:$yloc to 3)(set:$Section to "rl")(display:"switchl2_x6_y3")(set:$xloc to 7)(set:$yloc to 3)(set:$Section to "rl")(display:"Gatexl2_x7_y3")(set:$xloc to 8)(set:$yloc to 3)(set:$Section to "dl")(set:$xloc to 8)(set:$yloc to 2)(set:$Section to "ud")(display:"EnemyConfigl2_x8_y2")(set:$xloc to 8)(set:$yloc to 1)(set:$Section to "ul")(set:$xloc to 7)(set:$yloc to 1)(set:$Section to "rl")(set:$xloc to 6)(set:$yloc to 1)(set:$Section to "rl")(set:$xloc to 5)(set:$yloc to 1)(set:$Section to "rdl")(set:$xloc to 4)(set:$yloc to 1)(set:$Section to "rl")(set:$xloc to 4)(set:$yloc to 4)(set:$Section to "ud")(display:"Gatexl2_x4_y4")(set:$xloc to 4)(set:$yloc to 5)(set:$Section to "ud")(set:$xloc to 4)(set:$yloc to 6)(set:$Section to "ds")(if:$GateVarB1 is true)[[<img class="imageCenter gateImages switchOff" src="images/switches/switchOff.png""/>(set:$messages to "You find a switch labeled B1")]<open|(click:?open)[(set:$GateVarB1 to false)(set:$messages to "the switch was pressed")(go-to:"Level Section Display")]](else:)[<img class="imageCenter gateImages switchOn" src="images/switches/switchOn.png"/>(set:$messages to "You Activated the switch labeled B1.")](if:$GateVarB1)[(set:$gated to true)(set:$messages to "You find yourself hindered by a gate Labeled 'Gate B1'")](if:$GateVarB2)[(set:$gated to true)(set:$messages to "You find yourself hindered by a gate Labeled 'Gate B2'")](if:$GateVarB2 is true)[[<img class="imageCenter gateImages switchOff" src="images/switches/switchOff.png""/>(set:$messages to "You find a switch labeled B2")]<open|(click:?open)[(set:$GateVarB2 to false)(set:$messages to "the switch was pressed")(go-to:"Level Section Display")]](else:)[<img class="imageCenter gateImages switchOn" src="images/switches/switchOn.png"/>(set:$messages to "You Activated the switch labeled B2.")](set:$enemyl1x2y2 to true)(set:$enemyl1x2y1 to true)(set:$enemyl1x2y0 to true)(set:$enemyl1x2y4 to true) (set:$enemyl2x2y6 to true) (set:$enemyl2x1y7 to true) (set:$enemyl2x0y6 to true) (set:$enemyl2x1y2 to true) (set:$enemyl2x3y3 to true) (set:$enemyl2x3y2 to true) (set:$enemyl2x5y3 to true) (set:$enemyl2x8y2 to true) (if:$enemyl1x2y1 is true)[(set: $enemy to true)(set: $CurrentEnemy to (datamap: "Name", "Reddy mc Shirterton", "Attack", 103,"Karma" ,16))](if:$enemyl1x2y0 is true)[(set: $enemy to true)(set: $CurrentEnemy to (datamap: "Name", "Don Expendable", "Attack", 99,"Karma" ,19))](if:$enemyl1x2y4 is true)[(set: $enemy to true)(set: $CurrentEnemy to (datamap: "Name", "Mr Obstacle.", "Attack", 105,"Karma" ,19))](if:$enemyl2x2y6 is true)[(set: $enemy to true)(set: $CurrentEnemy to (datamap: "Name", "Link the weakest", "Attack", 111,"Karma" ,1))](if:$enemyl2x1y7 is true)[(set: $enemy to true)(set: $CurrentEnemy to (datamap: "Name", "The Caretaker", "Attack", 115,"Karma" ,1))](if:$enemyl2x0y6 is true)[(set: $enemy to true)(set: $CurrentEnemy to (datamap: "Name", "Not so Easy to kill", "Attack", 119,"Karma" ,-3))](if:$enemyl2x1y2 is true)[(set: $enemy to true)(set: $CurrentEnemy to (datamap: "Name", "I hide Behind Fences", "Attack", 123,"Karma" ,-4))](if:$enemyl2x3y3 is true)[(set: $enemy to true)(set: $CurrentEnemy to (datamap: "Name", "I.C Heat", "Attack", 101,"Karma" ,14))](if:$enemyl2x8y2 is true)[(set: $enemy to true)(set: $CurrentEnemy to (datamap: "Name", "Sanctimonious Band Leader", "Attack", 103,"Karma" ,14))](if:$enemyl2x5y3 is true)[(set: $enemy to true)(set: $CurrentEnemy to (datamap: "Name", "People evade me a lot", "Attack", 102,"Karma" ,14))](set:$hpts to 660)(if:$hpl1x1y3)[[<img class="imageCenter gateImages switchOff" src="images/switches/potion.png""/>(set:$messages to "there is a +"+(text:$hpts)+" health potion on the ground." )]<potion|](click:?potion)[(set:$PlayerCharacter's hp to $PlayerCharacter's hp +$hpts)(set:$messages to "You drank the potion")(set:$hpl1x1y3 to false)(go-to:"Level Section Display")](set:$hpts to 150)(if:$hpl2x1y3)[[<img class="imageCenter gateImages switchOff" src="images/switches/potion.png""/>(set:$messages to "there is a +"+(text:$hpts)+" health potion on the ground." )]<potion|](click:?potion)[(set:$PlayerCharacter's hp to $PlayerCharacter's hp +$hpts)(set:$messages to "You drank the potion")(set:$hpl2x1y3 to false)(go-to:"Level Section Display")]All not saved data will be lost. Are you sure you want to reset the game? [[initialTest<-Yes.]] [[Level Section Display<-No.]] (set:$ending to false)(set:$attackIncrement to 4)(set:$karmaDiminish to 3)(set:$karmaIncrement to 2)(set:$karmaIncrement to 2)(set:$karmaIncrement to 2)(set:$3dPassage to "")(set:$xloc to 2)(set:$yloc to 2)(set:$Section to "ur")(set:$xloc to 3)(set:$yloc to 2)(set:$Section to "rl")(display:"EnemyConfigl2_x3_y2")(set:$xloc to 4)(set:$yloc to 2)(set:$Section to "ls")(display:"hpl1_x1_y3")(if:$enemyl2x3y2 is true)[(set: $enemy to true)(set: $CurrentEnemy to (datamap: "Name", "Moraruhi GHGround Tanaka", "Attack", 150,"Karma" ,14))](set:$xloc to 2)(set:$yloc to 4)(set:$Section to "ur")(if:$enemyl2x3y2 is true)[(set: $enemy to true)(set: $CurrentEnemy to (datamap: "Name", "The last Encounter", "Attack", 65,"Karma" ,14))]After so much time using violence as the answer, you found out you sparing a life was the better option or just found no other option . I dont like you either way. [[clarification]]you are an Bad person . think about it . you tried to be a peaceful adventurer , but choose to kill at the end ... you dissapoint me and you should feel dissapointed of yourself. [[clarification]]Thanks for Playing the game to completion. I didn't mean what I said ( thought it's true about the character I kinda forced you to roll out at the end). Have a hearthy laugh in expense of the task of reducing human morality to discrete values. (ill try to explain the duality of the end in a better way some time in the future) you can always [[try another ending->initialTest]] there are only 2 tho. A game By Moon Wink Games (jaime sttivend) Made in twine with help from Grafx2 and Tiled. (set:$image to (datamap: 'upArrow','images/upArrow.png', 'rightArrow','images/rightArrow.png', 'downArrow','images/downArrow.png', 'leftArrow','images/leftArrow.png', '3dTHallDownColor dark','images/3d/TD/Color dark.png', '3dTHallDownColor a','images/3d/TD/Color a.png', '3dTHallDownLine','images/3d/TD/Line.png', '3dTHallDownTexture','images/3d/TD/Texture.png', '3dTHallDownColor b','images/3d/TD/Color b.png', '3dTHallRightColor dark','images/3d/TR/Color dark.png', '3dTHallRightColor a','images/3d/TR/Color a.png', '3dTHallRightLine','images/3d/TR/Line.png', '3dTHallRightTexture','images/3d/TR/Texture.png', '3dTHallRightColor b','images/3d/TR/Color b.png', '3dTHallLeftColor dark','images/3d/TL/Color dark.png', '3dTHallLeftColor a','images/3d/TL/Color a.png', '3dTHallLeftLine','images/3d/TL/Line.png', '3dTHallLeftTexture','images/3d/TL/Texture.png', '3dTHallLeftColor b','images/3d/TL/Color b.png', '3dPassageHallColor dark','images/3d/P/Color dark.png', '3dPassageHallColor a','images/3d/P/Color a.png', '3dPassageHallLine','images/3d/P/Line.png', '3dPassageHallTexture','images/3d/P/Texture.png', '3dPassageHallColor b','images/3d/P/Color b.png', '3dWallColor dark','images/3d/W/Color dark.png', '3dWallColor a','images/3d/W/Color a.png', '3dWallLine','images/3d/W/Line.png', '3dWallTexture','images/3d/W/Texture.png', '3dWallColor b','images/3d/W/Color b.png', '3dTLHallRightColor dark','images/3d/LR/Color dark.png', '3dTLHallRightColor a','images/3d/LR/Color a.png', '3dTLHallRightLine','images/3d/LR/Line.png', '3dTLHallRightTexture','images/3d/LR/Texture.png', '3dTLHallRightColor b','images/3d/LR/Color b.png', '3dTLHallLeftColor dark','images/3d/LL/Color dark.png', '3dTLHallLeftColor a','images/3d/LL/Color a.png', '3dTLHallLeftLine','images/3d/LL/Line.png', '3dTLHallLeftTexture','images/3d/LL/Texture.png', '3dTLHallLeftColor b','images/3d/LL/Color b.png', '3dCrossColor dark','images/3d/X/Color dark.png', '3dCrossColor a','images/3d/X/Color a.png', '3dCrossLine','images/3d/X/Line.png', '3dCrossTexture','images/3d/X/Texture.png', '3dCrossColor b','images/3d/X/Color b.png', 'CompassN','images/compass/n.png', 'CompassE','images/compass/e.png', 'CompassS','images/compass/s.png', 'CompassW','images/compass/w.png', 'Shadow','images/Shadow.png', 'UpperRightCorner','images/UI/Box/urc.png', 'LowerRightCorner','images/UI/Box/drc.png', 'UpperLleftCorner','images/UI/Box/ulc.png', 'LowerLeftCorner','images/UI/Box/dlc.png', 'UpperSide','images/UI/Box/ul.png', 'LowerSide','images/UI/Box/dl.png', 'RightSide','images/UI/Box/rl.png', 'LeftSide','images/UI/Box/ll.png', 'Center','images/UI/Box/c.png', 'PWalkA','images/3d/P/walkA.png', 'PWalkB','images/3d/P/walkB.png', 'WWalkA','images/3d/W/walkA.png', 'WWalkB','images/3d/W/walkB.png', 'XWalkA','images/3d/X/walkA.png', 'XWalkB','images/3d/X/walkB.png', 'LLWalkA','images/3d/LL/walkA.png', 'LLWalkB','images/3d/LL/walkB.png', 'LRWalkA','images/3d/LR/walkA.png', 'LRWalkB','images/3d/LR/walkB.png', 'TLWalkA','images/3d/TL/walkA.png', 'TLWalkB','images/3d/TL/walkB.png', 'TRWalkA','images/3d/TR/walkA.png', 'TRWalkB','images/3d/TR/walkB.png', 'TDWalkA','images/3d/TD/walkA.png', 'TDWalkB','images/3d/TD/walkB.png', 'SaveGirl','images/sprites/friendly/SaveGirl.png', 'SaveGirlMistery','images/sprites/friendly/SaveGirl.png', 'enemy_Glowy','images/sprites/enemy/Glowy.png', 'bana','images/sprites/portraits/bana.png', 'bana_fang','images/sprites/portraits/bana_fang.png', 'brachel','images/sprites/portraits/brachel.png', 'brachel_eyes','images/sprites/portraits/brachel_eyes.png', 'arrow','images/UI/next.png', 'upLadder','images/3d/ladders/upLadder.png', 'downLadder','images/3d/ladders/downLadder.png', 'mainMenuBG','images/UI/mainMenubg.png', 'enemy_ExDragon','images/sprites/enemy/exDragon.png', 'enemy_Squarey','images/sprites/enemy/squares.png', 'TextBox','images/UI/textBox.png', 'MenuBox','images/UI/menubox.png' )) (set:$image to (datamap: "downStop","http://imgur.com/FuF73xu.png", "leftStop","http://imgur.com/odfmmpz.png", "rightStop","http://imgur.com/s6jK3up.png", "upStop","http://imgur.com/9bDnmzz.png", "rightLeftGate","http://imgur.com/T4HCp6I.png", "upDownGate","http://imgur.com/ioEmzUG.png", "rightLeft","http://imgur.com/RjUI4t6.png", "upDown","http://imgur.com/JpZZIVd.png", "upRightDown","http://imgur.com/ybyXP2e.png", "upRightLeft","http://imgur.com/Ko7gyXr.png", "upRight","http://imgur.com/RCyQ4pJ.png", "upLeft","http://imgur.com/QtjxO6v.png", "rightDownLeft","http://imgur.com/a7kQRLB.png", "rightDown","http://imgur.com/OlggCdL.png", "downLeft","http://imgur.com/aA0KMlH.png", "upDownLeft","http://imgur.com/qw83EV3.png", "upRightDownLeft","http://imgur.com/VMQw6mQ.png", "upArrow","http://imgur.com/LLrGSAj.png", "rightArrow","http://imgur.com/1nrIoV3.png", "downArrow","http://imgur.com/N5SBFWs.png", "leftArrow","http://imgur.com/eXRbMea.png", "potion","http://imgur.com/zmtP8Fo.png", "stair","http://imgur.com/JgqOPql.png", "switchOn","http://imgur.com/CDQ1QFt.png", "switchOff","http://imgur.com/uiNU5cq.png", "protagUp","http://imgur.com/khKWcho.png", "protagRight","http://imgur.com/TmdPOUO.png", "protagDown","http://imgur.com/D0lm4rc.png", "protagLeft","http://imgur.com/BZNiQQH.png", "protagCenter","http://imgur.com/uB4H8nn.png", "enemyUp","http://imgur.com/TjXzQmw.png", "enemyRight","http://imgur.com/4wD4V3u.png", "enemyDown","http://imgur.com/5VDrzQh.png", "enemyLeft","http://imgur.com/4v606ck.png")) (set: $url to "<img class='"+$class+"' src='"+$source+"'/>")(text:$url)(display:"Initial")(display:"Navigation Up")<div><div id='loading' class="loading"> loading <progress id='p' max='2' value ='0'><span>0</span>%</progress> </div></div>(if:$imageSourceType is "web")[(display:"WebImagesDictionary")](else:)[(display:"localImagesDictionary")](set:$dir to $direction)(set:$var to $section)(if: $var is "ud")[(if:$dir is "Up" or $dir is "Down")[(set:$3dPassage to "L")]](else:)[(if: $var is "rl")[ (if:$dir is "Right" or $dir is "Left")[(set:$3dPassage to "L")]](else:)[(if: $var is "url")[ (if:$dir is "Right")[(set:$3dPassage to "TL")](else:)[ (if:$dir is "Down")[(set:$3dPassage to "TD")](else:)[ (if:$dir is "Left")[(set:$3dPassage to "TR")]]]](else:)[(if: $var is "urd")[ (if:$dir is "Up")[(set:$3dPassage to "TR")](else:)[ (if:$dir is "Down")[(set:$3dPassage to "TL")](else:)[ (if:$dir is "Left")[(set:$3dPassage to "TD")]]]](else:)[(if: $var is "rdl")[ (if:$dir is "Up")[(set:$3dPassage to "TD")](else:)[ (if:$dir is "Right")[(set:$3dPassage to "TR")](else:)[ (if:$dir is "Left")[(set:$3dPassage to "TL")]]]](else:)[(if: $var is "udl")[ (if:$dir is "Up")[(set:$3dPassage to "TL")](else:)[ (if:$dir is "Right")[(set:$3dPassage to "TD")](else:)[ (if:$dir is "Down")[(set:$3dPassage to "TR")]]]](else:)[(if: $var is "ur")[(if:$dir is "Down")[(set:$3dPassage to "LL")](else:)[(if:$dir is "Left")[(set:$3dPassage to "LR")]]](else:)[(if: $var is "rd")[ (if:$dir is "Up")[(set:$3dPassage to "LR")](else:)[ (if:$dir is "Left")[(set:$3dPassage to "LL")]]](else:)[(if: $var is "dl")[ (if:$dir is "Up")[(set:$3dPassage to "LL")](else:)[ (if:$dir is "Right")[(set:$3dPassage to "LR")]]](else:)[(if: $var is "ul")[ (if:$dir is "Right")[(set:$3dPassage to "LL")](else:)[ (if:$dir is "Down")[(set:$3dPassage to "LR")]]](else:)[(if: $var is "ds")[ (if:$dir is "Down")[(set:$3dPassage to "L")](else:)[ (if:$dir is "Up")[(set:$3dPassage to "W")]]](else:)[(if: $var is "ls")[ (if:$dir is "Right")[(set:$3dPassage to "W")](else:)[ (if:$dir is "Left")[(set:$3dPassage to "L")]]](else:)[(if: $var is "us")[ (if:$dir is "Up")[(set:$3dPassage to "L")](else:)[ (if:$dir is "Down")[(set:$3dPassage to "W")]]](else:)[(if: $var is "rs")[ (if:$dir is "Right")[(set:$3dPassage to "L")](else:)[ (if:$dir is "Left")[(set:$3dPassage to "W")]]](else:)[(if:$var is "urdl")[(set:$3dPassage to "X")]]]]]]]]]]]]]]] (set:$dir to $direction) (if:$NewDir is "Up")[(set:$NewDir to $dir)](else:)[(if:$dir is "Right")[ (if:$NewDir is "Up")[(set:$NewDir to "Right")](else:)[ (if:$NewDir is "Right")[(set:$NewDir to "Down")](else:)[ (if:$NewDir is "Down")[(set:$NewDir to "Left")](else:)[ (if:$NewDir is "Left")[(set:$NewDir to "Up")]]]]] (else:)[(if:$dir is "Down")[ (if:$NewDir is "Up")[(set:$NewDir to "Down")](else:)[ (if:$NewDir is "Right")[(set:$NewDir to "Left")](else:)[ (if:$NewDir is "Down")[(set:$NewDir to "Up")](else:)[ (if:$NewDir is "Left")[(set:$NewDir to "Right")]]]]] (else:)[(if:$dir is "Left")[ (if:$NewDir is "Up")[(set:$NewDir to "Left")](else:)[ (if:$NewDir is "Right")[(set:$NewDir to "Up")](else:)[ (if:$NewDir is "Down")[(set:$NewDir to "Right")](else:)[ (if:$NewDir is "Left")[(set:$NewDir to "Down")]]]]] ] ] ] (display:"Move") (set:$direction to $NewDir)(if:$NewDir is "Up")[(set: $yloc to $yloc+1)](else:)[ (if:$NewDir is "Right")[(set: $xloc to $xloc+1)](else:)[ (if:$NewDir is "Down")[(set: $yloc to $yloc-1)](else:)[ (if:$NewDir is "Left")[(set: $xloc to $xloc-1)]]]](set:$3dSection to "TLHallLeft")(display:"display BG Setting")(set:$gated to false)(set:$enemy to false)(unless:$noNav)[(display: "Navigation Down")(unless:$Blocked)[(display: "Navigation Left")]](set:$3dSection to "TLHallRight")(display:"display BG Setting")(set:$gated to false)(set:$enemy to false)(unless:$noNav)[(display: "Navigation Down")(unless:$Blocked)[(display: "Navigation Right")]](set:$3dSection to "THallDown")(display:"display BG Setting")(set:$gated to false)(set:$enemy to false)(unless:$noNav)[(display: "Navigation Down")(unless:$Blocked)[(display: "Navigation Right")(display: "Navigation Left")]](set:$3dSection to "THallLeft") (display:"display BG Setting")(set:$gated to false)(set:$enemy to false) (unless:$noNav)[ (display: "Navigation Down")(unless:$Blocked)[(display: "Navigation Up") (display: "Navigation Left")] ](set:$3dSection to "THallRight") (display:"display BG Setting")(set:$gated to false)(set:$enemy to false) (unless:$noNav)[ (display: "Navigation Down")(unless:$Blocked)[ (display: "Navigation Up") (display: "Navigation Right")] ] (set:$3dSection to "Cross")(display:"display BG Setting")(set:$gated to false)(set:$enemy to false)(unless:$noNav)[(unless:$Blocked)[(display: "Navigation Up")(display: "Navigation Right")(display: "Navigation Left")](display: "Navigation Down") ](set:$3dSection to "PassageHall")(display:"display BG Setting")(set:$enemy to false)(unless:$noNav)[(unless:$Blocked)[(display: "Navigation Up")](display: "Navigation Down")](set:$3dSection to "Wall")(display:"display BG Setting")(set:$gated to false)(set:$enemy to false)(unless:$noNav)[(display: "Navigation Down")] (set:$3dsection to $3dSectionName) (set:$3dSectionName to "3d"+$3dSection+$CurrentColor) (set:$baseClass to "imageCenter backgroundImages") (set:$class to $baseClass+" color") (set:$source to $image's $3dSectionName)(display:"getImage") (set:$3dSectionName to "3d"+$3dSection+"Line") (set:$class to $baseClass+" line") (set:$source to $image's $3dSectionName)(display:"getImage") (set:$3dSectionName to "3d"+$3dSection+"Texture") (set:$class to $baseClass+" texture") (set:$source to $image's $3dSectionName)(display:"getImage") (display:"straight walk")(unless:$noNav)[ (if:$direction is "Up")[(set:$class to "compassImage")(set:$source to $image's CompassN)(display:"getImage")] (if:$direction is "Right")[(set:$class to "compassImage")(set:$source to $image's CompassE)(display:"getImage")] (if:$direction is "Down")[(set:$class to "compassImage")(set:$source to $image's CompassS)(display:"getImage")] (if:$direction is "Left")[(set:$class to "compassImage")(set:$source to $image's CompassW)(display:"getImage")]](set:$class to "imageCenter Shadow")(set:$source to $image's Shadow)(display:"getImage") <table class="DBTableBG tableDown" ><tr class="upperTr"><td class="leftTd">(set:$class to "ulc anhundred")(set:$source to $image's UpperLleftCorner)(display:"getImage")</td><td class="centerTd">(set:$class to "ul anhundred")(set:$source to $image's UpperSide)(display:"getImage")</td><td class="rightTd">(set:$class to "urc anhundred")(set:$source to $image's UpperRightCorner)(display:"getImage")</td></tr><tr class="middTr"><td class="leftTd">(set:$class to "ll anhundred")(set:$source to $image's LeftSide)(display:"getImage")</td><td class="centerTd">(set:$class to "c anhundred")(set:$source to $image's Center)(display:"getImage")</td><td>(set:$class to "rl anhundred")(set:$source to $image's RightSide)(display:"getImage")</td></tr><tr class="lowerTr"><td class="leftTd ">(set:$class to "dlc anhundred")(set:$source to $image's LowerLeftCorner)(display:"getImage")</td><td class="centerTd">(set:$class to "dl anhundred")(set:$source to $image's LowerSide)(display:"getImage")</td><td class="rightTd">(set:$class to "drc anhundred")(set:$source to $image's LowerRightCorner)(display:"getImage")</td></tr></table>(if:$lastWalk is "")[(set:$lastWalk to $3dPassage+"WalkA") ](if:$3dSection is $lastSection)[(unless:$Battle)[ (if:$lastWalk is $3dPassage+"WalkB")[(set:$lastWalk to $3dPassage+"WalkA")](else:)[(if:$lastWalk is $3dPassage+"WalkA")[(set:$lastWalk to $3dPassage+"WalkB")] ]]](else:)[(set:$lastWalk to $3dPassage+"WalkA")](set:$class to "imageCenter")(set:$source to $image's $lastWalk)(display:"getImage")(set:$lastSection to $3dSection) (set:$levelsDesign to (datamap:'448',(datamap:'floor','rd','elem','','val',''),'458',(datamap:'floor','rl','elem','','val',''),'468',(datamap:'floor','dl','elem','enemy','val','Glowy'),'447',(datamap:'floor','urd','elem','enemy','val','Glowy'),'457',(datamap:'floor','rl','elem','enemy','val','Glowy'),'467',(datamap:'floor','ul','elem','','val',''),'446',(datamap:'floor','us','elem','upLadder','val','3 4 6'),'472',(datamap:'floor','rs','elem','upLadder','val','3 7 2'),'482',(datamap:'floor','ls','elem','friendly','val','convoend'),'215',(datamap:'floor','rd','elem','','val',''),'225',(datamap:'floor','rl','elem','enemy','val','Glowy'),'235',(datamap:'floor','dl','elem','','val',''),'204',(datamap:'floor','rs','elem','upLadder','val','1 6 5'),'214',(datamap:'floor','udl','elem','','val',''),'234',(datamap:'floor','urd','elem','','val',''),'244',(datamap:'floor','rl','elem','','val',''),'254',(datamap:'floor','ls','elem','downLadder','val','3 0 2'),'213',(datamap:'floor','ur','elem','','val',''),'223',(datamap:'floor','rl','elem','enemy','val','Glowy'),'233',(datamap:'floor','ul','elem','','val',''),'147',(datamap:'floor','ds','elem','','val',''),'126',(datamap:'floor','rd','elem','','val',''),'136',(datamap:'floor','rl','elem','friendly','val','convo2'),'146',(datamap:'floor','urdl','elem','','val',''),'156',(datamap:'floor','ls','elem','enemy','val','Squarey'),'125',(datamap:'floor','ud','elem','','val',''),'145',(datamap:'floor','ud','elem','','val',''),'155',(datamap:'floor','rd','elem','','val',''),'165',(datamap:'floor','ls','elem','downLadder','val','2 0 4'),'175',(datamap:'floor','ds','elem','','val',''),'104',(datamap:'floor','rs','elem','','val',''),'114',(datamap:'floor','rl','elem','friendly','val','convo1'),'124',(datamap:'floor','urdl','elem','','val',''),'134',(datamap:'floor','ls','elem','','val',''),'144',(datamap:'floor','ud','elem','friendly','val','convo3'),'154',(datamap:'floor','ur','elem','','val',''),'164',(datamap:'floor','rl','elem','','val',''),'174',(datamap:'floor','urdl','elem','','val',''),'184',(datamap:'floor','ls','elem','','val',''),'123',(datamap:'floor','us','elem','','val',''),'133',(datamap:'floor','rs','elem','','val',''),'143',(datamap:'floor','urdl','elem','','val',''),'153',(datamap:'floor','rl','elem','','val',''),'163',(datamap:'floor','rl','elem','friendly','val','convo4'),'173',(datamap:'floor','ul','elem','','val',''),'142',(datamap:'floor','ud','elem','','val',''),'141',(datamap:'floor','us','elem','enemy','val','Glowy'),'348',(datamap:'floor','rd','elem','','val',''),'358',(datamap:'floor','rl','elem','','val',''),'368',(datamap:'floor','rl','elem','','val',''),'378',(datamap:'floor','rl','elem','','val',''),'388',(datamap:'floor','dl','elem','','val',''),'347',(datamap:'floor','ud','elem','','val',''),'387',(datamap:'floor','ud','elem','enemy','val','Squarey'),'316',(datamap:'floor','rd','elem','','val',''),'326',(datamap:'floor','dl','elem','enemy','val','Glowy'),'346',(datamap:'floor','ud','elem','downLadder','val','4 4 6'),'366',(datamap:'floor','rd','elem','','val',''),'376',(datamap:'floor','ls','elem','enemy','val','Squarey'),'386',(datamap:'floor','ud','elem','','val',''),'315',(datamap:'floor','ur','elem','','val',''),'325',(datamap:'floor','udl','elem','','val',''),'345',(datamap:'floor','ud','elem','','val',''),'365',(datamap:'floor','ud','elem','enemy','val','Squarey'),'385',(datamap:'floor','ud','elem','enemy','val','Squarey'),'324',(datamap:'floor','ud','elem','','val',''),'344',(datamap:'floor','ud','elem','','val',''),'364',(datamap:'floor','ur','elem','','val',''),'374',(datamap:'floor','rl','elem','enemy','val','Squarey'),'384',(datamap:'floor','ul','elem','','val',''),'303',(datamap:'floor','rs','elem','enemy','val','Glowy'),'313',(datamap:'floor','rl','elem','','val',''),'323',(datamap:'floor','udl','elem','','val',''),'343',(datamap:'floor','ud','elem','','val',''),'302',(datamap:'floor','rs','elem','upLadder','val','2 5 4'),'312',(datamap:'floor','rl','elem','','val',''),'322',(datamap:'floor','urdl','elem','','val',''),'332',(datamap:'floor','rl','elem','enemy','val','Squarey'),'342',(datamap:'floor','urdl','elem','','val',''),'352',(datamap:'floor','rl','elem','enemy','val','ExDragon'),'362',(datamap:'floor','rl','elem','','val',''),'372',(datamap:'floor','ls','elem','downLadder','val','4 7 2'),'321',(datamap:'floor','ud','elem','','val',''),'341',(datamap:'floor','ud','elem','','val',''),'320',(datamap:'floor','us','elem','enemy','val','Glowy'),'340',(datamap:'floor','us','elem','enemy','val','Glowy'),'000',(datamap:'empty','empty'))) (set:$place to (text:$lvel)+(text:$xloc)+(text:$yloc)) (set:$section to $levelsDesign's $place's floor) (set:$place to (text:$lvel)+(text:$xloc)+(text:$yloc)) (set:$sectionDatamap to $levelsDesign's $place) (set:$SectionType to $sectionDatamap's elem) (set:$Value to $sectionDatamap's val) (unless:$SectionType is "" or $SectionType is 0)[ (if:$SectionType is "enemy")[(display:"ShowSprite")(unless:$Battle)[(set:$Blocked to true)(set:$CurrentEnemyName to $sectionDatamap's val )(display:"initiateEnemy")(display:"AttackOption")]](else:)[(set:$Blocked to false)] (if:$SectionType is "upLadder" or $SectionType is "downLadder")[ (display:"ShowSprite") (display:"ladder") ] (unless:$Dialogue)[ (if:$SectionType is "friendly")[(display:"TalkOption")(display:"ShowSprite")](else:)[(set:$Dialogue to false)]] ](else:)[(set:$Blocked to false)(set:$Dialogue to false)] <!-- (set:$place to (text:$lvel)+(text:$xloc)+(text:$yloc)) (set:$sectionDatamap to $levelsDesign's $place) (set:$SectionType to $sectionDatamap's elem) (set:$Value to $sectionDatamap's val) (unless:$SectionType is "" or $SectionType is 0)[ (unless:$Dialogue)[ (if:$SectionType is "friendly")[(display:"TalkOption")](else:)[(set:$Dialogue to false)]] (unless:$SectionType is "upLadder" or $SectionType is "downLadder")[ (if:$SectionType is "friendly")[(set:$spriteName to $conversations's $Value's sprite)](else:)[ (set:$spriteName to $SectionType +"_"+ $Value)] ](else:)[ (set:$spriteName to $SectionType)] (set:$class to "imageCenter sprite")(set:$source to $image's $spriteName)(display:"getImage")] (set:$index to 1)[[(display:"dialogueBox") ]<base|(display:"displayableSensor")<div class="dialogueBox">(unless:$conversation's $index's character is "")[(set:$name to $conversation's $index's character)](unless:$name is "_")[<div class="name">(text:$name)</div>](set: $dialogueSection to $conversation's $index's dialogue )$dialogueSection [(set:$class to "nextLink")(set:$source to $image's arrow)(display:"getImage")]<link|</div> (set:$imageLeftEntry to $conversation's $index's imageLeft)$imageLeftEntry (unless:$imageLeftEntry is "")[(set:$class to 'char cLeft')(set:$source to $image's $imageLeftEntry)(display:"getImage")] (set:$imageRightEntry to $conversation's $index's imageRight)$imageRightEntry (unless:$imageRightEntry is "")[(set:$class to 'char cRight')(set:$source to $image's $imageRightEntry)(display:"getImage")] (set:$centerEntry to $conversation's $index's imageCenter)$imageCenterEntry (unless:$centerEntry is "")[(set:$class to 'char cCenter')(set:$source to $image's $centerEntry)(display:"getImage")] (set:$backgroundEntry to $conversation's $index's background) (click:?link)[(if:$index < $conversation's length)[(set:$index to $index+1) (replace:?base)[(display:"dialogueBox")(display:"displayableSensor") ]](else:)[(set:$levelsDesign's $place's elem to '')(set:$Dialogue to false)(set:$noNav to false)(go-to:"Level Section Display")]] (set:$imageTagHead to "<img class='char cLeft' src='images/") (set:$imageTagTail to "' />") (unless:$imageLeftEntry is "")[ (set:$imageLeft to $imageLeftEntry) (set:$imageLeftTag to $imageTagHead+$imageLeft+$imageTagTail) ] (text:$imageLeftTag) imageGenerateImageRight (set:$imageTagHead to "<img class='char cRight' src='images/") (set:$imageTagTail to "' />") (unless:$imageRightEntry is "")[ (set:$imageRight to $imageRightEntry) (set:$imageRightTag to $imageTagHead+$imageRight+$imageTagTail) ] (text:$imageRightTag) (set:$imageTagHead to "<img class='background messageDiv' src='images/") (set:$imageTagTail to "' />") (unless:$backgroundEntry is "")[ (set:$bground to $backgroundEntry) (set:$bgTag to $imageTagHead+$bground+$imageTagTail) ] (text:$bgTag) (set:$imageTagHead to "<img class='char cCenter' src='images/") (set:$imageTagTail to "' />") (unless:$centerEntry is "")[ (set:$center to $centerEntry) (set:$centerTag to $imageTagHead+$center+$imageTagTail) ] (text:$centerTag) (set:$conversation to (a: (datamap: "character", "testMan", "dialogue" , "hello, world ", "expression", 1, "imageLeft","bana", "imageRight","brachel", "imageCenter","", "background","" ), (datamap: "character", "test other person", "dialogue" , "hello, world b ", "expression", 1, "imageLeft","brachel", "imageRight","bana", "imageCenter","", "background",""), (datamap: "character", "test woman", "dialogue" , "hello, world c ", "expression", 1, "imageLeft","brachel_eyes", "imageRight","bana_fang", "imageCenter","", "background",""), (datamap: "character", "test woman", "dialogue" , "hello, world c ", "expression", 1, "imageLeft","", "imageRight","", "imageCenter","bana_fang", "background",""), (datamap: "character", "test woman", "dialogue" , "hello, world c ", "expression", 1, "imageLeft","", "imageRight","", "imageCenter","bana_fang", "background","")))<table class="menuTableBG" > <tr class="upperTr"> <td class="leftTd">(set:$class to "ulc anhundred")(set:$source to $image's UpperLleftCorner)(display:"getImage")</td> <td class="centerTd">(set:$class to "ul anhundred")(set:$source to $image's UpperSide)(display:"getImage")</td> <td class="rightTd">(set:$class to "urc anhundred")(set:$source to $image's UpperRightCorner)(display:"getImage")</td> </tr> <tr class="middTr"> <td class="leftTd">(set:$class to "ll anhundred")(set:$source to $image's LeftSide)(display:"getImage")</td> <td class="centerTd">(set:$class to "c anhundred")(set:$source to $image's Center)(display:"getImage")</td> <td>(set:$class to "rl anhundred")(set:$source to $image's RightSide)(display:"getImage")</td> </tr> <tr class="lowerTr"> <td class="leftTd ">(set:$class to "dlc anhundred")(set:$source to $image's LowerLeftCorner)(display:"getImage")</td> <td class="centerTd">(set:$class to "dl anhundred")(set:$source to $image's LowerSide)(display:"getImage")</td> <td class="rightTd">(set:$class to "drc anhundred")(set:$source to $image's LowerRightCorner)(display:"getImage")</td> </tr> </table> <div class="dialogueBox">[Attack]<attack|(click:?attack)[(set:$noNav to true)(display:"initiateEnemy")(set:$Battle to true)(go-to:"Level Section Display") ]</div>(set:$Blocked to true)<div class="dialogueBox">[talk]<talk|(click:?talk)[(set:$conversation to $conversations's $Value's conversation)(set:$noNav to true)(set:$Dialogue to true)(go-to:"Level Section Display")]</div>(set:$enemyDictionary to (datamap: "Glowy" ,(datamap:"hp", 40, "attack",11),"Squarey",(datamap:"hp", 105, "attack",24),"ExDragon",(datamap:"hp", 165, "attack",54))) <div class="dialogueBox">(unless:$finishedFight )[(if:$BattleMessage is "")[enemy data: name = $CurrentEnemyName attack = $enemyAttack hp= $enemyHP](else:)[$BattleMessage] [Strike the foe ]<strike|(click:?strike)[(if:$PlayerCharacter's Attack >=$enemyHP)[(set:$levelsDesign's $place's elem to '')(set:$finishedFight to true)(set:$win to true)(go-to:"Level Section Display")](else:)[(if:$enemyAttack>=$PlayerCharacter's hp)[(set:$win to false)(set:$finishedFight to true)(go-to:"Level Section Display")](else:)[(set:$enemyHP to ($enemyHP - $PlayerCharacter's Attack))(set:$PlayerCharacter's hp to ($PlayerCharacter's hp - $enemyAttack))(set:$BattleMessage to "You gave "+(text:$CurrentEnemyName)+" "+(text:$PlayerCharacter's Attack)+" damage , now its hp is "+(text:$enemyHP)+"<br>You received "+(text:$enemyAttack)+" damage. now your hp is "+(text:$PlayerCharacter's hp))(go-to:"Level Section Display") ]]]](else:)[(display:"EndBattle")(set:$finishedFight to false) ]</div>(set:$enemyHP to $enemyDictionary's $CurrentEnemyName's hp ) (set:$enemyAttack to $enemyDictionary's $CurrentEnemyName's attack ) (if:$win)[$CurrentEnemyName died by your hand. (if:$CurrentEnemyName is "Squarey")[(set:$healthGain to 10)you won $healthGain permanent HP (set:$baseHp to $baseHp +$healthGain)](if:$CurrentEnemyName is "Glowy")[(set:$attackGain to 5)you won $attackGain permanent Attack (set:$baseAttack to $baseAttack +$attackGain)] ](else:)[$CurrentEnemyName gave you $enemyAttack damage. You lost this battle.] [[endBattle->Level Section Display]] (set:$noNav to false)(set:$Battle to false)(set:$BattleMessage to "") (set:$PlayerCharacter's Attack to $baseAttack) (set:$PlayerCharacter's hp to $baseHp) (set:$words to $sectionDatamap's val) (set:$lv to Math.abs(parseInt($words's 1))) (set:$yv to Math.abs(parseInt($words's 5))) (set:$xv to Math.abs(parseInt($words's 3))) <div class="dialogueBox">[Use ladder ]<ladder|(click:?ladder)[(set:$lvel to $lv)(set:$xloc to $xv) (set:$yloc to $yv)(go-to:"Level Section Display")]</div> (set:$class to "MainMenuBg imageCenter")(set:$source to $image's mainMenuBG)(display:"getImage") <div class="mmoption credits"></div> <div class="mmoption load"></div> <div class="mmoption credits"></div> <div class="mmContainer"> [[Start Game]] Load Credits<a onclick="mutes();"> mute </a> </div>(display:"Conversations")(display:"set enemyDictionary")(set:$finishedFight to false)(set:$BattleMessage to "")(set:$Dialogue to false)(set:$Battle to false)(set:$Dialogue to false)(set:$noNav to false)(set:$name to "")(set:$subIndex to 0)(display:"LogicalLevelLoad")(set: $lastWalk to "")(display:"VarInitializationGeneral")(display:"enemyInitialize")(set:$gateMessage to "")(display:"arrayInitialize")(set:$messages to "")(set:$direction to "Right")(set:$gated to false)(set:$lvel to 1)(set: $PlayerCharacter to (datamap: "Name", "Adventurella", "Attack",10,"Karma" ,20,"hp",50))(set:$xloc to 0)(set:$yloc to 4)(display:"Level Section Display")(set:$baseAttack to $PlayerCharacter's Attack)(set:$baseHp to $PlayerCharacter's hp)(set:$conversations to (datamap: "convo1", (datamap:"sprite","SaveGirlMistery","conversation", (a:(datamap: "character", "misterious girl", "dialogue" , "Welcome to the labirith", "imageLeft","","imageCenter","brachel_eyes","imageRight","" ), (datamap: "character", "_", "dialogue" , "To continue please take the northern path on the next crossroad.", "imageLeft","","imageCenter","brachel_eyes","imageRight","" ), (datamap: "character", "_", "dialogue" , "May the wishes of your heart be granted ad the bottom of this place", "imageLeft","","imageCenter","brachel_eyes","imageRight","" ) )), "convo2", (datamap:"sprite","SaveGirlMistery","conversation", (a:(datamap: "character", "misterious girl", "dialogue" , "Now the path is laid south", "imageLeft","","imageCenter","brachel_eyes","imageRight","" ) )), "convo3", (datamap:"sprite","SaveGirlMistery","conversation", (a:(datamap: "character", "misterious girl", "dialogue" , "You can never go wrong going right", "imageLeft","","imageCenter","brachel_eyes","imageRight","" ), (datamap: "character", "_", "dialogue" , "or east.", "imageLeft","","imageCenter","brachel_eyes","imageRight","" ) )), "convo4", (datamap:"sprite","SaveGirlMistery","conversation", (a:(datamap: "character", "misterious girl", "dialogue" , "Now things get sinister", "imageLeft","","imageCenter","brachel_eyes","imageRight","" ), (datamap: "character", "_", "dialogue" , "or just go in the direction you haven't yet.", "imageLeft","","imageCenter","brachel_eyes","imageRight","" ) )), "convoend", (datamap:"sprite","SaveGirlMistery","conversation", (a:(datamap: "character", "misterious girl", "dialogue" , "Here you are at the end of the labyrinth ", "imageLeft","","imageCenter","brachel_eyes","imageRight","" ), (datamap: "character", "_", "dialogue" , "With nothing more than the strength and vigor given to you by the obstacles in your adventure.", "imageLeft","","imageCenter","brachel_eyes","imageRight","" ), (datamap: "character", "_", "dialogue" , "Was it that which your heart yearned an adventure?.", "imageLeft","","imageCenter","brachel_eyes","imageRight","" ) , (datamap: "character", "_", "dialogue" , "Was it worth it ?", "imageLeft","","imageCenter","brachel_eyes","imageRight","" ), (datamap: "character", "_", "dialogue" , "Was it tedious?", "imageLeft","","imageCenter","brachel_eyes","imageRight","" ), (datamap: "character", "_", "dialogue" , "Congratulations no matter what.", "imageLeft","","imageCenter","brachel_eyes","imageRight","" ), (datamap: "character", "_", "dialogue" , "Now , I’ll be your last challenge.", "imageLeft","","imageCenter","brachel_eyes","imageRight","" ), (datamap: "character", "_", "dialogue" , "NOT.", "imageLeft","","imageCenter","brachel_eyes","imageRight","" ), (datamap: "character", "_", "dialogue" , "Now you can go out of the labyrinth . to a world of time traveling cowboys.", "imageLeft","","imageCenter","brachel","imageRight","" ), (datamap: "character", "_", "dialogue" , "Who always go faster no matter the gravity (wink).", "imageLeft","","imageCenter","brachel","imageRight","" ), (datamap: "character", "_", "dialogue" , "The end.", "imageLeft","","imageCenter","brachel_eyes","imageRight","" ) ) ) ) ) (set:$2DTo3D to (datamap:'urdlUp','X','urdlRight','X','urdlDown','X','urdlLeft','X','urDown','LL','urLeft','LR','rdUp','LR','rdLeft','LL','dlUp','LL','dlRight','LR','ulDown','LR','ulRight','LL','urdUp','TR','urdDown','TL','urdLeft','TD','rdlRight','TR','rdlLeft','TL','rdlUp','TD','urlRight','TL','urlLeft','TR','urlDown','TD','udlUp','TL','udlDown','TR','udlRight','TD','udUp','P','udDown','P','rlRight','P','rlLeft','P','usUp','P','usDown','W','rsRight','P','rsLeft','W','dsUp','W','dsDown','P','lsRight','W','lsLeft','P'))(set:$dir to $direction)(set:$var to $section) (set:$searchterm to $var+$dir) (set:$3dPassage to $2DTo3D's $searchterm) (set:$class to 'DBTableBG tableDown')(set:$source to $image's TextBox)(display:"getImage") (set:$class to 'menuTableBG')(set:$source to $image's MenuBox)(display:"getImage")