CheikoAsami

Swordsmen RPG Batch Game Updated 4:27 PM 6/21/21

Jun 19th, 2021 (edited)
381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 38.07 KB | None | 0 0
  1. title Tale of A Swordsmen
  2. color 0e
  3. @echo off
  4.  
  5. :menu
  6. cls
  7. mode con COLS=38 LINES=26
  8. echo ---------------------------------
  9. echo          Start your tale
  10. echo ---------------------------------
  11. echo  1) New Game
  12. echo  2) Load Game
  13. echo  3) Exit Game
  14. echo ----------------------------------
  15. choice /c 123 /n >nul
  16. if %ERRORLEVEL%==1 call :VARS
  17. if %ERRORLEVEL%==2 (
  18.    call :LOAD
  19.    goto HOME
  20.    )
  21. if %ERRORLEVEL%==3 exit
  22. goto menu
  23.  
  24.  
  25.  
  26. :LVLUP
  27. set /a LVL+=1
  28. set EXP=0
  29. set /a EXPM= %EXPM% * 120 / 100
  30. if %EXPM% GEQ 70000 set EXPM=70000
  31. set /a STMM+=50
  32. set /a HPM+=125+(%LVL% * 2)
  33. set /a HPOTM+=5
  34. set /a SPOTM+=5
  35. set /a SHPOTM+=5
  36. goto:eof
  37.  
  38. rem --------------------------------------------------------------------------------- Tavern where you interact with the rest of the game
  39.  
  40. :HOME
  41. mode con COLS=55 LINES=26
  42. if %EXP% GEQ %EXPM% call :LVLUP
  43. if %SMKB% GEQ 2 set SMKB=2
  44. set HPD=2
  45. set /a HPD=2+%STR%
  46. set /a STMD=4+%LVL%
  47. if %HP% LSS 1 set /a HP=0
  48. if %HPOT% LSS 1 (
  49.  set MSG2=Buy some Health Potions!
  50. )
  51. if %HPOT% GEQ 1 (
  52.  set MSG2=
  53. )
  54. if %HPOT% LSS 1 set HPOT=0
  55. if %SPOT% LSS 1 set SPOT=0
  56. if %SHPOT% LSS 1 set SHPOT=0
  57. if %HP% GEQ %HPM% set /a HP=%HPM%
  58. if %STM% GEQ %STMM% set /a STM=%STMM%
  59. if %COIN% LSS 1 set COIN=0
  60. call :WEPSET
  61. call :ARMSET
  62. cls
  63. echo 1) Go To Store    2) Fight!    
  64. echo 3) Options        4) Exit
  65. if %LVL% GEQ 30 echo 5) Royal Smith
  66. echo 6) To Rest Up
  67. echo --------------------------------
  68. echo           %name%
  69. echo  Level:%LVL%
  70. echo  Experience:%EXP%/%EXPM%
  71. echo  Health:%HP%/%HPM%  
  72. echo  Stamina:%STM%/%STMM%
  73. echo  Weapon:%WEPD%
  74. echo  Strength:%STR%
  75. echo  Armour:%ARMD%
  76. echo  Defence:%DEF%
  77. echo  Coin:%COIN%
  78. echo  Health Potions:%HPOT%/%HPOTM% %MSG2%
  79. echo  Stamina Potions:%SPOT%/%SPOTM%
  80. echo  Smoke Bombs:%SMKB%/2
  81. if %SHPOT% GTR 0 echo  S Health Potions:%SHPOT%/%SHPOTM%
  82. if %CRYT% GTR 0 echo  Crystal Teeth:%CRYT% Eat to Level (C)
  83. echo  Total Kills:%KILLS%
  84. echo --------------------------------
  85. echo Message:%MSG%:%MSG3%:
  86. choice /d 6 /t 2 /c 123456c /n >nul
  87. set MSG=
  88. if %ERRORLEVEL%==1 goto STORE
  89. if %ERRORLEVEL%==2 goto FIGHT1
  90. if %ERRORLEVEL%==3 goto OPTIONS
  91. if %ERRORLEVEL%==4 exit
  92. if %ERRORLEVEL%==5 (
  93.    if %LVL% LSS 30 set MSG3=Not High Enough Level!
  94.    if %LVL% LSS 30 goto HOME
  95.    goto ROYALSMITH
  96. )
  97. set /a HP+=%HPD%
  98. set /a STM+=%STMD%
  99. if %ERRORLEVEL%==6 (
  100.   set MSG=Regenerating +%HPD% HP and +%STMD% Stamina
  101.   set MSG3=
  102.   )
  103. if %ERRORLEVEL%==7 (
  104.  set /a CRYT-=1
  105.  call :LVLUP
  106. )
  107. goto HOME
  108.  
  109. rem Options Menu
  110.  
  111. :OPTIONS
  112. cls
  113. mode con COLS=35 LINES=24
  114. echo        %name%
  115. echo ----------------------
  116. echo        Options
  117. echo ----------------------
  118. echo Kills:%KILLS% Coin:%COIN%
  119. echo Level:%LVL%
  120. if %CRYT% GTR 0 echo     Crystal Teeth:%CRYT%
  121. echo ----------------------
  122. echo 1) Return
  123. echo 2) New Game
  124. echo 3) Save Game
  125. echo 4) Load Game
  126. echo 5) Change Name
  127. echo 6) Exit
  128. echo 7) Set Kills
  129. echo 8) Set Coin
  130. echo 9) Set Teeth
  131. echo 0) Level Up
  132. echo ----------------------
  133. echo Message:%MSG%:
  134. choice /c 1234567890 /n >nul
  135. if %ERRORLEVEL%==1 goto HOME
  136. if %ERRORLEVEL%==2 goto VARS
  137. if %ERRORLEVEL%==3 call :SAVE
  138. if %ERRORLEVEL%==4 (
  139.    call :LOAD
  140.    set MSG=Progress Loaded...
  141. )
  142. if %ERRORLEVEL%==5 (
  143.    set /p name=Change your name to something else:
  144. )
  145. if %ERRORLEVEL%==6 exit
  146. if %ERRORLEVEL%==7 (
  147.    set /p KILLS=For Debug Set Kills:
  148. )
  149. if %ERRORLEVEL%==8 (
  150.    set /p COIN=For Debug Set Coin:
  151. )
  152. if %ERRORLEVEL%==9 (
  153.    set /p CRYT=For Debug Set Teeth:
  154. )
  155. if %ERRORLEVEL%==10 call :LVLUP
  156.    
  157. goto OPTIONS
  158.  
  159. rem Character Sets
  160.  
  161. :CHARSET
  162. if %CHAR% == 1 set CHARD=Highlander
  163. if %CHAR% == 1 set CHARB=20
  164. if %CHAR% == 1 set CHARDM=6
  165. if %CHAR% == 2 set CHARD=Lowlander
  166. if %CHAR% == 2 set CHARB=10
  167. if %CHAR% == 2 set CHARDM=5
  168. if %CHAR% == 3 set CHARD=Darklander
  169. if %CHAR% == 3 set CHARB=35
  170. if %CHAR% == 3 set CHARDM=8
  171. if %CHAR% == 4 set CHARD=Deadlander
  172. if %CHAR% == 4 set CHARB=40
  173. if %CHAR% == 4 set CHARDM=9
  174. if %CHAR% == 5 set CHARD=Bandit
  175. if %CHAR% == 5 set CHARB=25
  176. if %CHAR% == 5 set CHARDM=8
  177. if %CHAR% == 6 set CHARD=Rogue Axe Man
  178. if %CHAR% == 6 set CHARB=30
  179. if %CHAR% == 6 set CHARDM=7
  180. if %CHAR% == 7 set CHARD=Rogue Spear Man
  181. if %CHAR% == 7 set CHARB=35
  182. if %CHAR% == 7 set CHARDM=7
  183. if %CHAR% == 8 set CHARD=Troll
  184. if %CHAR% == 8 set CHARB=200
  185. if %CHAR% == 8 set CHARDM=12
  186. if %CHAR% == 9 set CHARD=Cave Troll
  187. if %CHAR% == 9 set CHARB=250
  188. if %CHAR% == 9 set CHARDM=14
  189. if %CHAR% == 10 set CHARD=Mountain Troll
  190. if %CHAR% == 10 set CHARB=325
  191. if %CHAR% == 10 set CHARDM=16
  192. if %CHAR% == 11 set CHARD=Rogue Bladesmen
  193. if %CHAR% == 11 set CHARB=65
  194. if %CHAR% == 11 set CHARDM=8
  195. if %CHAR% == 12 set CHARD=Giant
  196. if %CHAR% == 12 set CHARB=400
  197. if %CHAR% == 12 set CHARDM=20
  198. if %CHAR% == 13 set CHARD=Mountain Giant
  199. if %CHAR% == 13 set CHARB=650
  200. if %CHAR% == 13 set CHARDM=25
  201. if %CHAR% == 14 set CHARD=Wild Wolf
  202. if %CHAR% == 14 set CHARB=5
  203. if %CHAR% == 14 set CHARDM=5
  204. if %CHAR% == 15 set CHARD=Assassin
  205. if %CHAR% == 15 set CHARB=100
  206. if %CHAR% == 15 set CHARDM=15
  207. if %CHAR% == 16 set CHARD=Wild Boar
  208. if %CHAR% == 16 set CHARB=30
  209. if %CHAR% == 16 set CHARDM=4
  210. if %CHAR% == 17 set CHARD=Challenger
  211. if %CHAR% == 17 set CHARB=%HPM%
  212. if %CHAR% == 17 set CHARDM=%STR%
  213. if %CHAR% == 18 set CHARD=Feral Dragon
  214. if %CHAR% == 18 set CHARB=1250
  215. if %CHAR% == 18 set CHARDM=30
  216. if %CHAR% == 19 set CHARD=Evil Summon!
  217. if %CHAR% == 19 set CHARB=1150
  218. if %CHAR% == 19 set CHARDM=35
  219. if %CHAR% == 20 set CHARD=Rogue Horsemen
  220. if %CHAR% == 20 set CHARB=155
  221. if %CHAR% == 20 set CHARDM=10
  222. if %CHAR% == 21 set CHARD=Thief
  223. if %CHAR% == 21 set CHARB=5
  224. if %CHAR% == 21 set CHARDM=3
  225. if %CHAR% == 22 set CHARD=Lesser Highlander
  226. if %CHAR% == 22 set CHARB=5
  227. if %CHAR% == 22 set CHARDM=3
  228. if %CHAR% == 23 set CHARD=Lesser Darklander
  229. if %CHAR% == 23 set CHARB=5
  230. if %CHAR% == 23 set CHARDM=4
  231. if %CHAR% == 24 set CHARD=Lesser Lowlander
  232. if %CHAR% == 24 set CHARB=2
  233. if %CHAR% == 24 set CHARDM=2
  234. if %CHAR% == 25 set CHARD=Lesser Deadlander
  235. if %CHAR% == 25 set CHARB=20
  236. if %CHAR% == 25 set CHARDM=4
  237. if %CHAR% == 26 set CHARD=Lesser Bandit
  238. if %CHAR% == 26 set CHARB=10
  239. if %CHAR% == 26 set CHARDM=4
  240. goto:eof
  241.  
  242. :HARDCHARSET
  243. if %CHAR% == 27 set CHARD=Demon of Voices
  244. if %CHAR% == 27 set CHARB=3565
  245. if %CHAR% == 27 set CHARDM=50
  246. if %CHAR% == 28 set CHARD=Grand Oathsmen
  247. if %CHAR% == 28 set CHARB=2451
  248. if %CHAR% == 28 set CHARDM=24
  249. if %CHAR% == 29 set CHARD=Master Bladesmen
  250. if %CHAR% == 29 set CHARB=4231
  251. if %CHAR% == 29 set CHARDM=34
  252. if %CHAR% == 30 set CHARD=Summoner of Evil
  253. if %CHAR% == 30 set CHARB=3142
  254. if %CHAR% == 30 set CHARDM=51
  255. if %CHAR% == 31 set CHARD=Empty Armour of Hate
  256. if %CHAR% == 31 set CHARB=1243
  257. if %CHAR% == 31 set CHARDM=34
  258. if %CHAR% == 32 set CHARD=Banished God
  259. if %CHAR% == 32 set CHARB=5425
  260. if %CHAR% == 32 set CHARDM=55
  261. if %CHAR% == 33 set CHARD=Demon of Pain
  262. if %CHAR% == 33 set CHARB=6154
  263. if %CHAR% == 33 set CHARDM=60
  264. if %CHAR% == 34 set CHARD=Cursed King's Guard
  265. if %CHAR% == 34 set CHARB=2975
  266. if %CHAR% == 34 set CHARDM=25
  267. if %CHAR% == 35 set CHARD=Cursed King
  268. if %CHAR% == 35 set CHARB=6135
  269. if %CHAR% == 35 set CHARDM=45
  270. if %CHAR% == 36 set CHARD=Banished Royal Knight
  271. if %CHAR% == 36 set CHARB=2125
  272. if %CHAR% == 36 set CHARDM=22
  273. if %CHAR% == 37 set CHARD=Enraged Beserker
  274. if %CHAR% == 37 set CHARB=1407
  275. if %CHAR% == 37 set CHARDM=34
  276. if %CHAR% == 38 set CHARD=Lunatic King
  277. if %CHAR% == 38 set CHARB=4204
  278. if %CHAR% == 38 set CHARDM=24
  279. if %CHAR% == 39 set CHARD=Lunatic King's Guard
  280. if %CHAR% == 39 set CHARB=2546
  281. if %CHAR% == 39 set CHARDM=23
  282. if %CHAR% == 40 set CHARD=Tree Ent of Dark Wood
  283. if %CHAR% == 40 set CHARB=3254
  284. if %CHAR% == 40 set CHARDM=39
  285. if %CHAR% == 41 set CHARD=White Scaled Feral Dragon
  286. if %CHAR% == 41 set CHARB=7253
  287. if %CHAR% == 41 set CHARDM=57
  288. if %CHAR% == 42 set CHARD=Broken Horned Feral Dragon
  289. if %CHAR% == 42 set CHARB=6145
  290. if %CHAR% == 42 set CHARDM=52
  291. if %CHAR% == 43 set CHARD=Dark Royal Knight
  292. if %CHAR% == 43 set CHARB=3125
  293. if %CHAR% == 43 set CHARDM=26
  294. if %CHAR% == 44 set CHARD=Armoured Mountain Troll
  295. if %CHAR% == 44 set CHARB=1554
  296. if %CHAR% == 44 set CHARDM=32
  297. if %CHAR% == 45 set CHARD=Armoured Royal Giant
  298. if %CHAR% == 45 set CHARB=2465
  299. if %CHAR% == 45 set CHARDM=43
  300. if %CHAR% == 46 set CHARD=Armoured Royal Dragon
  301. if %CHAR% == 46 set CHARB=6854
  302. if %CHAR% == 46 set CHARDM=54
  303. if %CHAR% == 47 set CHARD=Minotaur
  304. if %CHAR% == 47 set CHARB=1254
  305. if %CHAR% == 47 set CHARDM=28
  306. if %CHAR% == 48 set CHARD=Giant Centipede
  307. if %CHAR% == 48 set CHARB=1756
  308. if %CHAR% == 48 set CHARDM=28
  309. if %CHAR% == 49 set CHARD=Armoured Minotaur
  310. if %CHAR% == 49 set CHARB=2150
  311. if %CHAR% == 49 set CHARDM=34
  312. if %CHAR% == 50 set CHARD=Feral Minotaur
  313. if %CHAR% == 50 set CHARB=1745
  314. if %CHAR% == 50 set CHARDM=33
  315. if %CHAR% == 51 set CHARD=Bandit Boss
  316. if %CHAR% == 51 set CHARB=2134
  317. if %CHAR% == 51 set CHARDM=20
  318. if %CHAR% == 52 set CHARD=Undead Bladesmen
  319. if %CHAR% == 52 set CHARB=3124
  320. if %CHAR% == 52 set CHARDM=19
  321. goto:eof
  322.  
  323. rem Sets the players opponent to be a random # between 1-52 then calls
  324. rem that # from the data sets above from set descriptors, bonuses, and max dmg output
  325.  
  326. :FIGHT2
  327. set /a CHAR=%random%%%52+1
  328. call :HARDCHARSET
  329. call :CHARSET
  330. set ENHP=150
  331. set /a ENEMYHP=%ENHP%+(%DEF% * 4)+(%STR% * 4)+(%KILLS% * 150 / 100)+(%CHARB%)+(%LVL% * 4)
  332. goto FIGHT
  333.  
  334. :FIGHT1
  335. if %LVL% GTR 25 goto FIGHT2
  336. set /a CHAR=%random%%%26+1
  337. call :CHARSET
  338. set ENHP=100
  339. set /a ENEMYHP=%ENHP%+(%DEF% * 4)+(%STR% * 4)+(%KILLS% * 150 / 100)+(%CHARB%)+(%LVL% * 4)
  340. goto FIGHT
  341.  
  342. rem ----------------------------------------------------------------------------------------------------------------------Fighting Area
  343.  
  344. :FIGHT
  345. mode con COLS=57 LINES=39
  346. call :ENUMSET
  347. call :NUMSET
  348. set /a ENEMYHP=%ENEMYHP%
  349. set /a PNUM=%NUM%+%LVL%
  350. if %SMKB% GEQ 2 set SMKB=2
  351. if %HPOT% GEQ %HPOTM% set /a HPOT=%HPOTM%
  352. if %SPOT% GEQ %SPOTM% set /a SPOT=%SPOTM%
  353. if %SPOT% EQU 0 set MSG4=Out of Stamina Potions!
  354. if %HPOT% EQU 0 set MSG3=Out of Health Potions!
  355. if %SPOT% GTR 0 set MSG4=
  356. if %HPOT% GTR 0 set MSG3=
  357. if %HP% LEQ 40 set MSG5=Low Health!
  358. if %HP% LSS 1 set MSG5=No Health left!
  359. if %HP% GTR 40 set MSG5=
  360. if %STM% LEQ 10 set MSG6=Low Stamina!
  361. if %STM% LSS 1 set MSG6=No Stamina left!
  362. if %STM% GTR 10 set MSG6=
  363. if %EXP% GEQ %EXPM% call :LVLUP
  364. if %HP% GTR %HPM% set HP=%HPM%
  365. if %STM% GTR %STMM% set STM=%STMM%
  366. if %STM% LSS 0 set STM=0
  367. if %STM% LSS 1 set MSG=I'm too Tired to Hit hard!
  368. if %STM% GTR 5 set MSG=
  369. if %HP% LSS 1 call :DEAD
  370. set CHARD=%CHARD%
  371. set PNUM=%PNUM%
  372. set EXPGD=%EXPGD%
  373. cls
  374. echo --------------------------------
  375. echo You come across a %CHARD% HP:%ENEMYHP%:
  376. echo Damage Base From Enemy:%CHARDM%:
  377. echo Damage Guaranteed On Player:%ENUM%:
  378. echo --------------------------------
  379. echo Experience Gained:%EXPGD%
  380. echo Damage Dealt to Enemy:
  381. echo Basic Attack:%NUM%
  382. echo Heavy Strike:%PNUM%
  383. echo --------------------------------
  384. echo Your Stats:
  385. echo %name%
  386. echo Level:%LVL%
  387. echo Experience:%EXP%/%EXPM%
  388. echo Health:%HP%/%HPM% %MSG5% -%ENUM%:Health
  389. echo Stamina:%STM%/%STMM% %MSG6%
  390. echo Health Potions:%HPOT%/%HPOTM% %MSG3%
  391. echo Stamina Potions:%SPOT%/%SPOTM% %MSG4%
  392. if %SMKB% GTR 0 echo Smoke Bombs:%SMKB%/2
  393. if %SHPOT% GTR 0 echo S Health Potions:%SHPOT%
  394. echo Weapon:%WEPD%
  395. echo Strength:%STR%
  396. echo Armour:%ARMD%
  397. echo Defence:%DEF%
  398. echo Kill Count:%KILLS%
  399. if %CRYT% GTR 0 echo Crystal Teeth:%CRYT%
  400. echo --------------------------------
  401. echo Message:%MSG%:
  402. echo --------------------------------
  403. echo 1) Find Opponent
  404. echo E) Attack  (D) Heavy Strike
  405. echo F) Stamina Potion +50
  406. if %CRYT% GTR 0 echo (C) Crystal Magic :Instant Killer:
  407. echo 3) Drink Health Potion +55
  408. if %SHPOT% GTR 0 echo W) Drink S Health Potion +125
  409. echo 4) Flee -25C
  410. if %SMKB% GTR 0 echo Z) Smoke Bomb Escape -0 C
  411. echo 5) Debug Win
  412. echo 6) Debug LVLUP
  413. choice /c 1e345w6dcfz /n >nul
  414. if %ERRORLEVEL%==1 (
  415.    goto FIGHT1
  416.    )
  417. if %ERRORLEVEL%==2 (
  418.    if %ENEMYHP% LSS 1 set ENEMYHP=0
  419.    if %ENEMYHP% LSS 1 goto WIN
  420.    set /a ENUM= %ENUM% - %DEF%
  421.    set /a ENEMYHP= %ENEMYHP% - %NUM%
  422.    set /a HP= %HP% - %ENUM%
  423.    set /a EXP+=1+%KILLS%
  424.    set /a EXPG=1+%KILLS%
  425.    set /a EXPGD=%EXPG%
  426.    goto FIGHT
  427. )
  428. if %ERRORLEVEL%==3 (
  429.    if %HP% EQU %HPM% goto FIGHT
  430.    if %HPOT% LSS 1 goto FIGHT
  431.    if %HPOT% LSS 1 set HPOT=0
  432.    set /a HPOT-=1
  433.    set /a HP+=55
  434.    goto FIGHT
  435.    )
  436. if %ERRORLEVEL%==4 (
  437.    set /a COIN-=25
  438.    goto HOME
  439. )
  440. if %ERRORLEVEL%==5 goto WIN
  441. if %ERRORLEVEL%==6 (
  442.    if %HP% EQU %HPM% goto FIGHT
  443.    if %SHPOT% LSS 1 goto FIGHT
  444.    if %SHPOT% LSS 1 set SHPOT=0
  445.    set /a SHPOT-=1
  446.    set /a HP+=125
  447.    goto FIGHT
  448.    )
  449. if %ERRORLEVEL%==7 call :LVLUP
  450. if %ERRORLEVEL%==8 (
  451.    if %STM% LSS 1 goto FIGHT
  452.    if %ENEMYHP% LSS 1 set ENEMYHP=0
  453.    if %ENEMYHP% LSS 1 goto WIN
  454.    set /a PNUM=%NUM%+%LVL%
  455.    set /a PNUM+=2
  456.    set /a ENUM= %ENUM% - %DEF%
  457.    set /a ENEMYHP= %ENEMYHP% - %PNUM%
  458.    set /a HP= %HP% - %ENUM%
  459.    set /a STM-=5
  460.    set /a EXP+=2+%KILLS%
  461.    set /a EXPG=2+%KILLS%
  462.    set /a EXPGD=%EXPG%
  463.    goto FIGHT
  464. )
  465. if %ERRORLEVEL%==9 (
  466.     set /a ENEMYHP=0
  467.     set /a CRYT-=1
  468.     if %ENEMYHP% LSS 1 set ENEMYHP=0
  469.     if %ENEMYHP% LSS 1 goto WIN
  470.     )
  471. if %ERRORLEVEL%==10 (
  472.     if %STM% EQU %STMM% goto FIGHT
  473.     if %SPOT% LSS 1 goto FIGHT
  474.     set /a SPOT-=1
  475.     set /a STM+=50
  476.     )
  477. if %ERRORLEVEL%==11 (
  478.     if %SMKB% LSS 1 goto FIGHT
  479.     set /a SMKB-=1
  480.     goto HOME
  481.     )
  482. goto FIGHT
  483.  
  484. :NUMSET
  485. set /a NUM=%random%%%200+1
  486. if %NUM% LSS %STR% set /a NUM=%STR%
  487. if %NUM% GTR %STR% set /a NUM=%STR%
  488. goto:eof
  489.  
  490. :ENUMSET
  491. set /a TS=%DEF%+%LVL%
  492. set /a ENUM=%random%%%200+1
  493. set /a CHARDMB=%CHARDM%+(%LVL% * 50 / 100)
  494. if %ENUM% GTR %CHARDM% set /a ENUM=%CHARDM% + (%LVL% * 50 / 100)
  495. if %ENUM% LSS 1 set /a ENUM=0
  496. if %ENUM% GTR %CHARDMB% set /a ENUM=%CHARDM%
  497. goto:eof
  498.  
  499. :WIN
  500. set /a LOOT=%random%%%34+1
  501. call :LOOTSET
  502. set /a COINB=%CHARB%+(%KILLS%)
  503. set LOOTD=%LOOTD%
  504. set /a TOTAL=%COIND%+%COINB%
  505. cls
  506. echo --------------------------------
  507. echo         Defeated The %CHARD%
  508. echo --------------------------------
  509. echo       Looted:%LOOTD%:
  510. echo.
  511. echo       Kill:%COINB%C
  512. echo.
  513. echo       Total:%TOTAL%C
  514. echo.
  515. echo --------------------------------
  516. pause >nul
  517. set TOTAL=
  518. set COINB=%CHARB%+(%KILLS%)
  519. set /a KILLS+=1
  520. set /a COIN+=%COINB%
  521. set /a EXP+=10
  522. set /a EXP+=%CHARDM%
  523. goto FIGHT1
  524.  
  525. rem ------------------------------------------------ Loot sets
  526.  
  527. :LOOTSET
  528. if %LOOT%== 1 set LOOTD=300 Coins
  529. if %LOOT%== 1 set /a COIN+=300
  530. if %LOOT%== 1 set /a COIND=300
  531. if %LOOT%== 2 set LOOTD=Old Materials 75C
  532. if %LOOT%== 2 set /a COIN+=75
  533. if %LOOT%== 2 set /a COIND=75
  534. if %LOOT%== 3 set LOOTD=Scrap Blade 50C
  535. if %LOOT%== 3 set /a COIN+=50
  536. if %LOOT%== 3 set /a COIND=50
  537. if %LOOT%== 4 set LOOTD=Scrap Armour 65C
  538. if %LOOT%== 4 set /a COIN+=65
  539. if %LOOT%== 4 set /a COIND=65
  540. if %LOOT%== 5 set LOOTD=200 Coins
  541. if %LOOT%== 5 set /a COIN+=200
  542. if %LOOT%== 5 set /a COIND=200
  543. if %LOOT%== 6 set LOOTD=Old Wrapped Dagger 25C
  544. if %LOOT%== 6 set /a COIN+=25
  545. if %LOOT%== 6 set /a COIND=25
  546. if %LOOT%== 7 set LOOTD=Stolen Stash! 1000C
  547. if %LOOT%== 7 set /a COIN+=1000
  548. if %LOOT%== 7 set /a COIND=1000
  549. if %LOOT%== 8 set LOOTD=Old Attire 45C
  550. if %LOOT%== 8 set /a COIN+=45
  551. if %LOOT%== 8 set /a COIND=45
  552. if %LOOT%== 9 set LOOTD=Bent Blade 25C
  553. if %LOOT%== 9 set /a COIN+=25
  554. if %LOOT%== 9 set /a COIND=25
  555. if %LOOT%== 10 set LOOTD=Heirloom 85C
  556. if %LOOT%== 10 set /a COIN+=85
  557. if %LOOT%== 10 set /a COIND=85
  558. if %LOOT%== 11 set LOOTD=2 Health Potions
  559. if %LOOT%== 11 set /a HPOT+=2
  560. if %LOOT%== 11 set COIND=
  561. if %LOOT%== 12 set LOOTD=4 Health Potions
  562. if %LOOT%== 12 set /a HPOT+=4
  563. if %LOOT%== 12 set COIND=
  564. if %LOOT%== 13 set LOOTD=6 Health Potions
  565. if %LOOT%== 13 set /a HPOT+=6
  566. if %LOOT%== 13 set COIND=
  567. if %LOOT%== 14 set LOOTD=1 Health Potion
  568. if %LOOT%== 14 set /a HPOT+=1
  569. if %LOOT%== 14 set COIND=
  570. if %LOOT%== 15 set LOOTD=Broken Jewel 100C
  571. if %LOOT%== 15 set /a COIN+=100
  572. if %LOOT%== 15 set /a COIND=100
  573. if %LOOT%== 16 set LOOTD=Rare Gem 175C
  574. if %LOOT%== 16 set /a COIN+=175
  575. if %LOOT%== 16 set /a COIND=175
  576. if %LOOT%== 17 set LOOTD=Shattered Blade 45C
  577. if %LOOT%== 17 set /a COIN+=45
  578. if %LOOT%== 17 set /a COIND=45
  579. if %LOOT%== 18 set LOOTD=Fine Materials 145C
  580. if %LOOT%== 18 set /a COIN+=145
  581. if %LOOT%== 18 set /a COIND=145
  582. if %LOOT%== 19 set LOOTD=Exotic Materials 350C
  583. if %LOOT%== 19 set /a COIN+=350
  584. if %LOOT%== 19 set /a COIND=350
  585. if %LOOT%== 20 set LOOTD=Scrap Material 15C
  586. if %LOOT%== 20 set /a COIN+=15
  587. if %LOOT%== 20 set /a COIND=15
  588. if %LOOT%== 21 set LOOTD=Stolen Safe! 500C
  589. if %LOOT%== 21 set /a COIN+=500
  590. if %LOOT%== 21 set /a COIND=500
  591. if %LOOT%== 22 set LOOTD=Old Blade 65C
  592. if %LOOT%== 22 set /a COIN+=65
  593. if %LOOT%== 22 set /a COIND=65
  594. if %LOOT%== 23 set LOOTD=Crystal Tooth!
  595. if %LOOT%== 23 set /a CRYT+=1
  596. if %LOOT%== 23 set COIND=
  597. if %LOOT%== 24 set LOOTD=Dented Armour 150C
  598. if %LOOT%== 24 set /a COIN+=150
  599. if %LOOT%== 24 set /a COIND=150
  600. if %LOOT%== 25 set LOOTD=2 Crystal Teeth!
  601. if %LOOT%== 25 set /a CRYT+=2
  602. if %LOOT%== 25 set COIND=
  603. if %LOOT%== 26 set LOOTD=Satchel of Old Books 40C
  604. if %LOOT%== 26 set /a COIN+=40
  605. if %LOOT%== 26 set /a COIND=40
  606. if %LOOT%== 27 set LOOTD=1 S Grade Potion!
  607. if %LOOT%== 27 set /a SHPOT+=1
  608. if %LOOT%== 27 set COIND=
  609. if %LOOT%== 28 set LOOTD=Stolen Treasury! 2500C
  610. if %LOOT%== 28 set /a COIN+=2500
  611. if %LOOT%== 28 set /a COIND=2500
  612. if %LOOT%== 29 set LOOTD=Ruined Book 15C
  613. if %LOOT%== 29 set /a COIN+=15
  614. if %LOOT%== 29 set /a COIND=15
  615. if %LOOT%== 30 set LOOTD=Raw Gem 75C
  616. if %LOOT%== 30 set /a COIN+=75
  617. if %LOOT%== 30 set /a COIND=75
  618. if %LOOT%== 31 set LOOTD=1 Stamina Potion!
  619. if %LOOT%== 31 set /a SPOT+=1
  620. if %LOOT%== 31 set COIND=
  621. if %LOOT%== 32 set LOOTD=3 Stamina Potions!
  622. if %LOOT%== 32 set /a SPOT+=3
  623. if %LOOT%== 32 set COIND=
  624. if %LOOT%== 33 set LOOTD=1 Smoke Bomb!
  625. if %LOOT%== 33 set /a SMKB+=1
  626. if %LOOT%== 33 set COIND=
  627. if %LOOT%== 34 set LOOTD=2 Smoke Bombs!
  628. if %LOOT%== 34 set /a SMKB+=2
  629. if %LOOT%== 34 set COIND=
  630. goto:eof
  631.  
  632.  
  633.  
  634. :DEAD
  635. set /a HP+=100
  636. set /a COIN-=100
  637. set MSG= You Died and lost -100 Coins!
  638. goto HOME
  639.  
  640. :ROYALSMITH
  641. if %COIN% LSS 1 set COIN=0
  642. cls
  643. echo --------------------------------
  644. echo          Royal Smith Shop
  645. echo  Q (Armour)          (Weapons) E
  646. echo --------------------------------
  647. echo  Welcome to the Royal Smith Shop
  648. echo        (W) Return (W)
  649. echo    ------------------------
  650. echo   (S) Buy Health Potion (S) 25 C
  651. echo      Health Potions:%HPOT%/%HPOTM%
  652. echo   (D) Buy Stamina Potion (D) 20 C
  653. echo      Stamina Potions:%SPOT%/%SPOTM%
  654. echo Coin:%COIN%:
  655. echo ----------------------------------
  656. echo Buy a Level:%BLVL%  (X)
  657. echo -----------------------------------
  658. echo Unlock more shops as you progress.
  659. echo -----------------------------------
  660. if %LVL% GEQ 65 echo (R) Royal Under Forge
  661. echo -----------------------------------
  662. choice /c qewsrxd /n >nul
  663. if %ERRORLEVEL%==1 goto ROYALSMITH2
  664. if %ERRORLEVEL%==2 goto ROYALSMITH3
  665. if %ERRORLEVEL%==3 goto HOME
  666. if %ERRORLEVEL%==4 (
  667.    if %HPOT% GEQ %HPOTM% goto ROYALSMITH
  668.    if %COIN% LSS 25 goto ROYALSMITH
  669.    set /a HPOT+=1
  670.    set /a COIN-=25
  671.    )
  672. if %ERRORLEVEL%==5 (
  673.    if %LVL% LSS 65 goto ROYALSMITH
  674.    goto ROYALUNDER
  675. )
  676. if %ERRORLEVEL%==6 (
  677.     if %COIN% LSS %BLVL% goto ROYALSMITH
  678.     set /a COIN-=%BLVL%
  679.     set /a LVL+=1
  680.     set /a BLVL=%BLVL% * 120 / 100
  681.     goto ROYALSMITH
  682.     )
  683. if %ERRORLEVEL%==7 (
  684.     if %COIN% LSS 20 goto ROYALSMITH
  685.     if %SPOT% GEQ %SPOTM% goto ROYALSMITH
  686.     set /a COIN-=20
  687.     set /a SPOT+=1
  688.     )
  689.    
  690. goto ROYALSMITH
  691.  
  692. :ROYALSMITH2
  693. call :ARMSET
  694. if %COIN% LSS 1 set COIN=0
  695. cls
  696. echo ---------------------------------
  697. echo Q (Weapons)  Armour  (Royal Smith) E
  698. echo ---------------------------------
  699. echo Coin:%COIN%:  Armour:%ARMD%:
  700. echo ---------------------------------
  701. echo  1) Steel Armour 3425 C
  702. echo.
  703. echo  2) Plated Steel Armour 4235 C
  704. echo.
  705. echo  3) Royal Skysteel Armour 5450 C
  706. echo.
  707. echo  4) Primed Royal Skysteel Armour 7355 C
  708. echo ---------------------------------
  709. choice /c qe1234 /n >nul
  710. if %ERRORLEVEL%==1 goto :ROYALSMITH3
  711. if %ERRORLEVEL%==2 goto :ROYALSMITH
  712. if %ERRORLEVEL%==3 (
  713.    if %COIN% LSS 3425 goto ROYALSMITH2
  714.    set /a COIN-=3425
  715.    set /a HPM=945
  716.    set ARM=5
  717.    goto ROYALSMITH2
  718.    )
  719. if %ERRORLEVEL%==4 (
  720.    if %COIN% LSS 4235 goto ROYALSMITH2
  721.    set /a COIN-=4235
  722.    set ARM=6
  723.    set /a HPM=1145
  724.    goto ROYALSMITH2
  725.    )
  726. if %ERRORLEVEL%==5 (
  727.    if %COIN% LSS 5450 goto ROYALSMITH2
  728.    set /a COIN-=5450
  729.    set ARM=7
  730.    set /a HPM=1425
  731.    goto ROYALSMITH2
  732.    )
  733. if %ERRORLEVEL%==6 (
  734.    if %COIN% LSS 7355 goto ROYALSMITH2
  735.    set /a COIN-=7355
  736.    set ARM=8
  737.    set /a HPM=1765
  738.    goto ROYALSMITH2
  739.    )
  740. goto ROYALSMITH2
  741.  
  742. :ROYALSMITH3
  743. call :WEPSET
  744. if %COIN% LSS 1 set COIN=0
  745. cls
  746. echo ---------------------------------
  747. echo Q (Royal Smith)  Weapons  (Armour) E
  748. echo ---------------------------------
  749. echo Coin:%COIN%: Weapon:%WEPD%:
  750. echo ---------------------------------
  751. echo  1) Scorched Blade 1495 C
  752. echo.
  753. echo  2) Royal Blade 1755 C
  754. echo.
  755. echo  3) Sharpened Royal Blade 2145 C
  756. echo.
  757. echo  4) Hardened Royal Blade 2545 C
  758. echo.
  759. echo  5) Scorched Royal Blade 2950 C
  760. echo -----------------------------------
  761. choice /c qe12345 /n >nul
  762. if %ERRORLEVEL%==1 goto ROYALSMITH
  763. if %ERRORLEVEL%==2 goto ROYALSMITH2
  764. if %ERRORLEVEL%==3 (
  765.   if %COIN% LSS 1495 goto ROYALSMITH3
  766.   set /a COIN-=1495
  767.   set WEP=5
  768.   goto ROYALSMITH3
  769. )
  770. if %ERRORLEVEL%==4 (
  771.   if %COIN% LSS 1755 goto ROYALSMITH3
  772.   set /a COIN-=1755
  773.   set WEP=6
  774.   goto ROYALSMITH3
  775. )
  776. if %ERRORLEVEL%==5 (
  777.   if %COIN% LSS 2145 goto ROYALSMITH3
  778.   set /a COIN-=2145
  779.   set WEP=7
  780.   goto ROYALSMITH3
  781. )
  782. if %ERRORLEVEL%==6 (
  783.   if %COIN% LSS 2545 goto ROYALSMITH3
  784.   set /a COIN-=2545
  785.   set WEP=8
  786.   goto ROYALSMITH3
  787. )
  788. if %ERRORLEVEL%==7 (
  789.   if %COIN% LSS 2950 goto ROYALSMITH3
  790.   set /a COIN-=2950
  791.   set WEP=9
  792.   goto ROYALSMITH3
  793. )
  794.  
  795. goto ROYALSMITH3
  796.  
  797. :ROYALUNDER
  798. if %HPOT% GEQ %HPOTM% set /a HPOT=%HPOTM%
  799. if %SPOT% GEQ %SPOTM% set /a SPOT=%SPOTM%
  800. if %COIN% LSS 1 set COIN=0
  801. cls
  802. echo --------------------------------
  803. echo         Royal Under Forge
  804. echo  Q (Armour)          (Weapons) E
  805. echo --------------------------------
  806. echo          Aye welcome
  807. echo   to the Royal Under Forge
  808. echo  I'm Orva just buy somethin.
  809. echo        (W) Return (W)
  810. echo    ------------------------
  811. echo (S) Buy 2 Health Potion (S) 15 C
  812. echo      Health Potions:%HPOT%/%HPOTM%:
  813. echo (F) Buy 1 S Grade HP Potion (F) 75 C
  814. echo      S Health Potions:%SHPOT%/%SHPOTM%:
  815. echo (C) Buy 2 Stamina Potions (C) 10 C
  816. echo        Stamina Potions:%SPOT%/%SPOTM%:
  817. echo Coin:%COIN%:
  818. echo -----------------------------------
  819. echo Unlock more shops as you progress.
  820. choice /c qewsfc /n >nul
  821. if %ERRORLEVEL%==1 goto ROYALUNDER2
  822. if %ERRORLEVEL%==2 goto ROYALUNDER3
  823. if %ERRORLEVEL%==3 goto HOME
  824. if %ERRORLEVEL%==4 (
  825.    if %HPOT% GEQ %HPOTM% goto ROYALUNDER
  826.    if %COIN% LSS 15 goto ROYALUNDER
  827.    set /a HPOT+=2
  828.    set /a COIN-=15
  829.    goto ROYALUNDER
  830.    )
  831.    if %ERRORLEVEL%==5 (
  832.    if %SHPOT% GEQ %SHPOTM% goto ROYALUNDER
  833.    if %COIN% LSS 75 goto ROYALUNDER
  834.    set /a SHPOT+=1
  835.    set /a COIN-=75
  836.    goto ROYALUNDER
  837.    )
  838.    if %ERRORLEVEL%==6 (
  839.    if %SPOT% GEQ %SPOTM% goto ROYALUNDER
  840.    if %COIN% LSS 10 goto ROYALUNDER
  841.    set /a SPOT+=2
  842.    set /a COIN-=10
  843.    )
  844. goto ROYALUNDER
  845.  
  846. :ROYALUNDER2
  847. call :ARMSET
  848. set MSG=
  849. set MSG2=
  850. if %LVL% GEQ 60 set MSG=Heh check out these special sets of armour, you're pretty tough heh
  851. if %LVL% GEQ 60 set MSG2=(R) Orva's Basic Sets
  852. if %COIN% LSS 1 set COIN=0
  853. cls
  854. echo ---------------------------------
  855. echo Q (Weapons)  Armour  (Royal Under) E
  856. echo ---------------------------------
  857. echo Coin:%COIN%:  Armour:%ARMD%:
  858. echo ---------------------------------
  859. echo  1) Hellsteel Armour 8235 C
  860. echo.
  861. echo  2) Plated Hellsteel Armour 8856 C
  862. echo.
  863. echo  3) Royal Hellsteel Armour 9255 C
  864. echo.
  865. echo  4) Doomsteel Armour 9875 C
  866. echo ---------------------------------
  867. echo :%MSG%:
  868. echo :%MSG2%:
  869. echo ---------------------------------
  870. choice /c qe1234r /n >nul
  871. if %ERRORLEVEL%==1 goto :ROYALUNDER3
  872. if %ERRORLEVEL%==2 goto :ROYALUNDER
  873. if %ERRORLEVEL%==3 (
  874.    if %COIN% LSS 8235 goto ROYALUNDER2
  875.    set /a COIN-=8235
  876.    set /a HPM=1985
  877.    set ARM=9
  878.    goto ROYALUNDER2
  879.    )
  880. if %ERRORLEVEL%==4 (
  881.    if %COIN% LSS 8856 goto ROYALUNDER2
  882.    set /a COIN-=8856
  883.    set ARM=10
  884.    set /a HPM=2195
  885.    goto ROYALUNDER2
  886.    )
  887. if %ERRORLEVEL%==5 (
  888.    if %COIN% LSS 9255 goto ROYALUNDER2
  889.    set /a COIN-=9255
  890.    set ARM=11
  891.    set /a HPM=2655
  892.    goto ROYALUNDER2
  893.    )
  894. if %ERRORLEVEL%==6 (
  895.    if %COIN% LSS 9875 goto ROYALUNDER2
  896.    set /a COIN-=9875
  897.    set ARM=12
  898.    set /a HPM=3125
  899.    goto ROYALUNDER2
  900.    )
  901. if %ERRORLEVEL%==7 (
  902.    if %LVL% LSS 60 goto ROYALUNDER2
  903.    goto ORVASPECIAL
  904. )
  905. goto ROYALUNDER2
  906.  
  907. :ROYALUNDER3
  908. call :WEPSET
  909. if %COIN% LSS 1 set COIN=0
  910. set MSG=
  911. set MSG2=
  912. if %LVL% GEQ 65 set MSG=Aye you're tough take this it'll help heh
  913. if %LVL% GEQ 75 set MSG2=7) Orva's Weapon Sets
  914. cls
  915. echo ---------------------------------
  916. echo Q (Royal Under)  Weapons  (Armour) E
  917. echo ---------------------------------
  918. echo Coin:%COIN%: Weapon:%WEPD%:
  919. echo ---------------------------------
  920. echo  1) Malachite Blade 3255 C
  921. echo.
  922. echo  2) Refined Malachite Blade 3725 C
  923. echo.
  924. echo  3) Gem Edged Malachite Blade 4350 C
  925. echo.
  926. echo  4) Obsidion Blade 4965 C
  927. echo.
  928. echo  5) Reinforced Obsidion Blade 5254 C
  929. echo.
  930. echo Message:%MSG%:
  931. echo ----------------------------------
  932. if %LVL% GEQ 65 echo :6) Orva's Forged Blade  6275 C
  933. echo :%MSG2%
  934. echo -----------------------------------
  935. choice /c qe1234567 /n >nul
  936. if %ERRORLEVEL%==1 goto ROYALUNDER
  937. if %ERRORLEVEL%==2 goto ROYALUNDER2
  938. if %ERRORLEVEL%==3 (
  939.   if %COIN% LSS 3255 goto ROYALUNDER3
  940.   set /a COIN-=3255
  941.   set WEP=10
  942.   goto ROYALUNDER3
  943. )
  944. if %ERRORLEVEL%==4 (
  945.   if %COIN% LSS 3725 goto ROYALUNDER3
  946.   set /a COIN-=3725
  947.   set WEP=11
  948.   goto ROYALUNDER3
  949. )
  950. if %ERRORLEVEL%==5 (
  951.   if %COIN% LSS 4350 goto ROYALUNDER3
  952.   set /a COIN-=4350
  953.   set WEP=12
  954.   goto ROYALUNDER3
  955. )
  956. if %ERRORLEVEL%==6 (
  957.   if %COIN% LSS 4965 goto ROYALUNDER3
  958.   set /a COIN-=4965
  959.   set WEP=13
  960.   goto ROYALUNDER3
  961. )
  962. if %ERRORLEVEL%==7 (
  963.   if %COIN% LSS 5254 goto ROYALUNDER3
  964.   set /a COIN-=5254
  965.   set WEP=14
  966.   goto ROYALUNDER3
  967. )
  968. if %ERRORLEVEL%==8 (
  969.   if %LVL% LSS 65 goto ROYALUNDER3
  970.   if %COIN% LSS 6275 goto ROYALUNDER3
  971.   set /a COIN-=6275
  972.   set WEP=15
  973.   goto ROYALUNDER3
  974. )
  975. if %ERRORLEVEL%==9 (
  976.   if %LVL% LSS 75 goto ROYALUNDER3
  977.   goto ORVASPECIAL2
  978.   )
  979. goto ROYALUNDER3
  980.  
  981. :ORVASPECIAL
  982. call :ARMSET
  983. set MSG=
  984. set MSG2=
  985. if %COIN% LSS 1 set COIN=0
  986. if %LVL% GEQ 90 set MSG=Heh You're getting stronger, check out these very special armour sets hehe.
  987. if %LVL% GEQ 90 set MSG2=5) Orva's Special Armour Sets
  988. cls
  989. echo ---------------------------------
  990. echo         Orva's Basic Sets  
  991. echo ---------------------------------
  992. echo (Q)(W) Return to Underforge (W)(E)
  993. echo ---------------------------------
  994. echo Coin:%COIN%:  Armour:%ARMD%:
  995. echo ---------------------------------
  996. echo  1) Plated Doomsteel Armour 10125 C
  997. echo.
  998. echo  2) Royal Doomsteel Armour 11245 C
  999. echo.
  1000. echo  3) Orva's Blacksteel Armour 12850 C
  1001. echo.
  1002. echo  4) Orva's Purecrest Armour 13450 C
  1003. echo ---------------------------------
  1004. echo :%MSG2%:
  1005. echo :%MSG%:
  1006. echo ---------------------------------
  1007. choice /c qe1234w5 /n >nul
  1008. if %ERRORLEVEL%==1 goto :ROYALUNDER2
  1009. if %ERRORLEVEL%==2 goto :ROYALUNDER2
  1010. if %ERRORLEVEL%==3 (
  1011.    if %COIN% LSS 10125 goto ORVASPECIAL
  1012.    set /a COIN-=10125
  1013.    set /a HPM=3455
  1014.    set ARM=13
  1015.    goto ORVASPECIAL
  1016.    )
  1017. if %ERRORLEVEL%==4 (
  1018.    if %COIN% LSS 11245 goto ORVASPECIAL
  1019.    set /a COIN-=11245
  1020.    set ARM=14
  1021.    set /a HPM=3785
  1022.    goto ORVASPECIAL
  1023.    )
  1024. if %ERRORLEVEL%==5 (
  1025.    if %COIN% LSS 12850 goto ORVASPECIAL
  1026.    set /a COIN-=12850
  1027.    set ARM=15
  1028.    set /a HPM=4125
  1029.    goto ORVASPECIAL
  1030.    )
  1031. if %ERRORLEVEL%==6 (
  1032.    if %COIN% LSS 13450 goto ORVASPECIAL
  1033.    set /a COIN-=13450
  1034.    set ARM=16
  1035.    set /a HPM=4535
  1036.    goto ORVASPECIAL
  1037.    )
  1038. if %ERRORLEVEL%==7 goto ROYALUNDER2
  1039. if %ERRORLEVEL%==8 (
  1040.    if %LVL% LSS 90 goto ORVASPECIAL
  1041.    goto ORVASPECIAL3
  1042. )
  1043.  
  1044. goto ORVASPECIAL
  1045.  
  1046. :ORVASPECIAL2
  1047. call :WEPSET
  1048. if %COIN% LSS 1 set COIN=0
  1049. set MSG=
  1050. cls
  1051. echo ---------------------------------
  1052. echo        Orva's Weapon Sets  
  1053. echo ---------------------------------
  1054. echo   (Q)(W) Return to UnderForge (W)(E)
  1055. echo ---------------------------------
  1056. echo Coin:%COIN%: Weapon:%WEPD%:
  1057. echo ---------------------------------
  1058. echo  1) War Mongers Blade 7025 C
  1059. echo.
  1060. echo  2) Minamoto Blade 7855 C
  1061. echo.
  1062. echo  3) Yoshitsune Blade 8445 C
  1063. echo.
  1064. echo  4) Kamiizumi Blade 9240 C
  1065. echo.
  1066. echo  5) Nobutsuna Blade 10420 C
  1067. echo.
  1068. echo Message:%MSG%:
  1069. echo ----------------------------------
  1070. echo ----------------------------------
  1071. choice /c qe123456w /n >nul
  1072. if %ERRORLEVEL%==1 goto ROYALUNDER3
  1073. if %ERRORLEVEL%==2 goto ROYALUNDER3
  1074. if %ERRORLEVEL%==3 (
  1075.   if %COIN% LSS 7025 goto ORVASPECIAL2
  1076.   set /a COIN-=7025
  1077.   set WEP=16
  1078.   goto ORVASPECIAL2
  1079. )
  1080. if %ERRORLEVEL%==4 (
  1081.   if %COIN% LSS 7855 goto ORVASPECIAL2
  1082.   set /a COIN-=7855
  1083.   set WEP=17
  1084.   goto ORVASPECIAL2
  1085. )
  1086. if %ERRORLEVEL%==5 (
  1087.   if %COIN% LSS 8445 goto ORVASPECIAL2
  1088.   set /a COIN-=8445
  1089.   set WEP=18
  1090.   goto ORVASPECIAL2
  1091. )
  1092. if %ERRORLEVEL%==6 (
  1093.   if %COIN% LSS 9240 goto ORVASPECIAL2
  1094.   set /a COIN-=9240
  1095.   set WEP=19
  1096.   goto ORVASPECIAL2
  1097. )
  1098. if %ERRORLEVEL%==7 (
  1099.   if %COIN% LSS 10420 goto ORVASPECIAL2
  1100.   set /a COIN-=10420
  1101.   set WEP=20
  1102.   goto ORVASPECIAL2
  1103. )
  1104. if %ERRORLEVEL%==8 goto ROYALUNDER3
  1105. goto ROYALUNDER3
  1106.  
  1107. :ORVASPECIAL3
  1108. call :ARMSET
  1109. set MSG=
  1110. set MSG2=
  1111. if %COIN% LSS 1 set COIN=0
  1112. cls
  1113. echo ---------------------------------
  1114. echo         Orva's Armour Sets  
  1115. echo ---------------------------------
  1116. echo (Q)(W) Return to Underforge (W)(E)
  1117. echo ---------------------------------
  1118. echo Coin:%COIN%:  Armour:%ARMD%:
  1119. echo ---------------------------------
  1120. echo  1) War Mongers Armour 15450 C
  1121. echo.
  1122. echo  2) Minamoto's Armour 16535 C
  1123. echo.
  1124. echo  3) Yoshitsune's Armour 17650 C
  1125. echo.
  1126. echo  4) Kamiizumi's Armour 18745 C
  1127. echo.
  1128. echo  5) Nobutsuna's Armour 19656 C
  1129. echo ---------------------------------
  1130. choice /c qe12345w /n >nul
  1131. if %ERRORLEVEL%==1 goto :ORVASPECIAL
  1132. if %ERRORLEVEL%==2 goto :ORVASPECIAL
  1133. if %ERRORLEVEL%==3 (
  1134.    if %COIN% LSS 15450 goto ORVASPECIAL3
  1135.    set /a COIN-=15450
  1136.    set /a HPM=5265
  1137.    set ARM=17
  1138.    goto ORVASPECIAL3
  1139.    )
  1140. if %ERRORLEVEL%==4 (
  1141.    if %COIN% LSS 16535 goto ORVASPECIAL3
  1142.    set /a COIN-=16535
  1143.    set ARM=18
  1144.    set /a HPM=6254
  1145.    goto ORVASPECIAL3
  1146.    )
  1147. if %ERRORLEVEL%==5 (
  1148.    if %COIN% LSS 17650 goto ORVASPECIAL3
  1149.    set /a COIN-=17650
  1150.    set ARM=19
  1151.    set /a HPM=6670
  1152.    goto ORVASPECIAL3
  1153.    )
  1154. if %ERRORLEVEL%==6 (
  1155.    if %COIN% LSS 18745 goto ORVASPECIAL3
  1156.    set /a COIN-=18745
  1157.    set ARM=20
  1158.    set /a HPM=7235
  1159.    goto ORVASPECIAL3
  1160.    )
  1161. if %ERRORLEVEL%==7 (
  1162.    if %COIN% LSS 19656 goto ORVASPECIAL3
  1163.    set /a COIN-=19656
  1164.    set ARM=21
  1165.    set /a HPM=7985
  1166.    goto ORVASPECIAL3
  1167.    )
  1168. if %ERRORLEVEL%==8 goto ORVASPECIAL
  1169.    
  1170.  
  1171. goto ORVASPECIAL
  1172.  
  1173. :STORE
  1174. if %COIN% LSS 1 set COIN=0
  1175. if %SMKB% GEQ 2 set SMKB=2
  1176. if %HPOT% GEQ %HPOTM% set /a HPOT=%HPOTM%
  1177. if %SPOT% GEQ %SPOTM% set /a SPOT=%SPOTM%
  1178. cls
  1179. echo --------------------------------
  1180. echo  Q (Armour) Smith Shop (Weapons) E
  1181. echo --------------------------------
  1182. echo   Welcome to the Smith shop
  1183. echo        (W) Return (W)
  1184. echo    ------------------------
  1185. echo   (S) Buy Health Potion (S) 50 C
  1186. echo      Health Potions:%HPOT%/%HPOTM%
  1187. echo   (F) Buy Stamina Potion (F) 45 C
  1188. echo      Stamina Potions:%SPOT%/%SPOTM%
  1189. if %SMKB% LSS 2 echo   (Z) Buy Smoke Bomb (Z) 5 C
  1190. echo      Smoke Bombs:%SMKB%/2
  1191. echo Coin:%COIN%:
  1192. echo -----------------------------------
  1193. echo Unlock more shops as you progress.
  1194. choice /c qewsfz /n >nul
  1195. if %ERRORLEVEL%==1 goto STORE2
  1196. if %ERRORLEVEL%==2 goto STORE3
  1197. if %ERRORLEVEL%==3 goto HOME
  1198. if %ERRORLEVEL%==4 (
  1199.    if %HPOT% GEQ %HPOTM% goto STORE
  1200.    if %COIN% LSS 50 goto STORE
  1201.    set /a HPOT+=1
  1202.    set /a COIN-=50
  1203.    goto STORE
  1204.    )
  1205. if %ERRORLEVEL%==5 (
  1206.     if %SPOT% GEQ %SPOTM% goto STORE
  1207.     if %COIN% LSS 45 goto STORE
  1208.     set /a SPOT+=1
  1209.     set /a COIN-=45
  1210.     )
  1211. if %ERRORLEVEL%==6 (
  1212.     if %SMKB% GEQ 2 goto STORE
  1213.     if %COIN% LSS 5 goto STORE
  1214.     set /a SMKB+=1
  1215.     set /a COIN-=5
  1216.     )
  1217. goto STORE
  1218.  
  1219. :STORE2
  1220. call :ARMSET
  1221. if %COIN% LSS 1 set COIN=0
  1222. cls
  1223. echo ---------------------------------
  1224. echo Q (Weapons)  Armour  (SmithShop) E
  1225. echo ---------------------------------
  1226. echo Coin:%COIN%:  Armour:%ARMD%:
  1227. echo ---------------------------------
  1228. echo  1) Battered Leather Armour 125 C
  1229. echo.
  1230. echo  2) Padded Leather Armour 350 C
  1231. echo.
  1232. echo  3) Iron Armour 1230 C
  1233. echo.
  1234. echo  4) Braced Iron Armour 2134 C
  1235. echo ---------------------------------
  1236. choice /c qe1234 /n >nul
  1237. if %ERRORLEVEL%==1 goto :STORE3
  1238. if %ERRORLEVEL%==2 goto :STORE
  1239. if %ERRORLEVEL%==3 (
  1240.    if %COIN% LSS 125 goto STORE2
  1241.    set /a COIN-=125
  1242.    set /a HPM=125
  1243.    set ARM=1
  1244.    goto STORE2
  1245.    )
  1246. if %ERRORLEVEL%==4 (
  1247.    if %COIN% LSS 350 goto STORE2
  1248.    set /a COIN-=350
  1249.    set ARM=2
  1250.    set /a HPM=350
  1251.    goto STORE2
  1252.    )
  1253. if %ERRORLEVEL%==5 (
  1254.    if %COIN% LSS 1230 goto STORE2
  1255.    set /a COIN-=1230
  1256.    set ARM=3
  1257.    set /a HPM=560
  1258.    goto STORE2
  1259.    )
  1260. if %ERRORLEVEL%==6 (
  1261.    if %COIN% LSS 2134 goto STORE2
  1262.    set /a COIN-=2134
  1263.    set ARM=4
  1264.    set /a HPM=745
  1265.    goto STORE2
  1266.    )
  1267. goto STORE2
  1268.  
  1269. :STORE3
  1270. call :WEPSET
  1271. if %COIN% LSS 1 set COIN=0
  1272. cls
  1273. echo ---------------------------------
  1274. echo Q (SmithShop)  Weapons  (Armour) E
  1275. echo ---------------------------------
  1276. echo Coin:%COIN%: Weapon:%WEPD%:
  1277. echo ---------------------------------
  1278. echo  1) Dull Blade 50 C
  1279. echo.
  1280. echo  2) Average Blade 200 C
  1281. echo.
  1282. echo  3) Sharpened Blade 800 C
  1283. echo.
  1284. echo  4) Hardened Blade 1250 C
  1285. choice /c qe1234 /n >nul
  1286. if %ERRORLEVEL%==1 goto STORE
  1287. if %ERRORLEVEL%==2 goto STORE2
  1288. if %ERRORLEVEL%==3 (
  1289.   if %COIN% LSS 50 goto STORE3
  1290.   set /a COIN-=50
  1291.   set WEP=1
  1292.   goto STORE3
  1293. )
  1294. if %ERRORLEVEL%==4 (
  1295.   if %COIN% LSS 200 goto STORE3
  1296.   set /a COIN-=200
  1297.   set WEP=2
  1298.   goto STORE3
  1299. )
  1300. if %ERRORLEVEL%==5 (
  1301.   if %COIN% LSS 800 goto STORE3
  1302.   set /a COIN-=800
  1303.   set WEP=3
  1304.   goto STORE3
  1305. )
  1306. if %ERRORLEVEL%==6 (
  1307.   if %COIN% LSS 1250 goto STORE3
  1308.   set /a COIN-=1250
  1309.   set WEP=4
  1310.   goto STORE3
  1311. )
  1312. goto STORE3
  1313.  
  1314. :WEPSET
  1315. if %WEP%== 1 set WEPD=Dull Blade
  1316. if %WEP%== 1 set STR=5
  1317. if %WEP%== 2 set WEPD=Average Blade
  1318. if %WEP%== 2 set STR=7
  1319. if %WEP%== 3 set WEPD=Sharpened Blade
  1320. if %WEP%== 3 set STR=10
  1321. if %WEP%== 4 set WEPD=Hardened Blade
  1322. if %WEP%== 4 set STR=14
  1323. if %WEP%== 5 set WEPD=Scorched Blade
  1324. if %WEP%== 5 set STR=18
  1325. if %WEP%== 6 set WEPD=Royal Blade
  1326. if %WEP%== 6 set STR=22
  1327. if %WEP%== 7 set WEPD=Sharpened Royal Blade
  1328. if %WEP%== 7 set STR=25
  1329. if %WEP%== 8 set WEPD=Hardened Royal Blade
  1330. if %WEP%== 8 set STR=27
  1331. if %WEP%== 9 set WEPD=Scorched Royal Blade
  1332. if %WEP%== 9 set STR=32
  1333. if %WEP%== 10 set WEPD=Malachite Blade
  1334. if %WEP%== 10 set STR=37
  1335. if %WEP%== 11 set WEPD=Refined Malachite Blade
  1336. if %WEP%== 11 set STR=42
  1337. if %WEP%== 12 set WEPD=Gem Edged Malachite Blade
  1338. if %WEP%== 12 set STR=47
  1339. if %WEP%== 13 set WEPD=Obsidion Blade
  1340. if %WEP%== 13 set STR=53
  1341. if %WEP%== 14 set WEPD=Reinforced Obsidion Blade
  1342. if %WEP%== 14 set STR=58
  1343. if %WEP%== 15 set WEPD=Orva's Forged Blade
  1344. if %WEP%== 15 set STR=70
  1345. if %WEP%== 16 set WEPD=War Mongers Blade
  1346. if %WEP%== 16 set STR=77
  1347. if %WEP%== 17 set WEPD=Minamoto Blade
  1348. if %WEP%== 17 set STR=85
  1349. if %WEP%== 18 set WEPD=Yoshitsune Blade
  1350. if %WEP%== 18 set STR=90
  1351. if %WEP%== 19 set WEPD=Kamiizumi Blade
  1352. if %WEP%== 19 set STR=98
  1353. if %WEP%== 20 set WEPD=Nobutsuna Blade
  1354. if %WEP%== 20 set STR=106
  1355. goto:eof
  1356.  
  1357. :ARMSET
  1358. if %ARM%== 1 set ARMD=Battered Leather Armour
  1359. if %ARM%== 1 set DEF=2
  1360. if %ARM%== 2 set ARMD=Padded Leather Armour
  1361. if %ARM%== 2 set DEF=5
  1362. if %ARM%== 3 set ARMD=Iron Armour
  1363. if %ARM%== 3 set DEF=7
  1364. if %ARM%== 4 set ARMD=Braced Iron Armour
  1365. if %ARM%== 4 set DEF=11
  1366. if %ARM%== 5 set ARMD=Steel Armour
  1367. if %ARM%== 5 set DEF=15
  1368. if %ARM%== 6 set ARMD=Plated Steel Armour
  1369. if %ARM%== 6 set DEF=19
  1370. if %ARM%== 7 set ARMD=Royal Skysteel Armour
  1371. if %ARM%== 7 set DEF=25
  1372. if %ARM%== 8 set ARMD=Primed Royal Skysteel Armour
  1373. if %ARM%== 8 set DEF=34
  1374. if %ARM%== 9 set ARMD=Hellsteel Armour
  1375. if %ARM%== 9 set DEF=37
  1376. if %ARM%== 10 set ARMD=Plated Hellsteel Armour
  1377. if %ARM%== 10 set DEF=40
  1378. if %ARM%== 11 set ARMD=Royal Hellsteel Armour
  1379. if %ARM%== 11 set DEF=48
  1380. if %ARM%== 12 set ARMD=Doomsteel Armour
  1381. if %ARM%== 12 set DEF=54
  1382. if %ARM%== 13 set ARMD=Plated Doomsteel Armour
  1383. if %ARM%== 13 set DEF=60
  1384. if %ARM%== 14 set ARMD=Royal Doomsteel Armour
  1385. if %ARM%== 14 set DEF=69
  1386. if %ARM%== 15 set ARMD=Orva's Blacksteel Armour
  1387. if %ARM%== 15 set DEF=78
  1388. if %ARM%== 16 set ARMD=Orva's Purecrest Armour
  1389. if %ARM%== 16 set DEF=85
  1390. if %ARM%== 17 set ARMD=War Mongers Armour
  1391. if %ARM%== 17 set DEF=87
  1392. if %ARM%== 18 set ARMD=Minamoto Armour
  1393. if %ARM%== 18 set DEF=91
  1394. if %ARM%== 19 set ARMD=Yoshitsune Armour
  1395. if %ARM%== 19 set DEF=96
  1396. if %ARM%== 20 set ARMD=Kamiizumi Armour
  1397. if %ARM%== 20 set DEF=102
  1398. if %ARM%== 21 set ARMD=Nobutsuna Armour
  1399. if %ARM%== 21 set DEF=111
  1400. goto:eof
  1401.  
  1402.  
  1403. :VARS
  1404. set LVL=0
  1405. set BLVL=1250
  1406. set EXP=0
  1407. set EXPM=200
  1408. set DEF=1
  1409. set STR=2
  1410. set STM=100
  1411. set STMM=100
  1412. set COIN=500
  1413. set ARM=0
  1414. set ARMD=None
  1415. set WEP=0
  1416. set WEPD=None
  1417. set HP=100
  1418. set STA=50
  1419. set HPM=100
  1420. set HPD=2
  1421. set HPOT=2
  1422. set HPOTM=25
  1423. set SHPOT=0
  1424. set SHPOTM=25
  1425. set SPOT=1
  1426. set SPOTM=25
  1427. set SMKB=2
  1428. set KILLS=0
  1429. set CRYT=0
  1430.  
  1431. set /p name= What will be your name:
  1432. goto OPENER
  1433.  
  1434. :LOAD
  1435. if exist save.bat (
  1436. call save.bat
  1437. set MSG=Progress Loaded!
  1438. ) else (set MSG=No Game Data Found.)
  1439. goto:eof
  1440.  
  1441. :SAVE
  1442. (
  1443. echo set STM=%STM%
  1444. echo set STMM=%STMM%
  1445. echo set LVL=%LVL%
  1446. echo set BLVL=%BLVL%
  1447. echo set EXP=%EXP%
  1448. echo set EXPM=%EXPM%
  1449. echo set name=%name%
  1450. echo set ARM=%ARM%
  1451. echo set ARMD=%ARMD%
  1452. echo set WEP=%WEP%
  1453. echo set WEPD=%WEPD%
  1454. echo set HP=%HP%
  1455. echo set HPM=%HPM%
  1456. echo set HPD=%HPD%
  1457. echo set STA=%STA%
  1458. echo set COIN=%COIN%
  1459. echo set STR=%STR%
  1460. echo set DEF=%DEF%
  1461. echo set HPOT=%HPOT%
  1462. echo set HPOTM=%HPOTM%
  1463. echo set SHPOT=%SHPOT%
  1464. echo set SHPOTM=%SHPOTM%
  1465. echo set SPOT=%SPOT%
  1466. echo set SPOTM=%SPOTM%
  1467. echo set SMKB=%SMKB%
  1468. echo set KILLS=%KILLS%
  1469. echo set CRYT=%CRYT%
  1470. ) > save.bat
  1471. set MSG=Progress Saved.
  1472. goto:eof
  1473.  
  1474. :OPENER
  1475. mode con COLS=74 LINES=11
  1476. cls
  1477. echo ---------------------------------------------------------------
  1478. echo     %name% awakes in a strange land, startled by the crows;
  1479. echo   who were just about to eat %name% for sleeping. %name% stands
  1480. echo    up, brushes the earth off that covered their shoulders
  1481. echo    and went to the village not far away from the hill %name% awoke
  1482. echo    upon.
  1483. echo ----------------------------------------------------------------
  1484. echo  Press Any Key to Continue
  1485. pause >nul
  1486. goto HOME
  1487.  
  1488.  
  1489.  
  1490.  
Add Comment
Please, Sign In to add comment