:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: ::READ ME:: :: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::VERSION # 1.0 :: ::This is the game Legend. Not everything is perfect, so if you find a bug, please tell me about it! :: ::You may contact me via email, at rcaproductionmaster@gmail.com ::As the subject, ensure you have the word LEGEND. :: ::This Version Includes: ::-Character Name ::-Character Gender ::-Forest Fights ::-Arena Fights (Bosses, kill them to level up) ::-Random events in the forest ::-Several secrets (If you enter certain letters at menus, you may get some clues) ::-A new remade fight calculator ::-A new graphical technique, to show special characters (Lines, etc) ::-All options actually go places now in the town ::-The entire game is playable up to level 6 :: ::To run the game: ::Download the attached Legend.txt file. Open it in notepad (Just double click it). Click File>Save As... then ::pick a location. Change the "Save as Type" option from "Text Documents (*.txt)" to "All Files (*.*)". ::Now, name the file "Legend.bat" (Don't use the quotes. If you don't name it correctly, the game won't work.). ::Finally, just double click the file (It should look like a set of gears). The game will open! :: ::To Play: ::Just read carefully, and press the corresponding keys to do things. If you have this menu: :: ::'E'nter building ::'M'ove along ::Your Choice? [E,M] :: ::Press e to enter the building, and press m to move on. :: ::If you are given menus where you are asked to enter a number value, the game will only accept numbers in the ::format of 1 2 3 4 5 6 7 8 9 0. If you use text, the game will error and/or close. :: ::If you want to keep your progress, you must save before you exit. Otherwise, it will be reset to your last save. :: ::Enjoy! :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: @ECHO OFF chcp 850 ::ATTRIB +R Legend.bat ::ATTRIB +H Legend.bat ATTRIB +H settings.meow title Legend COLOR 0A if exist Legend!.bat (ATTRIB -R Legend!.bat) ::echo. Legend.bat>Legend!.bat ::ATTRIB +R Legend!.bat for /f "tokens=1-4 delims=/ " %%i in ("%date%") do ( set dow=%%i set month=%%j set day=%%k set year=%%l ) set "date=%day%/%month%/%year%" set name=Legend set /a health=20 set /a defense=0 set /a level=0 set /a gold=0 set weapon=Stick set /a kills=0 set armor=Shirt set /a bank=0 set indeath=0 set /a kiss=0 set barg=false set /a weplev=0 set /a lastdate=0 set forestgo=false set pasturevisted=false set castlecheck=false set peanuts=false :beginning CLS color 0a choice /c ELGCI /n /m "'E'nter the realm; 'L'eave; 'G'raphics; 'C'ontributors; 'I'nstall new version;" if %errorlevel%==1 (goto entered) if %errorlevel%==2 (exit) if %errorlevel%==3 (goto encoding) if %errorlevel%==4 (goto contributors) if %errorlevel%==5 (goto replacefile) :replacefile color 0f CLS echo Instructions: echo. echo To play a new version of Legend, you echo must download the NEW copy of Legend. echo It should come in a text file, with echo the version number at the top of the echo READ ME section. Check that you have echo a newer version. echo Once this is done, you must delete echo this version of Legend, so that you echo can name the new .bat file 'Legend.bat'. echo If you have the new version, and are ready echo to replace this file, continue. Otherwise, echo press 'N' on the next page to return echo to the main menu. echo. echo Unless otherwise noted, you will NOT echo lose any of your saved data by getting a echo new version. echo. pause CLS echo WARNING: THIS DELETES YOUR COPY OF LEGEND! echo. echo ONLY PROCEED IF YOU HAVE A NEW VERSION TO REPLACE THIS ONE! echo. choice /c YN /m "DELETE LEGEND? " if %errorlevel%==2 (goto beginning) choice /c YN /m "ARE YOU SURE? " if %errorlevel%==2 (goto beginning) CLS echo IF YOU ARE SURE, TYPE THIS AND PRESS ENTER: echo. echo delete echo. set deletefile=no set /p deletefile=">" if %deletefile%==delete (goto deletefile) goto beginning :deletefile ATTRIB -H Legend.bat ATTRIB -R Legend.bat DEL Legend.bat exit :contributors CLS echo DESIGNER, CONCEPT MANAGER, MAIN PROGRAMMER: echo. echo RCAProduction (2016) echo. echo BETA TESTER: echo. echo Winner Inc. (2015) echo. pause goto beginning :encoding color 0a CLS echo Which option appears more like a box? echo. echo " A.) echo " _ echo " !_! echo " echo " B.) echo " ÚÄ¿ echo " ³ ³ echo " ÀÄÙ echo. choice /c AB /n /m ">" if %errorlevel%==1 (goto plaintext) :entered set ur=³ set st=Ä set lt=Ú set lb=À set rt=¿ set rb=Ù set mbr=Ã set mt=Å set mtb=Â set mb=Á set mbl=´ set btt=Ò set bbt=Ð set tp=º set mtbt=× set squiggle=ô set lowshade=° set mshade=± set hshade=² set tc=Í goto intro :plaintext set ur=! set st=- set lt=! set lb=! set rt=! set rb=! set mbr=! set mt=! set mtb=! set mb=! set mbl=! set btt=! set bbt=! set tp=! set mtbt=! set squiggle=$ set lowshade=# set mshade=# set hshade=# set tc=- goto intro :intro CLS echo " echo " %lt%%st%%st%%st%%st%%st%%st%%st%%st%%tc%%tc%%st%%st%%st%%st%%st%%st%%st%%st%%tc%%tc%%st%%st%%st%%st%%st%%st%%st%%st%%tc%%tc%%st%%st%%st%%st%%st%%st%%st%%st%%tc%%tc%%st%%st%%st%%st%%st%%st%%st%%st%%tc%%tc%%st%%st%%st%%st%%st%%st%%st%%st%%tc%%tc%%st%%st%%st%%st%%st%%st%%rt% echo " %ur% /\_\ /\ \ /\ \ /\ \ /\_\ /\ \ %ur% echo " %ur% /:/ / /::\ \ /::\ \ /::\ \ /::|_| /::\ \ %ur% echo " %ur% /:/ / /:/\:\_\ /:/\:\_\ /:/\:\_\ /:|:/\_\ /:/\:\ \ %ur% echo " %ur% /:/ / /::\_\/_/ /:/ /\/_/ /::\_\/_/ /:/|::/ / /:/ /|:| | %ur% echo " %ur% /:/ / /:/\/_/ /:/ /_ /:/\/_/ /:/ |:/ / /:/ / |:| | %ur% echo " %ur% \:\ \ \:\ \ \:\/\_\ \:\ \ \/_/:/ / \:\ \/:/ / %ur% echo " %ur% \:\_\ \:\ \ \::/ / \:\_\ /:/ / \:\/:/ / %ur% echo " %ur% \/_/ \/_/ \/_/ \/_/ \/_/ \__/_/ %ur% echo " %lb%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%rb% echo " %squiggle%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%lowshade%%squiggle% echo " %squiggle%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%mshade%%squiggle% echo " %squiggle%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%hshade%%squiggle% echo " __________ ________ __ echo " | | | | \ / | \ / \ |\ | echo " | | |__ | | \__ | | | | \ | echo " | | | |__/ \ | | | | \| _|_|_ echo " | | | | \ | | | | | | _|_|_ echo " \_/ |___ | |___/ _____ \__/ \| | | | 1.0 RELEASE echo. echo (C) echo RCAPRODUCTION 2016 echo. choice /c ELM /n /m "'E'nter your name if you are new, or 'L'ogin." if %errorlevel% == 2 (goto login) if %errorlevel%==3 (goto meowliz) color 0c CLS echo Entering a name or gender resets any other progress, with any other player. echo Only continue if you are new, or want to play from the beginning! echo. echo What gender are you, and what's your name? echo. choice /c MFE /n /m "'M'ale, 'F'emale, 'E'xit" if %errorlevel%==3 (goto entered) if %errorlevel%==1 ( set gen=M goto namee) set gen=F :namee set name=NA set /p user="Your name:" ATTRIB -H settings.meow ATTRIB -R settings.meow CLS echo Gender: %gen% echo Name : %user% echo. echo Remember that you must manually save your progress! echo. choice /c YN /m "Save?" if %errorlevel%==2 (goto entered) ( echo %user% echo %gen% echo %gold% echo %health% echo %weapon% echo %level% echo %kills% echo %armor% echo %defense% echo %bank% echo %kiss% echo %weplev% echo %date% )>settings.meow ATTRIB +R settings.meow ATTRIB +H settings.meow pause goto town :meowlizz CLS echo You... You know me? echo If you kiss me more than once, I'll give you 50 health... echo Don't forget... echo. pause CLS echo You have three choices. Pick wisely. echo. echo 'G'o on to game echo 'B'e in love echo 'C'heers and broccoli choice /c GBC /n /m ">" if %errorlevel%==3 (goto entered) set /a indeath=1 goto entered :meowliz set kjhjsdf=v CLS set /p kjhjsdf="So you think you're smart, eh?" if %kjhjsdf%==money (goto bankhint) if %kjhjsdf%==Lindsey (goto meowlizz) CLS echo You have no idea who I am! Go away! echo. pause goto entered :bankhint CLS echo In thee bank, when yee deposit or withdrawal, echo place yonder a 1, and all yee gold shall be used! echo. pause goto entered :login ( set /p user= set /p gen= set /p gold= set /p health= set /p weapon= set /p level= set /p kills= set /p armor= set /p defense= set /p bank= set /p kiss= set /p weplev= set /p lastdate= )" if %errorlevel%==2 (goto town) set /a math=%level%*10+20 if %math% LSS %health% ( set health=%math%) :handsomehealloop set /a math=%level%*10+20 if %health% GEQ %math% (goto handsomehealed) set /a math=%math%-%health% set /a math2=%gold%-101 if %math2% LSS 0 (goto handsomehealed) set /a gold=%gold%-101 set /a health=%health%+1 goto handsomehealloop :handsomehealed CLS echo Healed. pause goto doctorhandsome :zensnews CLS color 2a echo ___-_----____.'---_ echo ! --. .-- . . , .-. ! echo ! / !- !\! '-. ! echo ! '-- '-- ' ' '-' ! echo '------------------' echo. echo 'D'aily News: 10 Gold echo 'F'ree Bulletin echo 'L'eave echo. choice /c DFL /n /m "!NEWS! >" if %errorlevel%==1 (goto buyzennews) if %errorlevel%==2 (goto bulletin) goto town :bulletin CLS echo WANTED: Peanuts! Will pay $$$ -R. Turner echo. echo FOR SALE: Darke Majik, Assorted ingredient set -5000 gold -Ms. Rodney echo. echo Buy news from Zen's! Only 10 gold! echo. echo MISSING: Child, 6, red hair, last seen %date% echo. echo HELP WANTED: Warrior to kill my husband. $$. -Meet at river echo. echo "--_-.-'^.------.___.-'`.-.__.`.------..-''------'~''`._------ echo. pause goto zensnews :buyzennews CLS if %gold% LSS 10 ( echo "Not enough gold. GET OUT!!" echo. pause goto town) set /a gold=%gold%-10 set /a math=%random%*5/32767+1 if %math%==1 ( echo %date% echo. echo CHILDREN MISSING echo. echo Today, more children have gone missing. echo Several claim the children wandered into echo the forest, however this claim is not echo backed up. A single witness claims that echo a large scaly bird snatched them, but echo the witness is a known rum drinker. echo Based on his description, the snatcher echo is either a massive eagle, or... Or a echo dragon! echo. pause goto zensnews ) if %math%==2 ( echo %date% echo. echo GIANT PEANUT FOUND! echo. echo During this year's annual nut fest, echo resident Kitty Cinnamon found a echo massive peanut. How it was grown, echo is yet unknown. Due to her discovery, echo all regular size peanuts have been echo bought up. echo Normally, this is not an issue, echo but Mr. Ryan Turner has a reverse echo peanut allergy, making him wholly echo dependant on peanuts. Anyone who has echo peanuts, will be paid handsomely echo for them! echo. pause goto zensnews ) if %math%==3 ( echo %date% echo. echo QUEEN BEHEADS TRAITORS echo. echo Today, Queen Greycliffe the Powerful echo issued a decree to the people of her echo Dark Forest Kingdom. In the decree, she echo set the penalty for any form of echo unlawfullness as beheading. echo For all who plan to travel, it is echo suggested that you avoid the Dark echo Forest unless on official business. echo Although the decree only applies to echo the citizens there, you may be found echo to be a traitor. Two days ago, she echo beheaded three travellers, under echo speculation that they were traitors. echo. pause goto zensnews ) if %math%==4 ( echo %date% echo. echo NEW CITIZENS ARRIVE echo. echo One new citizen, %user%, echo was quoted saying, "Some day, I will echo slay the dragon which plagues this land!" echo Although no one has ever returned from echo such a quest, %they% is dead set on echo surviving. echo Our reporter attempted to talk %theyy% echo out of the idea, but %they% would not budge. echo We wish %theyy% luck, and hope %they% will echo return alive, and perhaps with our missing echo children. echo. pause goto zensnews ) if %math%==5 ( echo %date% echo. echo RIVER GOBLINS ATTACK echo. echo Yesterday, yet another band of river echo goblins attacked travellers crossing the echo bridge. In an exclusive interview with echo Ghibliggcvok, the goblin leader, we echo talked about why he was attacking echo travellers on the bridge, which is out echo of the river. echo Ghibliggcvok stated that since the echo construction of the bridge, travellers echo no longer drown in the river. Because echo the goblins no longer have corpses in echo the river to rob, they must rob the echo living who cross the bridge. echo. pause goto zensnews ) :save ATTRIB -H settings.meow ATTRIB -R settings.meow CLS choice /c YN /m "Save?" if %errorlevel%==2 (goto town) ( echo %user% echo %gen% echo %gold% echo %health% echo %weapon% echo %level% echo %kills% echo %armor% echo %defense% echo %bank% echo %kiss% echo %weplev% echo %date% )>settings.meow ATTRIB +R settings.meow ATTRIB +H settings.meow echo Saved. set savetime=%time:~0,2%:%time:~3,2%:%time:~6,2% set savedate=%date% pause goto town :exit for /f "tokens=1-4 delims=/ " %%i in ("%date%") do ( set dow=%%i set month=%%j set day=%%k set year=%%l ) set "date=%day%/%month%/%year%" CLS color 0c echo " %lt%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%rt% echo " %ur% ______ _______ _______ %ur% echo " %ur% | \ / | | %ur% echo " %ur% | \ / | | %ur% echo " %ur% |____ \ / | | %ur% echo " %ur% | X | | %ur% echo " %ur% | / \ | | %ur% echo " %ur% | / \ | | %ur% echo " %ur% |______ / \ ___|___ | %ur% echo " %ur% %ur% echo " %lb%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%rb% echo. echo GAME LAST SAVED AT %savetime% %savedate%. echo. echo IT IS CURRENTLY %time:~0,2%:%time:~3,2%:%time:~6,2% %date%. echo. choice /c YN /m "Are you sure you want to exit? Progress will not be saved automatically." if %errorlevel%==2 (goto town) exit :stats ( set /p user= set /p gold= set /p health= set /p weapon= set /p level= set /p kills= set /p armor= set /p defense= )settings.meow ATTRIB +R settings.meow ATTRIB +H settings.meow echo Don't worry, your game is saved. echo. pause exit :wine set /a gold=%gold%-100 set /a health=%health%+5 CLS echo You owe the bartender 100 gold. echo. echo He gives you a large goblet of wine, and half a echo loaf of bread. You are refreshed. echo. pause CLS set barg=true echo You sit at the bar for a while, then leave. echo. pause goto inn :ale CLS echo You owe the bartender 50 gold. echo. echo You feel a bit weak, and lose a health. echo. pause set barg=true goto inn :water CLS echo The bartender asks for only 1 gold. echo. echo You feel more at home. echo. pause goto inn :ir CLS echo You go to the innkeeper, and ask for a room. echo. echo "A room'll cost ya 250 gold." echo. echo 'B'uy a room, and go to sleep echo 'L'eave echo. choice /c BL /n /m ">" if %errorlevel%==2 (goto inn) set /a gold=%gold%-250 set /a health=%health%+30 ATTRIB -H settings.meow ATTRIB -R settings.meow if %errorlevel%==2 (goto town) ( echo %user% echo %gen% echo %gold% echo %health% echo %weapon% echo %level% echo %kills% echo %armor% echo %defense% echo %bank% echo %kiss% echo %weplev% echo %date% )>settings.meow ATTRIB +R settings.meow ATTRIB +H settings.meow CLS echo You drift to sleep... echo. echo Your progress is saved, and you become refreshed. echo. pause exit :it CLS echo 'B'art the Barbarian echo 'R'onald the Crazy echo 'O'ld Man echo 'G'amblers echo 'L'eave choice /c BROGL /n /m "Who do you want to talk with?" CLS if %errorlevel%==1 ( echo You walk up to Bart, and say hello. He responds gruffly, echo. echo "Whuts yur bizness here?" echo. echo "Well, I just wanted to talk..." echo. echo "Not hear to kill meh?" echo. echo "No..." echo. echo "Well, in dat case, I have a tid ov abvise fur ya. If ya echo relly want tu find yur fame, slay da dra...g...nnnnnnmmf" echo he responded, and then passed out from his rum. echo. pause goto inn ) if %errorlevel%==2 ( echo You wearily approach the nutjob. He sees you before you have a chance to echo say hello. echo. echo "AYYYYY! YOU THERE!!!" he yelled. echo "AYEEEEEE SEE YOU!" echo. echo "Uh... Hello?" echo. echo "HAHAHAHA!" echo. echo "..." echo. echo "Better leave the fairies ALONE! HAHAHA!!" echo. echo With that, you decided to leave. echo. pause goto inn ) if %errorlevel%==3 ( echo You say hello to the old man. echo. echo "Ohhhh... Hello there little child..." he mumbled. echo "Heeeeere, have a peanut... If you find one, you'll be rich..." echo. echo A little creeped out, you leave. echo. pause goto inn ) if %errorlevel%==4 (goto betting) :betting CLS echo 'A'strology Betting echo 'D'ice echo 'G'uess the Queen echo 'R'eturn to inn choice /c ADGR /n /m ">" if %errorlevel%==1 (goto astrologybetting) if %errorlevel%==2 (goto dice) if %errorlevel%==4 (goto inn) if %errorlevel%==3 (goto guessthequeen) :guessthequeen :q1 color 0f cls echo ############### Guess the Queen ############### echo. echo RULES: In this game you may bet up to 1,000 gold. echo 3 cards will be delt, containing 2 Aces and echo 1 Queen. Pick a card, then one of the aces will echo be revealed. You then have the choice to keep your echo card or switch your card. If you lose, you will echo lose your wager and an additional 50 percent of echo your wager. If you win you will get all of the echo wager back, and an additional 50 percent of echo your wager. echo. :choiceq choice /m "Do you want to play?" if %errorlevel%==2 (goto inn) if %errorlevel%==1 (goto playqueen) :playqueen CLS set wagerq=0 echo You have %gold% gold. echo. set /p wagerq="Your Wager>" CLS if %wagerq% GTR %gold% (goto nomoney) if %wagerq% LEQ 0 (goto zeromoney) goto dabet :nomoney echo You ain't got that much money! echo You can still bet this, but if you lose the echo gamblers won't like it, so be WARNED. echo. choice /m "Do you want still want to bet this?" if %errorlevel%==2 (goto choiceq) if %errorlevel%==1 (goto dabet) :zeromoney echo Gamblers do not appreciate this. echo. echo The Gamblers beat you up and you lose one health! echo They then take all your money! pause set /a gold=%gold%-%gold% set /a health=%health%-1 goto inn :dabet set /a ranchoice=%RANDOM% * 3 / 32767 +1 set /a realcard=%RANDOM% * 3 / 32767 if %realcard%==0 (set /a realcard=0) if %realcard%==1 (set /a realcard=1) if %realcard%==2 (set /a realcard=2) set /a fakecard1=%realcard%-1 set /a fakecard2=%realcard%-2 if %fakecard1% LSS 0 (set /a fakecard1=%fakecard1% * -1) if %fakecard2% LSS 0 (set /a fakecard2=%fakecard2% * -1) echo Which card? echo 0 1 2 echo _ _ _ echo ! ! ! ! ! ! echo !_! !_! !_! set /p unum="Your choice:" CLS goto checkq :checkq if %unum% GTR 2 (goto zeromoney) if %unum% LSS 0 (goto zeromoney) CLS goto cards :cards if %unum%==%realcard% (goto rand1) if NOT %unum%==%realcard% (goto rand2) :rand1 if %ranchoice%==1 (goto fake1) if NOT %ranchoice%==1 (goto fake2) :fake1 echo %fakecard1% is an Ace echo 0 1 2 echo _ _ _ echo ! ! ! ! ! ! echo !_! !_! !_! echo. goto cq :fake2 echo %fakecard2% is an Ace echo 0 1 2 echo _ _ _ echo ! ! ! ! ! ! echo !_! !_! !_! echo. goto cq :rand2 if NOT %unum%==%fakecard1% (goto fake3) if %unum%==%fakecard1% (goto fake4) :fake3 echo %fakecard1% is an Ace echo 0 1 2 echo _ _ _ echo ! ! ! ! ! ! echo !_! !_! !_! echo. goto cq :fake4 echo %fakecard2% is an Ace echo 0 1 2 echo _ _ _ echo ! ! ! ! ! ! echo !_! !_! !_! echo. goto cq :cq choice /m "Do you wish to change your card?" if %errorlevel%==2 (goto nodeal) if %errorlevel%==1 (goto deal) :nodeal echo . if %realcard%==%unum% (goto winq) if NOT %realcard%==%unum% (goto loseq) :deal echo. echo Your current card is %unum%. echo. set /p unum="Which card would you like to change to?" if %realcard%==%unum% (goto winq) if NOT %realcard%==%unum% (goto loseq) :winq cls set /a winamount=%wagerq% + (%wagerq% / 2 ) echo YAY! You WON! echo Your wager was %wagerq%! echo You won %winamount%! echo You have %gold% gold echo. if %winamount%==1500 (goto zeromoney) set /a gold=%gold% + %winamount% choice /m "Play Again?" if %errorlevel%==2 (goto inn) if %errorlevel%==1 (goto q1) :loseq cls set /a loseamount=%wagerq% + (%wagerq% / 2 ) set /a gold=%gold% - %loseamount% if %gold% LSS 0 (goto yodead) echo You lost! echo Better Luck next time! echo The real card was %realcard% echo You lost %loseamount% gold echo You have %gold% gold choice /m "Play Again?" if %errorlevel%==2 (goto inn) if %errorlevel%==1 (goto q1) :yodead echo The gamblers do not appreciate being bet money you don't have. echo Not Cool echo . goto zeromoney :dice color 5e set win1=false set win2=false CLS echo $ $ -*{ Welcome to DICE version 1.0! }*- $ $ echo. echo RULES: There are two dice. You may wage up echo to 5000 gold. After you place your echo gold, you must pick two numbers, 1-6. echo You will roll the dice, and if the echo numbers match, you will triple your echo wager. However, if only one matches, echo you will only double your wager. echo If you get both wrong, you lose your echo wager. echo. echo 'L'eave echo 'G'amble choice /c LG /n /m ">" if %errorlevel%==1 (goto inn) CLS set num1=0 set num2=0 set bet=0 echo You have %gold% gold. echo. set /p bet="Wager.........>" if %bet% GTR 5000 ( CLS echo That is an illegal move! echo. pause goto town) set /p num1="Number 1 [1-6]>" set /p num2="Number 2 [1-6]>" echo. set /a die1=%random%*6/32767+1 set /a die2=%random%*6/32767+1 set return=return1 if %die1%==1 (goto dice1) if %die1%==2 (goto dice2) if %die1%==3 (goto dice3) if %die1%==4 (goto dice4) if %die1%==5 (goto dice5) if %die1%==6 (goto dice6) :return1 echo. set return=return2 if %die2%==1 (goto dice1) if %die2%==2 (goto dice2) if %die2%==3 (goto dice3) if %die2%==4 (goto dice4) if %die2%==5 (goto dice5) if %die2%==6 (goto dice6) :return2 echo. if %die1% EQU %num1% (goto win1) :win1o if %die2% EQU %num2% (goto win2) :win2o if %win1% EQU %win2% (goto dicelose) echo. pause goto dice pause goto dice :dicelose echo You lose. set /a gold=%gold%-%bet% echo. pause goto dice :bwin echo You won both! set /a gold=%gold%+%bet%+%bet% echo. pause goto dice :win1 echo You won die 1! set win1=true set /a gold=%gold%+%bet% goto win1o :win2 set win2=true if %win1% EQU %win2% (goto bwin) echo You won die 2! set /a gold=%gold%+%bet% goto win2o :dice1 echo %lt%%st%%st%%st%%st%%st%%st%%st%%rt% echo %ur% %ur% echo %ur% * %ur% echo %ur% %ur% echo %lb%%st%%st%%st%%st%%st%%st%%st%%rb% goto %return% :dice2 echo %lt%%st%%st%%st%%st%%st%%st%%st%%rt% echo %ur% * %ur% echo %ur% %ur% echo %ur% * %ur% echo %lb%%st%%st%%st%%st%%st%%st%%st%%rb% goto %return% :dice3 echo %lt%%st%%st%%st%%st%%st%%st%%st%%rt% echo %ur% * %ur% echo %ur% * %ur% echo %ur% * %ur% echo %lb%%st%%st%%st%%st%%st%%st%%st%%rb% goto %return% :dice4 echo %lt%%st%%st%%st%%st%%st%%st%%st%%rt% echo %ur% * * %ur% echo %ur% %ur% echo %ur% * * %ur% echo %lb%%st%%st%%st%%st%%st%%st%%st%%rb% goto %return% :dice5 echo %lt%%st%%st%%st%%st%%st%%st%%st%%rt% echo %ur% * * %ur% echo %ur% * %ur% echo %ur% * * %ur% echo %lb%%st%%st%%st%%st%%st%%st%%st%%rb% goto %return% :dice6 echo %lt%%st%%st%%st%%st%%st%%st%%st%%rt% echo %ur% * * %ur% echo %ur% * * %ur% echo %ur% * * %ur% echo %lb%%st%%st%%st%%st%%st%%st%%st%%rb% goto %return% :dice6 :astrologybetting color 75 set number0=NA set number1=NA set number2=NA set number3=NA set number4=NA set /a n=0 set /a m=0 CLS echo %lt%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%rt% echo Welcome to ASTROLOGY BETTING version 1.1! echo %lb%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%rb% echo. echo RULES: There are 3 other gamblers. Each has only 1 guess. echo You begin with 5 guesses. Each 10 gold you wager, echo you will lose one of your guesses, until you only echo have one left. This means you will always have at echo least one guess. There is no limit to the amount echo that you can wager. echo. echo 'P'lay echo 'L'eave choice /c PL /n /m ">" if %errorlevel%==2 (goto inn) CLS echo How much do you wish to wager? You have %gold% gold. echo. set bet=0 set /p bet=">" if %bet% GTR %gold% (goto toohighbet) set /a guessamount=%bet%/10 set /a guessamount=5-%guessamount% if %guessamount% LEQ 0 (goto resetguesses) goto skipreset :resetguesses set /a guessamount=1 :skipreset set /a origguess=%guessamount% :guessagain CLS echo You have %guessamount%/5 guesses left! echo. echo Guess 1: %number0% echo Guess 2: %number1% echo Guess 3: %number2% echo Guess 4: %number3% echo Guess 5: %number4% echo. echo Pick a number between 0 and 1000! echo. set /p number%n%=">" set /a n=%n%+1 set /a guessamount=%guessamount%-1 if %guessamount% GTR 0 (goto guessagain) set /a n=0 CLS set /a realnum=%random%*999/32767+1 set /a othernum0=%random%*1000/32767 set /a othernum1=%random%*1000/32767 set /a othernum2=%random%*1000/32767 echo Guess 1: %number0% echo Guess 2: %number1% echo Guess 3: %number2% echo Guess 4: %number3% echo Guess 5: %number4% echo Real Number : %realnum% echo Computer : %othernum0% echo Computer : %othernum1% echo Computer : %othernum2% set /a n=0 set /a m=0 set /a origg=%origguess% ::::::::::::::::::::::::::::CALC LOOP::::::::::::::::::::::::::::: :calculationloop set number=number%n% call set /a number=%%number%% set /a math=%realnum%-%number% set /a math=%math%*%math% set /a number%n%=%math% set /a n=%n%+1 set /a origg=%origg%-1 if %origg% GTR 0 (goto calculationloop) set /a origg=3 :calculationloop2 set othernum=othernum%m% call set /a othernum=%%othernum%% set /a math=%realnum%-%othernum% set /a math=%math%*%math% set /a othernum%m%=%math% set /a m=%m%+1 set /a origg=%origg%-1 if %origg% GTR 0 (goto calculationloop2) :::::::::::::::::::::::::::::::END OF CALC LP:::::::::::::::::::::::::: set /a n=0 set /a m=0 set /a ltotal=0 set /a wtotal=0 set /a origg=%origguess%-1 ::::::::::::::::::::::::CHECK LOOP:::::::::::::::::::::::::::: :checkloop set number=number%n% set othernumber=othernum%m% call set /a numberr=%%number%% call set /a othernumberr=%%othernumber%% if %numberr% LSS %othernumberr% (goto winner) :returnwinner if %othernumberr% LSS %numberr% (goto loser) :returnloser set /a m=%m%+1 if %m% LSS 3 (goto checkloop) if %origg% LEQ 0 (goto endofcheckloop) set /a origg=%origg%-1 set /a m=0 set /a n=%n%+1 if %n% LSS 5 (goto checkloop) :endofcheckloop ::::::::::::::::::::::::END CHK LP::::::::::::::::::::::::::::: set /a wtotal=%wtotal%/%origguess% set /a ltotal=%ltotal%/3 set /a finalresult=%wtotal%-%ltotal% CLS if %finalresult% LSS 0 (goto win) echo You lose! echo. echo The real number was %realnum%. The other betters were closer. echo. echo You lost %bet% gold. echo. set /a gold=%gold%-%bet% pause goto astrologybetting :win echo You win! echo. echo You gain %bet% gold! echo. set /a gold=%gold%+%bet% pause goto astrologybetting :winner set /a wtotal=%wtotal%+%numberr% goto returnwinner :loser set /a ltotal=%ltotal%+%othernumberr% goto returnloser :toohighbet echo You can't bet more than you have! pause goto astrologybetting :is CLS echo You stand in the corner, and watch. echo. echo A few men at a small round table are gambling, an echo old woman sits in the opposite corner, and several echo people sit at the bar. echo. echo 'G'amble echo 'K'eep looking echo 'R'eturn choice /c GKR /n /m ">" if %errorlevel%==1 (goto astrologybetting) if %errorlevel%==3 (goto inn) CLS if %gen%==M (goto mi) echo Behind the gamblers, you see a young attractive man. echo. echo 'T'alk to him echo 'F'orget it choice /c TF /n /m "What are you going to do?" if %errorlevel%==1 (goto ftalk) goto inn :ftalk CLS echo You walk up to him, and he smiles. echo. echo 'T'alk echo 'F'lirt echo 'W'alk away choice /c TFW /n /m "He gazes expectingly..." if %errorlevel%==1 (goto ftalkk) if %errorlevel%==2 (goto laid) goto inn :ftalkk set /a health=%health%+1 CLS echo You talk for a while, and get a kiss. Your relationship echo is taking off! echo. pause goto inn :mi echo Behind the gamblers, you see an attractive young woman. echo. echo 'T'alk to her echo 'F'orget it choice /c TF /n /m "What are you going to do?" if %errorlevel%==1 (goto mtalk) goto inn :mtalk CLS echo You walk up to her, and she smiles. echo. echo 'T'alk echo 'F'lirt echo 'W'alk away choice /c TFW /n /m "She gazes expectingly..." if %errorlevel%==1 (goto mtalkk) if %errorlevel%==2 (goto laid) goto inn :mtalkk set /a health=%health%+1 CLS echo You talk for a while, and get a kiss. Your relationship echo is taking off! echo. pause goto inn :laid color 0d set /a health=%health%+10 CLS echo The two of you flirt for a while, then sneak off to a room... echo. pause CLS echo You just got laid! Congrats! echo. echo You feel great. echo. pause goto inn :arena if %level% GTR 6 (goto arenachecked) set /a math=%level%*10+20 if %health% GTR %math% (set /a health=%math%) :arenachecked if %health% LEQ 0 (goto lose) CLS echo A small sign states that if you win a battle, your echo level increases. echo. echo 'F'ight echo 'R'eturn to forest choice /c FR /m "Beware." if %errorlevel%==2 (goto forest) CLS set firstfight=true if %level%==0 (goto level0) if %level%==1 (goto level1) if %level%==2 (goto level2) if %level%==3 (goto level3) if %level%==4 (goto level4) if %level%==5 (goto level5) if %level%==6 (goto level6) if %level%==7 (goto level7) :level0 set enemy=Zoidberg set ehealth=40 set /a tough=22 set /a eattack=15-%defense% set /a elow=5 set ewep=his Claws set bonus=10000 goto afight :level1 set enemy=Mr. Gordon set ehealth=72 set /a tough=26 set /a eattack=30-%defense% set /a elow=10 set ewep=his Gun set bonus=15000 goto afight :level2 set enemy=Richard Nixon set ehealth=150 set /a tough=40+(5*%level%) set /a eattack=60-%defense% set /a elow=10 set ewep=Scandals set bonus=30000 goto afight :level3 set enemy=Cyclops set ehealth=200 set /a tough=50+(5*%level%) set /a eattack=60-%defense% set /a elow=13 set ewep=Big Bat set bonus=100000 goto afight :level4 set enemy=Rogneck The Terrible set ehealth=225 set /a tough=50+(5*%level%) set /a eattack=60-%defense% set /a elow=25 set ewep=his Massive Sword set bonus=105000 goto afight :level5 set enemy=Bongledor set ehealth=250 set /a tough=50+(5*%level%) set /a eattack=60-%defense% set /a elow=30 set ewep=his Giant Bong set bonus=150000 goto afight :level6 set enemy=Hitler set ehealth=500 set /a tough=50+(5*%level%) set /a eattack=70-%defense% set /a elow=15 set ewep=Gas set bonus=205000 goto afight :level7 set enemy=Eskibar set ehealth=600 set /a tough=50+(5*%level%) set /a eattack=80-%defense% set /a elow=50 set ewep=his Giant Mandables set bonus=300000 goto afight :afight CLS echo Computing... set myString=%health% call :strlen hexsub myString set /a jhgfjhsa=%hexsub% set /a jhgfjhsa=13-%jhgfjhsa% call :extrachar extrahe jhgfjhsa set myString=%ehealth% call :strlen hexsub myString set /a jhgfjhsa=%hexsub% set /a jhgfjhsa=13-%jhgfjhsa% call :extrachar extrahe1 jhgfjhsa set myString=%enemy%A call :strlen hexsub myString set /a jhgfjhsa=%hexsub% set /a jhgfjhsa=21-%jhgfjhsa% call :extrachar extrahe2 jhgfjhsa set myString=%defense% call :strlen hexsub myString set /a jhgfjhsa=%hexsub% set /a jhgfjhsa=13-%jhgfjhsa% call :extrachar extrahe3 jhgfjhsa set myString=%tough% call :strlen hexsub myString set /a jhgfjhsa=%hexsub% set /a jhgfjhsa=13-%jhgfjhsa% call :extrachar extrahe4 jhgfjhsa set myString=%weapon% call :strlen hexsub myString set /a jhgfjhsa=%hexsub% set /a jhgfjhsa=13-%jhgfjhsa% call :extrachar extrahe5 jhgfjhsa set myString=%bonus% call :strlen hexsub myString set /a jhgfjhsa=%hexsub% set /a jhgfjhsa=13-%jhgfjhsa% call :extrachar extrahe6 jhgfjhsa CLS if %indeath%==1 (goto lose) if %firstfight%==false (goto lkhff) set firstfight=false echo You see %enemy% lurking in the corner of the arena... echo. :lkhff echo %lt%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%btt%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%rt% echo %ur%You: %tp%%enemy%:%extrahe2%%ur% echo %mbr%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%×%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%mbl% echo %ur%Health :%health%%extrahe%%tp%Health :%ehealth%%extrahe1%%ur% echo %ur%Defense:%defense%%extrahe3%%tp%Tough :%tough%%extrahe4%%ur% echo %ur%Weapon :%weapon%%extrahe5%%tp%Bonus :%bonus%%extrahe6%%ur% echo %ur% %tp% %ur% echo %lb%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%Ð%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%rb% echo. echo 'A'ttack echo 'R'un choice /c AR /m "Your choice?" if %errorlevel%==2 (goto arena) CLS set /a damage=%random% * %tough% / 32767 +%level%+(%weplev%*2) echo You attack %enemy% with your %weapon% and hit with %damage% damage! set /a ehealth=%ehealth%-%damage% echo. set /a edamage=%random%*%eattack%/32767+%elow%-%level% if %edamage% LEQ 0 (set /a edamage=0) echo %enemy% hit you with %ewep% for %edamage% damage! set /a health=%health%-%edamage% echo. pause if %health% LEQ 0 (goto lose) if %ehealth% LEQ 0 (goto levelup) goto afight :levelup CLS echo %enemy% lies dead in the dust of another long fight. echo. set /a gain=%random%*500/32767+%bonus% echo You recieve %gain% gold! set /a gold=%gold%+%gain% echo. set /a kills=%kills%+1 set /a level=%level%+1 pause goto forest ::::::::::::::FOREST ENEMIES::::::::::::::: ::enemy : Set enemy name ::ehealth : Set enemy health ::tough : Set max value that enemy can be hit with ::eattack : Set max value enemy can attack with (Minus your defense value) ::elow : Set minimum value enemy can attack with (Minus your defense value) ::ewep : Enemy weapon name ::bonus : Set a specific money bonus (Minimum amount to be given) ::::::::::::::::::::::::::::::::::::::::::: set enemy= set ehealth= set /a tough=+(5*%level%) set /a eattack=-%defense% set /a elow= set ewep= set bonus= goto fight set /a math=%random%*3/32767 if %math% LSS 1 (goto event) :rat set /a math=%random%*3/32767 if %math% LSS 1 (goto event) set enemy=Rat set ehealth=4 set /a tough=3+(5*%level%) set /a eattack=2-%defense% set /a elow=0-%defense% set ewep=its sewage-soaked fur set bonus=1 goto fight :fatkid set /a math=%random%*3/32767 if %math% LSS 1 (goto event) set enemy=Fat Kid set ehealth=5 set /a tough=6+(5*%level%) set /a eattack=4-%defense% set /a elow=2-%defense% set ewep=her extreme flatulence set bonus=50 goto fight :oldman set /a math=%random%*3/32767 if %math% LSS 1 (goto event) set enemy=Old Man set ehealth=5 set /a tough=7+%level% set /a eattack=3-%defense% set /a elow=0-%defense% set ewep=his old cane set bonus=200 goto fight :hark set /a math=%random%*3/32767 if %math% LSS 1 (goto event) set enemy=Hark set ehealth=22 set /a tough=7+(5*%level%) set /a eattack=7-%defense% set /a elow=2-%defense% set ewep=his huge muscles set bonus=500 goto fight :hcat set /a math=%random%*3/32767 if %math% LSS 1 (goto event) set enemy=Heavy Cat set ehealth=6 set /a tough=7+(5*%level%) set /a eattack=5-%defense% set /a elow=1-%defense% set ewep=its awkward belly set bonus=12 goto fight :pig set enemy=Pig set ehealth=17 set /a tough=3+(5*%level%) set /a eattack=20-%defense% set /a elow=1 set ewep=its big nose set bonus=5 goto fight :::rcaproductionmaster@gmail.com :sbear set /a math=%random%*3/32767 if %math% LSS 1 (goto event) set enemy=Small Bear set ehealth=21 set /a tough=2+(5*%level%) set /a eattack=25-%defense% set /a elow=3 set ewep=its teeth and claws set bonus=100 goto fight :evilk set enemy=Evil Child set ehealth=23 set /a tough=4+(5*%level%) set /a eattack=25-%defense% set /a elow=2-%defense% set ewep=his devil worshipping set bonus=270 goto fight :fairy CLS echo You come across a hidden clearing, filled with fairies. echo You step into the open, and you are immediately scolded echo for spying! echo. echo One of the smaller fairies comes up to, curiously. echo She examines you, but you are unsure what to do. echo You may either 'G'o on your way, or 'S'tay a while. echo. choice /c GS set /a stay=2 if %errorlevel%==1 (goto trueee) set /a stay=1 :trueee set /a math=%random%*(%stay%+1)/32767 if %math% GTR 0 (goto blessing) echo The fairies are mad, and take 5 of your health! echo They then disappear laughing, leaving you in a bad mood. set /a health=%health%-5 echo. pause if %health% LEQ 0 (goto lose) goto forest :blessing set /a gift=%random%*6/32767+1 echo The fairies take a liking to you, and award you with %gift% health. set /a health=%health%+%gift% echo. pause goto forest :event set /a math=%random%*6/32767+1 if %math%==1 (goto edwarf) if %math%==2 (goto tavern) if %math%==3 (goto liz) if %math%==4 (goto ancientbook) if %math%==5 (goto eoldman) if %math%==6 (goto emoneyforest) goto forest :eoldman CLS set /a health=%health%+1 echo An old man ambushes you! echo. echo Old man hits you with a jar of olives! echo. echo Before you can hit him back, he disappears! echo. echo You gain 1 health! echo. pause goto forest :emoneyforest CLS set /a math=%random%*500/32767 echo You find a sack of %math% gold! set /a gold=%gold%+%math% echo. pause goto forest echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo. pause CLS :ancientbook color 27 CLS echo ! /\ /\ /\ echo ! ! ! !_________ echo ! ! ! ! echo ! ! ! ! echo ! ! ! ! echo ! ! _ ! ! echo ! ! ___/ ! ! echo ! !__/ ! ! echo ! @ ! @@ ! ! echo ! @ ! \/ !_________ echo. echo --------------------------------------- echo --------------------------------------- echo. echo THE COMPLETE CHRONICLES OF LEGEND $$$$$ echo. echo. echo H. J. ROCKWELL echo. echo. echo. echo --------------------------------------- echo. pause CLS :edwarf CLS echo A portly, and well armed, dwarf walks into you! echo "Sorrae der sir, I'll be on ma way now..." he says. echo You suddenly realize you lost one health! set /a health=%health%-1 echo. if %health% LEQ 0 (goto lose) pause goto forest :tavern set /a health=%health%+10 CLS echo You see a whisp of white smoke, coming from through the woods. echo You walk towards it, and come across a charming old tavern. echo It is made of stone, and has a beautiful garden surrounding echo it's gates. echo. echo You stop in, and gain a few health. echo. echo 'S'tay a bit longer echo 'C'ontinue on your quest echo 'W'ait here choice /c SCW /n /m "What now?" if %errorlevel%==1 (goto tavernstay) if %errorlevel%==3 (goto tavernwait) goto forest :tavernstay CLS color 5f echo You stay for a little while. An old man at the bar echo is talking. echo. echo 'L'isten echo 'G'o on your way choice /c LG /n /m "Well?" color 0a if %errorlevel%==2 (goto forest) CLS color 5f echo He is talking to himself, as he leans on the bar near echo the fire. echo. echo "Ah, yes... Instead of login, I said m, then Lindsey, echo and finally I had a beer with a vegetable... She told me echo a secret, so dear! Ah! You! Do as I have done! Remember, echo m, Lindsey, and then..." he trailed off. echo. pause color 0a goto forest :tavernwait CLS set /a math=%random%*3/32767 if %math% LSS 1 (goto extrahealth) echo You wait a while. Not much happens. echo. pause goto forest :extrahealth set /a health=%health%+3 CLS echo You gain three health! echo. pause goto forest :liz color 0d CLS echo You hear moaning, coming from behind a grove of trees... echo. echo 'I'nvestigate echo 'B'e smart and run away choice /c IB if %errorlevel%==2 ( color 0a CLS goto forest) CLS echo You find your way through the trees, and see the opening to a large cave... echo The demonic moaning is louder than ever! echo. echo 'E'nter the cave echo 'D'ecide to not be an idiot, and run away! choice /c ED if %errorlevel%==2 ( color 0a CLS goto forest) CLS echo You enter the cave, and the sounds stop! echo. echo In the corner, you see a young woman. She is chained to the echo wall, bloody. Upon further inspection, a vulture has been echo knawing on her leg. echo. echo 'S'tab her echo 'K'ick the vulture choice /c SK /m "Be smart " if %errorlevel%==1 ( echo You stab her with a stick, and run away. She swears at you, echo and sets a curse upon you! You will be doomed to die echo in your next fight! echo. pause set indeath=1 color 0a CLS goto forest) CLS echo You kick the vulture, and she immediately begins to heal. echo "Who are you?" she implores. echo. echo 'R'espond echo 'Y'ell at her for being stupid echo. choice /c RY if %errorlevel%==2 ( echo You wake up, remember screeching, but nothing else. echo Better continue on then. Stupid Ale! ::::rcaproductionmaster@gmail.com echo. pause color 0a goto forest) CLS echo "I am a warrior, seeking fame and fortune. Who are you?" echo. echo She responds, "I am Liz, you stupid fool!" echo. echo "What a silly name!" echo. echo 'K'iss her echo 'R'un away from this madwoman! choice /c KR if %errorlevel%==2 ( color 0a CLS goto forest) if %kiss%==1 (goto lizkiss) set /a kiss=1 set /a health=%health%-1 CLS echo She yells at you, and you lose one health! echo. pause if %health% LEQ 0 (goto lose) ATTRIB -H settings.meow ATTRIB -R settings.meow ( echo %user% echo %gen% echo %gold% echo %health% echo %weapon% echo %level% echo %kills% echo %armor% echo %defense% echo %bank% echo %kiss% echo %weplev% echo %date% )>settings.meow ATTRIB +R settings.meow ATTRIB +H settings.meow color 0a goto forest :lizkiss set /a math=%random%*2/32767+1 if %math% LEQ 1 ( CLS echo She isn't too happy with you today. echo. echo She tells you to leave before she kills you. echo. pause color 0a goto forest) set /a health=%health%+50 CLS echo Since your last kiss, she has come to like you... echo You gain 50 health! echo. echo "Keep this color for a while, to remember me..." pause goto forest :sentienttree set /a math=%random%*3/32767 if %math% LSS 1 (goto event) set enemy=The Sentient Tree sentree set ehealth=41 set /a tough=5+(5*%level%) set /a eattack=24-%defense% set /a elow=6 set ewep=his rude words set bonus=0 goto fight :smellycouch set enemy=Smelly Couch set ehealth=43 set /a tough=12+(5*%level%) set /a eattack=32-%defense% set /a elow=8 set ewep=its terribleness set bonus=0 goto fight :crazyman set enemy=Crazy Dude set ehealth=27 set /a tough=5+(5*%level%) set /a eattack=40-%defense% set /a elow=4 set ewep=his insane dancing set bonus=200 goto fight :polititian set /a math=%random%*3/32767 if %math% LSS 1 (goto event) set enemy=Politition set ehealth=27 set /a tough=6+(5*%level%) set /a eattack=43-%defense% set /a elow=5 set ewep=red tape set bonus=5000 goto fight :knight set enemy=Knight set ehealth=50 set /a tough=10+(5*%level%) set /a eattack=70-%defense% set /a elow=10 set ewep=his Long Sword set bonus=2500 goto fight :dwarf set /a math=%random%*3/32767 if %math% LSS 1 (goto event) set enemy=Dwarf set ehealth=50 set /a tough=17+(5*%level%) set /a eattack=78-%defense% set /a elow=6 set ewep=his small battle axe set bonus=700 goto fight :drunkensoldier set enemy=Drunken Soldier set ehealth=19 set /a tough=19+(5*%level%) set /a eattack=71-%defense% set /a elow=9 set ewep=ale bottles set bonus=400 goto fight :witch set enemy=Witch set ehealth=50 set /a tough=12+(5*%level%) set /a eattack=75-%defense% set /a elow=10 set ewep=her witchcraft set bonus=570 goto fight :snake set enemy=Snake set ehealth=34 set /a tough=20+(5*%level%) set /a eattack=160-%defense% set /a elow=5 set ewep=its venom set bonus=0 goto fight :zork set enemy=Zork set ehealth=52 set /a tough=10+(5*%level%) set /a eattack=172-%defense% set /a elow=4 set ewep=Broad Sword set bonus=5100 goto fight :teddyroosevelt set enemy=Teddy Roosevelt set ehealth=150 set /a tough=5+(5*%level%) set /a eattack=190-%defense% set /a elow=23 set ewep=Moose Riding set bonus=10000 goto fight :wakingup set enemy=Waking Up set ehealth=32 set /a tough=10+(5*%level%) set /a eattack=161-%defense% set /a elow=10 set ewep=awful morning light set bonus=0 goto fight :pillowcase set enemy=Pillowcase set ehealth=47 set /a tough=47+(5*%level%) set /a eattack=167-%defense% set /a elow=5 set ewep=pillowcaseyness set bonus=25 goto fight :kingarthur set enemy=King Arthur set ehealth=100 set /a tough=10+(5*%level%) set /a eattack=170-%defense% set /a elow=5 set ewep=Excaliber set bonus=10500 goto fight :bucketofwater set enemy=Bucket Of Water set ehealth=89 set /a tough=89+(5*%level%) set /a eattack=182-%defense% set /a elow=4 set ewep=wetness set bonus=25 goto fight :internetexplorer set enemy=Internet Explorer set ehealth=100 set /a tough=50+(5*%level%) set /a eattack=25 set /a elow=5 set ewep=it's slow speeds set bonus=10000 goto fight :wizard set enemy=wizard set ehealth=132 set /a tough=20+(5*%level%) set /a eattack=32 set /a elow=13 set ewep=his Staff of Light set bonus=12500 goto fight :darkwizardoftheeast set enemy=Dark Wiz of the East set ehealth=154 set /a tough=19+(5*%level%) set /a eattack=37 set /a elow=15 set ewep=his Staff of Evil set bonus=12432 goto fight :elf set enemy=Elf set ehealth=60 set /a tough=0+(5*%level%) set /a eattack=25 set /a elow=5 set ewep=her small elven sword set bonus=50 goto fight :rokoroztheterrible set enemy=Rokoroz The Terrible set ehealth=200 set /a tough=100+(5*%level%) set /a eattack=42 set /a elow=1 set ewep=his Massive Sword set bonus=8943 goto fight :buffgerman set enemy=Buff German set ehealth=88 set /a tough=0+(5*%level%) set /a eattack=23 set /a elow=13 set ewep=his Luger set bonus=15000 goto fight :nobleofdragostea set enemy=Noble of Dragostea set ehealth=203 set /a tough=0+(5*%level%) set /a eattack=52 set /a elow=9 set ewep=his Army of Minions set bonus=52000 goto fight :dragon set enemy=The Dragon set ehealth=1000 set /a tough=100+(5*%level%) set /a eattack=100 set /a elow=20 set ewep=his flames, claws, and evasions set bonus=1000000 goto fight :fight CLS echo Computing... set /a toughh=100-%tough% set myString=%health% call :strlen hexsub myString set /a jhgfjhsa=%hexsub% set /a jhgfjhsa=13-%jhgfjhsa% call :extrachar extrahe jhgfjhsa set myString=%ehealth% call :strlen hexsub myString set /a jhgfjhsa=%hexsub% set /a jhgfjhsa=13-%jhgfjhsa% call :extrachar extrahe1 jhgfjhsa set myString=%enemy%A call :strlen hexsub myString set /a jhgfjhsa=%hexsub% set /a jhgfjhsa=21-%jhgfjhsa% call :extrachar extrahe2 jhgfjhsa set myString=%defense% call :strlen hexsub myString set /a jhgfjhsa=%hexsub% set /a jhgfjhsa=13-%jhgfjhsa% call :extrachar extrahe3 jhgfjhsa set myString=%toughh% call :strlen hexsub myString set /a jhgfjhsa=%hexsub% set /a jhgfjhsa=13-%jhgfjhsa% call :extrachar extrahe4 jhgfjhsa set myString=%weapon% call :strlen hexsub myString set /a jhgfjhsa=%hexsub% set /a jhgfjhsa=13-%jhgfjhsa% call :extrachar extrahe5 jhgfjhsa set myString=%bonus% call :strlen hexsub myString set /a jhgfjhsa=%hexsub% set /a jhgfjhsa=13-%jhgfjhsa% call :extrachar extrahe6 jhgfjhsa CLS if %indeath%==1 (goto lose) if %firstfight%==false (goto lkhf) set firstfight=false echo You see %enemy% come out of the shadows! echo. :lkhf echo %lt%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%btt%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%rt% "%%%%%%%%%%\%%%%%%%%%%%%%%%%%%%%%%%%%% echo %ur%You: %tp%%enemy%:%extrahe2%%ur% "%%%%%%%%%%%%%%%%%%__%%%%%%%%%%%% echo %mbr%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%mtbt%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%mbl% "%%%%%%%%%%/- \%%%%%%%%%%%%%%%% echo %ur%Health :%health%%extrahe%%tp%Health :%ehealth%%extrahe1%%ur% "%%%%%%/ O O !%%%%%%%%%% echo %ur%Defense:%defense%%extrahe3%%tp%Tough :%toughh%%extrahe4%%ur% "%%/ ### \_%%%%%%%%%% echo %ur%Weapon :%weapon%%extrahe5%%tp%Bonus :%bonus%%extrahe6%%ur% "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% echo %ur% %tp% %ur% echo %lb%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%bbt%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%st%%rb% echo. echo 'A'ttack echo 'R'un choice /c AR /m "Your choice?" if %errorlevel%==2 (goto forest) CLS set /a damage=%random% * %tough% / 32767 +%level%+(%weplev%*2) echo You attack %enemy% with your %weapon% and hit with %damage% damage! set /a ehealth=%ehealth%-%damage% echo. set /a edamage=%random%*%eattack%/32767+%elow%-%level% if %edamage% LEQ 0 (set /a edamage=0) echo %enemy% hit you with %ewep% for %edamage% damage! set /a health=%health%-%edamage% echo. pause if %health% LEQ 0 (goto lose) if %ehealth% LEQ 0 (goto win) goto fight :win CLS echo %enemy% lies dead on the ground. echo. set /a gain=%random%*500/32767+%bonus% echo You recieve %gain% gold! set /a gold=%gold%+%gain% echo. set /a kills=%kills%+1 pause goto forest :pstat set /a mathtwo=%level%*10+20 CLS echo User : %user% echo Gender : %gen% echo Health : %health%/%mathtwo% echo Gold : %gold% echo Level : %level% echo Weapon : %weapon% echo Armor : %armor% echo Defense: %defense% echo Kills : %kills% echo. pause if %foreststart%==true (goto forest) goto town ::::::::::::::FOREST PLACES::::::::::::::: :healer color 40 CLS echo You enter the humble shack, hoping to be healed. echo A small sign in the corner states that healing costs 100 gold echo for every health point. You have %gold% gold. echo. set /a ggg=%random%*2/32767 if %ggg%==1 (set person=short man) if %ggg%==2 (set person=old woman) echo A %person% comes up to you, and offers you three options. echo. echo 'H'eal all echo 'O'nly heal a little echo 'L'eave choice /c HOL /m "Which will it be now?" if %errorlevel%==2 (goto healbit) if %errorlevel%==3 ( color 0a goto forest) color 40 set /a mathtwo=%level%*10+20 set /a math=mathtwo-%health% set /a math=%math%*100 set /a math=%gold%/%math% if %math% LEQ 0 ( CLS echo We won't do that for so little gold. echo. pause goto healer ) set /a mathtwo=%level%*10+20 set /a math=%mathtwo%-%health% set /a math2=%math%*100 set /a gold=%gold%-%math2% set /a health=%health%+%math% echo. echo You are healed. echo. pause color 0a goto forest :healbit color 40 set hpheal=0 set /p hpheal="How much to heal? You have %health% health and %gold% gold. 100 gold per health. >" set /a math=%hpheal%*100 set /a math=%gold%/%math% if %math% LEQ 0 ( echo You need more gold! echo. pause goto healer ) set /a math=%health%+%hpheal% set /a mathtwo=%level%*10+20 if %math% GTR %mathtwo% ( echo You can't have more than %mathtwo% health. echo. pause goto healer ) set /a math=%hpheal%*100 set /a gold=%gold%-%math% set /a health=%health%+%hpheal% echo. echo You are healed. echo. pause color 0a goto forest :lose CLS color 0c echo Oh Ratz! Looks like you were killed! echo Maybe next time, warrior. echo. pause exit :::::::::::::FUNCTIONS:::::::::::::: :strlen ( setlocal EnableDelayedExpansion set "s=!%~2!#" set "len=0" for %%P in (4096 2048 1024 512 256 128 64 32 16 8 4 2 1) do ( if "!s:~%%P,1!" NEQ "" ( set /a "len+=%%P" set "s=!s:~%%P!" ) ) ) ( endlocal set "%~1=%len%" exit /b ) :extrachar ( ::rcaproductionmaster@gmail.com setlocal EnableDelayedExpansion set "ytrr= " :extracharloop if %jhgfjhsa% GTR 1 ( set /a jhgfjhsa=%jhgfjhsa%-1 set ytrr=%ytrr% goto extracharloop ) ) ( endlocal set "%~1=%ytrr%" exit /b ) ::rcaproductionmaster@gmail.com