Introduction: Animal Game 2.0

  1. Create a new text document.
  2. Save it as ".bat" or ".cmd".
  3. Copy and paste the code below into it.

Code:

echo off
mode con cols=100 mode con lines=30 title Animal Game md "%USERPROFILE%\Documents\Animallog" setlocal ENABLEDELAYEDEXPANSION goto nlop

:nlop color 07 title Animal game cls echo. echo. echo: 1- New game echo: 2- Load game choice /c 12 >> nul if %errorlevel%==1 goto start if %errorlevel%==2 goto loadgame goto nlop

:start color 79 cls echo. echo. set /p a=. Name: goto aop

:aop set umm=1 cls echo. echo. echo: 1) Eagle echo: 2) Panther echo: 3) Wolf echo: 4) Giant snake echo: 5) Penguin choice /c 12345 >> nul if %errorlevel%==1 goto eagle if %errorlevel%==2 goto panther if %errorlevel%==3 goto wolf if %errorlevel%==4 goto snake if %errorlevel%==5 goto penguin

:wat cls echo. echo. set /p b=. Animal Name: goto wat1

:wat1 cls setlocal ENABLEDELAYEDEXPANSION set focus=2 set money=0 set lvl=1 set /a animallvl=%lvl% + 3 set /a at1=%animallvl% * 2 set /a at2=%animallvl% * 2 set /a animalhp=%animallvl% * 5 set prize1=0 set /a umm+=1 if %umm%==3 goto cityop goto wat1

:cityop color 79 title City cls echo. echo. echo: 1) Home echo: 2) Battle echo: 3) Tournament echo: 4) Upgrade your animal echo: 5) Save game choice /c 12345 >> nul if %errorlevel%==1 goto home if %errorlevel%==2 goto load1 if %errorlevel%==3 goto load2 if %errorlevel%==4 ( set focus=%focus% goto upgrades ) if %errorlevel%==5 goto save

:load1 cls echo. echo. echo: Loding... timeout /t 2 /nobreak >> nul goto battle

:load2 cls echo. echo. echo: Loding... timeout /t 2 /nobreak >> nul goto tournament

:home set /a animallvl=%lvl% + 3 cls echo. echo. echo: %a% echo _______________________________________ echo: Lvl (%lvl%) echo: Bal (%money%) echo: Animal (%b% the %c%) echo: Animallvl (%animallvl%) pause >> nul goto cityop

:battle set /a r=%random% %%!20 +0 if '%r%' == '0' ( set wild=dob set wildlvl=2 goto battle1 ) if '%r%' == '1' ( set wild=Bob set wildlvl=3 goto battle1 ) if '%r%' == '2' ( set wild=slob set wildlvl=3 goto battle1 ) if '%r%' == '3' ( set wild=blob set wildlvl=4 goto battle1 ) if '%r%' == '4' ( set wild=BURP set wildlvl=5 goto battle1 ) if '%r%' == '5' ( set wild=wo ho set wildlvl=20 goto battle1 ) if '%r%' == '6' ( set wild=fluffy set wildlvl=50 goto battle1 ) if '%r%' == '7' ( set wild=snoopy set wildlvl=4 goto battle1 ) if '%r%' == '8' ( set wild=noodle set wildlvl=3 goto battle1 ) if '%r%' == '9' ( set wild=MiKaChU set wildlvl=%random% goto battle1 ) if '%r%' == '10' ( set wild=donut set wildlvl=7 goto battle1 ) if '%r%' == '11' ( set wild=ploopy set wildlvl=7 goto battle1 ) if '%r%' == '12' ( set wild=lody set wildlvl=6 goto battle1 ) if '%r%' == '13' ( set wild=apple set wildlvl=0.1 goto battle1 ) if '%r%' == '14' ( set wild=^^POODY^^ set wildlvl=%random% goto battle1 ) if '%r%' == '15' ( set wild=hubble*bubble set wildlvl=19 goto battle1 ) if '%r%' == '16' ( set wild=holy cow set wildlvl=30 goto battle1 ) if '%r%' == '17' ( set wild=moody set wildlvl=1 goto battle1 ) if '%r%' == '18' ( set wild=Cotton_CaNdY set wildlvl=3000 goto battle1 ) goto battle

:battle1 set /a wildhp=%wildlvl% * 5 set /a wildat=%wildlvl% * 2 set /a focus=%focus% set /a wildat=%wildlvl% * 2 set /a animalhp=%animallvl% * 5 goto battle2

:battle2 if %wildhp% lss 0 goto win if %animalhp% lss 0 goto loose set /a at2=%animallvl% * %focus% cls echo \---------------------------------------------------\ echo \ %wildhp% %wild% %wildlvl% \ echo \---------------------------------------------------\ echo. echo. echo. echo \---------------------------------------------------\ echo \ %animalhp% %b% %animallvl% \ echo \---------------------------------------------------\ echo: 1) %at1n% echo: 2) %at2n% echo: 3) [RUN] choice /c 123 >> nul if %errorlevel%==1 goto bat1 if %errorlevel%==2 goto bat2 if %errorlevel%==3 goto cityop

:bat1 cls set /a animallvl=%lvl% + 3 set /a wildhp-=%at1% set /a animalhp-=%wildat% goto battle2

:bat2 cls set /a animallvl=%lvl% + 3 set /a wildhp-=%at2% set /a animalhp-=%wildat% goto battle2

:win set /a lvl=%lvl% + %wildlvl% /3 set /a animalhp=%animallvl% * 5 set /a wildhp=%wildlvl% * 5 set /a money+=%wildlvl% * 3 cls echo. echo. echo: You win! echo. pause >> nul goto cityop

:loose set /a animalhp=%animallvl% * 5 set /a wildhp=%wildlvl% * 5 cls echo. echo. echo: You loose! pause >> nul goto cityop

:eagle set c=eagle set at1n=swoop set at2n=screech set lvl=1 set /a at1=%animallvl% * 2 set /a at2=%animallvl% * 2 set /a animalhp=%animallvl% * 5 goto wat

:panther set c=panther set at1n=pounce set at2n=claw set lvl=1 set /a at1=%animallvl% * 2 set /a at2=%animallvl% * 2 set /a animalhp=%animallvl% * 5 goto wat

:wolf set c=wolf set at1n=howl set at2n=bite set lvl=1 set /a at1=%animallvl% * 2 set /a at2=%animallvl% * 2 set /a animalhp=%animallvl% * 5 goto wat

:snake set c=snake set at1n=fangs set at2n=venom set lvl=1 set /a at1=%animallvl% * 2 set /a at2=%animallvl% * 2 set /a animalhp=%animallvl% * 5 goto wat

:penguin set c=penguin set at1n=fliper set at2n=ice_slide set lvl=1 set /a at1=%animallvl% * 2 set /a at2=%animallvl% * 2 set /a animalhp=%animallvl% * 5 goto wat

:baby set c=baby set at1n=wine set at2n=cry set lvl=10000000 set /a at1=%animallvl% * 10 set /a at2=%animallvl% * 10 set /a animalhp=%animallvl% * 5 goto wat

:fox set c=fox set at1n=sneak set at2n=burrow set lvl=3 set /a at1=%animallvl% * 3 set /a at2=%animallvl% * 3 set /a animalhp=%animallvl% * 5 goto wat :boo set c=boo set lvl=10000000 set at1n=boo set at2n=hoo set /a at1=%animallvl% * 2 set /a at2=%animallvl% * 2 set /a animalhp=%animallvl% * 5 goto wat :upgrades cls if %money% geq 100 goto up1 if %money% lss 100 goto notmoney :notmoney cls echo. echo. echo: Not enough m0ney pause >> nul goto cityop

:goodtogo cls echo. echo. echo: Thank you for coming! pause >> nul goto cityop

:up1 Title Upgrade store color 3a cls echo. echo. echo: 1) Upgrade %at1n% echo: 2) Upgrade %at2n% echo: 3) Leave choice /c 123 >> nul if %errorlevel%==1 goto upop if %errorlevel%==2 goto up2op if %errorlevel%==3 goto cityop

:upop if %c%==eagle goto upa if %c%==panther goto upb if %c%==wolf goto upc if %c%==snake goto upd if %c%==penguin goto upe if %c%==fox goto upf

:up2op if %c%==eagle goto upa2 if %c%==panther goto upb2 if %c%==wolf goto upc2 if %c%==snake goto upd2 if %c%==penguin goto upe2 if %c%==fox goto upf2

:upa set at1n=floop set /a focus=%focus% * 2 set /a at1=%animallvl% * %focus% set /a money-=100 goto goodtogo

:upb set at1n=furry_leap set /a focus=%focus% * 2 set /a at1=%animallvl% * %focus% set /a money-=100 goto goodtogo

:upc set at1n=moon_howl set /a focus=%focus% * 2 set /a at1=%animallvl% * %focus% set /a money-=100 goto goodtogo

:upd set at1n=constrict set /a focus=%focus% * 2 set /a at1=%animallvl% * %focus% set /a money-=100 goto goodtogo

:upe set at1n=waddle set /a focus=%focus% * 2 set /a at1=%animallvl% * %focus% set /a money-=100 goto goodtogo

:upf set at1n=stealth set /a focus=%focus% * 2 set /a at1=%animallvl% * %focus% set /a money-=100 goto goodtogo

:upa2 set at2n=sonic_screech set /a focus=%focus% * 2 set /a at2=%animallvl% * %focus% set /a money-=100 goto goodtogo

:upb2 set at2n=jungle_scratch set /a focus=%focus% * 2 set /a at2=%animallvl% * %focus% set /a money-=100 goto goodtogo

:upc2 set at2n=moon_claws set /a focus=%focus% * 2 set /a at2=%animallvl% * %focus% set /a money-=100 goto goodtogo

:upd2 set at2n=paralyze set /a focus=%focus% * 2 set /a at2=%animallvl% * %focus% set /a money-=100 goto goodtogo

:upe2 set at2n=glacier set /a focus=%focus% * 2 set /a at2=%animallvl% * %focus% set /a money-=100 goto goodtogo

:upf2 set at2n=callbabyfoxes set /a focus=%focus% * 2 set /a at2=%animallvl% * %focus% set /a money-=100 goto goodtogo :twin set /a lvl+=(%tlvl% / 3) set /a animalhp=%animallvl% * 5 set /a thp=%tlvl% * 5 set /a money+=%tlvl% * 3 set /a prize1=%prize1% + 1 cls echo. echo. echo: You win! pause >> nul goto cityop

:tournament set /a testat=%tlvl% * 2 set /a thp=%tlvl% * 5 goto turnop :turnop if %prize1%==0 goto d1 if %prize1%==1 goto d2 if %prize1%==2 goto d3 if %prize1%==3 goto d4 if %prize1%==4 goto d5 if %prize1%==5 goto d6 if %prize1%==6 goto d7 if %prize1%==7 goto d8 if %prize1%==8 goto d9 if %prize1%==9 goto d10 if %prize1% gtr 9 goto d11

:d1 set door=test1 set t1=Stormy the hawk set tlvl=23 set /a testat=%tlvl% * 2 set /a thp=%tlvl% * 5 set /a animalhp=%animallvl% * 5 goto test1

:d2 set door=test2 set t2=Zink the leapord set tlvl=34 set /a testat=%tlvl% * 2 set /a thp=%tlvl% * 5 set /a animalhp=%animallvl% * 5 goto test2

:d3 set door=test3 set t3=Boty the coyote set tlvl=45 set /a testat=%tlvl% * 2 set /a thp=%tlvl% * 5 set /a animalhp=%animallvl% * 5 goto test3

:d4 set door=test4 set t4=Borse the polorbear set tlvl=57 set /a testat=%tlvl% * 2 set /a thp=%tlvl% * 5 set /a animalhp=%animallvl% * 5 goto test4

:d5 set door=test5 set t5=Snoorp the gecko set tlvl=78 set /a testat=%tlvl% * 2 set /a thp=%tlvl% * 5 set /a animalhp=%animallvl% * 5 goto test5

:d6 set door=test6 set t6=Daphy the dolphin set tlvl=93 set /a testat=%tlvl% * 2 set /a thp=%tlvl% * 5 set /a animalhp=%animallvl% * 5 goto test6

:d7 set door=test7 set t7=Goomba the octapus set tlvl=80 set /a testat=%tlvl% * 2 set /a thp=%tlvl% * 5 set /a animalhp=%animallvl% * 5 goto test7

:d8 set door=test8 set t8=Haly the giraff set tlvl=130 set /a testat=%tlvl% * 2 set /a thp=%tlvl% * 5 set /a animalhp=%animallvl% * 5 goto test8

:d9 set door=test9 set t9=Lady the ladybug set tlvl=300 set /a testat=%tlvl% * 2 set /a thp=%tlvl% * 5 set /a animalhp=%animallvl% * 5 goto test9

:d10 set door=test10 set t10=Germy the germ set tlvl=666 set /a testat=%tlvl% * 2 set /a thp=%tlvl% * 5 set /a animalhp=%animallvl% * 5 goto test10

:d11 set door=test10 set t10=Poody the poodian set /a tlvl=%random% * 10 set /a testat=%tlvl% * 2 set /a thp=%tlvl% * 5 set /a animalhp=%animallvl% * 5 goto test10

:test1 if %thp% lss 0 goto twin if %animalhp% lss 0 goto loose set focus=%focus% set lvl=%lvl% set /a animallvl=(%lvl% + 3) set at1=%at1% set at2=%at2% cls echo \---------------------------------------------------\ echo \ %thp% %t1% %tlvl% \ echo \---------------------------------------------------\ echo. echo. echo. echo \---------------------------------------------------\ echo \ %animalhp% %b% %animallvl% \ echo \---------------------------------------------------\ echo: 1) %at1n% echo: 2) %at2n% echo: 3) [RUN] choice /c 123 >> nul if %errorlevel%==1 goto tat1 if %errorlevel%==2 goto tat2 if %errorlevel%==3 goto cityop goto test1

:test2 if %thp% lss 0 goto twin if %animalhp% lss 0 goto loose set focus=%focus% set lvl=%lvl% set /a animallvl=(%lvl% + 3) set at1=%at1% set at2=%at2% cls echo \---------------------------------------------------\ echo \ %thp% %t2% %tlvl% \ echo \---------------------------------------------------\ echo. echo. echo. echo \---------------------------------------------------\ echo \ %animalhp% %b% %animallvl% \ echo \---------------------------------------------------\ echo: 1) %at1n% echo: 2) %at2n% echo: 3) [RUN] choice /c 123 >> nul if %errorlevel%==1 goto tat1 if %errorlevel%==2 goto tat2 if %errorlevel%==3 goto cityop goto test2

:test3 if %thp% lss 0 goto twin if %animalhp% lss 0 goto loose set focus=%focus% set lvl=%lvl% set /a animallvl=(%lvl% + 3) set at1=%at1% set at2=%at2% cls echo \---------------------------------------------------\ echo \ %thp% %t3% %tlvl% \ echo \---------------------------------------------------\ echo. echo. echo. echo \---------------------------------------------------\ echo \ %animalhp% %b% %animallvl% \ echo \---------------------------------------------------\ echo 1) %at1n% echo 2) %at2n% echo 3) [RUN] choice /c 123 >> nul if %errorlevel%==1 goto tat1 if %errorlevel%==2 goto tat2 if %errorlevel%==3 goto cityop goto test3

:test4 if %thp% lss 0 goto twin if %animalhp% lss 0 goto loose set focus=%focus% set lvl=%lvl% set /a animallvl=(%lvl% + 3) set at1=%at1% set at2=%at2% cls echo \---------------------------------------------------\ echo \ %thp% %t4% %tlvl% \ echo \---------------------------------------------------\ echo. echo. echo. echo \---------------------------------------------------\ echo \ %animalhp% %b% %animallvl% \ echo \---------------------------------------------------\ echo: 1) %at1n% echo: 2) %at2n% echo: 3) [RUN] choice /c 123 >> nul if %errorlevel%==1 goto tat1 if %errorlevel%==2 goto tat2 if %errorlevel%==3 goto cityop goto test4

:test5 if %thp% lss 0 goto twin if %animalhp% lss 0 goto loose set focus=%focus% set lvl=%lvl% set /a animallvl=(%lvl% + 3) set at1=%at1% set at2=%at2% cls echo \---------------------------------------------------\ echo \ %thp% %t5% %tlvl% \ echo \---------------------------------------------------\ echo. echo. echo. echo \---------------------------------------------------\ echo \ %animalhp% %b% %animallvl% \ echo \---------------------------------------------------\ echo: 1) %at1n% echo: 2) %at2n% echo: 3) [RUN] choice /c 123 >> nul if %errorlevel%==1 goto tat1 if %errorlevel%==2 goto tat2 if %errorlevel%==3 goto cityop goto test5

:test6 if %thp% lss 0 goto twin if %animalhp% lss 0 goto loose set focus=%focus% set lvl=%lvl% set /a animallvl=(%lvl% + 3) set at1=%at1% set at2=%at2% cls echo \---------------------------------------------------\ echo \ %thp% %t6% %tlvl% \ echo \---------------------------------------------------\ echo. echo. echo. echo \---------------------------------------------------\ echo \ %animalhp% %b% %animallvl% \ echo \---------------------------------------------------\ echo: 1) %at1n% echo: 2) %at2n% echo: 3) [RUN] choice /c 123 >> nul if %errorlevel%==1 goto tat1 if %errorlevel%==2 goto tat2 if %errorlevel%==3 goto cityop goto test6

:test7 if %thp% lss 0 goto twin if %animalhp% lss 0 goto loose set focus=%focus% set lvl=%lvl% set /a animallvl=(%lvl% + 3) set at1=%at1% set at2=%at2% cls echo \---------------------------------------------------\ echo \ %thp% %t7% %tlvl% \ echo \---------------------------------------------------\ echo. echo. echo. echo \---------------------------------------------------\ echo \ %animalhp% %b% %animallvl% \ echo \---------------------------------------------------\ echo: 1) %at1n% echo: 2) %at2n% echo: 3) [RUN] choice /c 123 >> nul if %errorlevel%==1 goto tat1 if %errorlevel%==2 goto tat2 if %errorlevel%==3 goto cityop goto test7

:test8 if %thp% lss 0 goto twin if %animalhp% lss 0 goto loose set focus=%focus% set lvl=%lvl% set /a animallvl=(%lvl% + 3) set at1=%at1% set at2=%at2% cls echo \---------------------------------------------------\ echo \ %thp% %t8% %tlvl% \ echo \---------------------------------------------------\ echo. echo. echo. echo \---------------------------------------------------\ echo \ %animalhp% %b% %animallvl% \ echo \---------------------------------------------------\ echo: 1) %at1n% echo: 2) %at2n% echo: 3) [RUN] choice /c 123 >> nul if %errorlevel%==1 goto tat1 if %errorlevel%==2 goto tat2 if %errorlevel%==3 goto cityop goto test8

:test9 if %thp% lss 0 goto twin if %animalhp% lss 0 goto loose set focus=%focus% set lvl=%lvl% set /a animallvl=(%lvl% + 3) set at1=%at1% set at2=%at2% cls echo \---------------------------------------------------\ echo \ %thp% %t9% %tlvl% \ echo \---------------------------------------------------\ echo. echo. echo. echo \---------------------------------------------------\ echo \ %animalhp% %b% %animallvl% \ echo \---------------------------------------------------\ echo: 1) %at1n% echo: 2) %at2n% echo: 3) [RUN] choice /c 123 >> nul if %errorlevel%==1 goto tat1 if %errorlevel%==2 goto tat2 if %errorlevel%==3 goto cityop goto test9

:test10 if %thp% lss 0 goto twin if %animalhp% lss 0 goto loose set focus=%focus% set lvl=%lvl% set /a animallvl=(%lvl% + 3) set at1=%at1% set at2=%at2% cls echo \---------------------------------------------------\ echo \ %thp% %t10% %tlvl% \ echo \---------------------------------------------------\ echo. echo. echo. echo \---------------------------------------------------\ echo \ %animalhp% %b% %animallvl% \ echo \---------------------------------------------------\ echo: 1) %at1n% echo: 2) %at2n% echo: 3) [RUN] choice /c 123 >> nul if %errorlevel%==1 goto tat1 if %errorlevel%==2 goto tat2 if %errorlevel%==3 goto cityop goto test10

:tat1 set /a thp-=%at1% set /a animalhp-=%testat% goto %door% :tat2 set /a thp-=%at2% set /a animalhp-=%testat% goto %door%

:save color 0f title Save @echo echo off >> "%USERPROFILE%\Documents\Animallog\%a%.cmd" echo set a=%a% >> "%USERPROFILE%\Documents\Animallog\%a%.cmd" echo set c=%c% >> "%USERPROFILE%\Documents\Animallog\%a%.cmd" echo set b=%b% >> "%USERPROFILE%\Documents\Animallog\%a%.cmd" echo set money=%money% >> "%USERPROFILE%\Documents\Animallog\%a%.cmd" echo set lvl=%lvl% >> "%USERPROFILE%\Documents\Animallog\%a%.cmd" echo set animallvl=%animallvl% >> "%USERPROFILE%\Documents\Animallog\%a%.cmd" echo set prize1=%prize1% >> "%USERPROFILE%\Documents\Animallog\%a%.cmd" echo set animalhp=%animalhp% >> "%USERPROFILE%\Documents\Animallog\%a%.cmd" echo set at1n=%at1n% >> "%USERPROFILE%\Documents\Animallog\%a%.cmd" echo set at2n=%at2n% >> "%USERPROFILE%\Documents\Animallog\%a%.cmd" echo set at1=%at1% >> "%USERPROFILE%\Documents\Animallog\%a%.cmd" echo set at2=%at2% >> "%USERPROFILE%\Documents\Animallog\%a%.cmd" cls echo. echo. echo: _________________ echo: Saving game... echo: _________________ timeout /t 3 /nobreak >> nul goto cityop

:loadgame title Load game color 0f cls echo. echo. echo: What was you name in your game before? echo. set /p lname=Name: if exist "%USERPROFILE%\Documents\Animallog\%lname%.cmd" ( call "%USERPROFILE%\Documents\Animallog\%lname%.cmd" color 0b cls echo. echo. echo: Welcome back %lname% timeout /t 3 /nobreak >> nul goto cityop ) if not exist "%USERPROFILE%\Documents\Animallog\%lname%.cmd" ( color 0c cls echo. echo. echo: The username %lname% was not found. timeout /t 4 /nobreak >> nul goto nlop ) goto nlop