Advertisement
Guest User

POKEMON IN BATCH!!

a guest
May 26th, 2017
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.78 KB | None | 0 0
  1. @echo off
  2. echo \---------------------------------------------------\
  3. echo \ PokeBatch - The Pokemon experience in Batch \
  4. echo \---------------------------------------------------\
  5. pause
  6.  
  7. cls
  8. echo Prof. Oak approaches
  9. echo Prof. Oak: Hi. My name is Prof. Oak.
  10. echo Prof. Oak: Welcome to the wonderful world of Pokemon!
  11. pause
  12.  
  13. :choosename
  14. cls
  15. echo Prof. Oak: It seems I don't remember your name. What is it?
  16. set /p name=
  17. pause
  18. if '%name%' == '' goto choosename
  19.  
  20. cls
  21. echo Hi %name%! It's nice seeing you again
  22. pause
  23.  
  24. ::girlorboy
  25. ::cls
  26. ::echo %name%, Are you a boy or a girl?
  27. ::echo (Enter 'boy', or 'girl')
  28. ::set /p gender=
  29. ::pause
  30. ::if '%gender%'=='boy' goto skip
  31. ::if '%gender%'=='girl' goto skip
  32. ::goto girlorboy
  33. ::skip
  34.  
  35. ::cls
  36. ::echo Prof. Oak: Aah.. so you are a %gender%
  37. ::pause
  38.  
  39. cls
  40. echo Prof. Oak: So %name% what are you waiting for? Choose your pokemon.
  41. pause
  42.  
  43. set starter='Bulbasaur'
  44.  
  45. cls
  46. echo \---------------------------------------------------\
  47. echo \ Bulbasaur (Lvl 4) \
  48. echo \---------------------------------------------------\
  49.  
  50. echo Prof. Oak: Do you want to pick Bulbasaur?
  51. echo Enter y to choose Bulbasaur
  52. pause
  53. set /p yno=
  54.  
  55. if '%yno%' == 'y' (
  56. set starter=Bulbasaur
  57. goto chosen
  58. )
  59.  
  60. cls
  61. echo \---------------------------------------------------\
  62. echo \ Squirtle (Lvl 4) \
  63. echo \---------------------------------------------------\
  64.  
  65. echo Prof. Oak: Do you want to pick Squirtle?
  66. echo Enter y to choose Squirtle
  67. pause
  68. set /p yno=
  69.  
  70. if '%yno%' == 'y' (
  71. set starter=Squirtle
  72. goto chosen
  73. )
  74.  
  75. cls
  76. echo \---------------------------------------------------\
  77. echo \ Charmandar (Lvl 4) \
  78. echo \---------------------------------------------------\
  79.  
  80. echo Prof. Oak: Do you want to pick Charmandar?
  81. echo Enter y to choose Charmandar
  82. pause
  83. set /p yno=
  84.  
  85. if '%yno%' == 'y' (
  86. set starter=Charmandar
  87. goto chosen
  88. )
  89.  
  90. cls
  91. echo Prof. Oak: Or.. wait.. there is one more.
  92. pause
  93.  
  94. cls
  95. echo \---------------------------------------------------\
  96. echo \ Pikachu (Lvl 4) \
  97. echo \---------------------------------------------------\
  98. echo Prof. Oak: Do you want to pick Pikachu?
  99. echo Be careful this pokemon is very energetic.
  100. echo Enter y to choose Pikachu
  101. pause
  102. set /p yno=
  103.  
  104. if '%yno%' == 'y' (
  105. set starter=Pikachu
  106. goto chosen
  107. )
  108.  
  109. :chosen
  110. cls
  111. echo Prof. Oak: Congrats! From here on you are now a pokemon trainer!
  112. echo Here, take this with you.
  113. echo (Pokegear received)
  114. echo Prof. Oak: This will help you along the way.
  115. pause
  116.  
  117. cls
  118. echo Prof. Oak: Now your journey begins with %starter%
  119. echo Prof. Oak: Collect gym badges and compete in the Pokemon League.
  120. echo Prof. Oak: Good luck!
  121. pause
  122.  
  123. :start
  124. set starter-lvl=4
  125. set starter-hp=20
  126. set starter-att=2
  127. set starter-def=2
  128. set starter-spd=2
  129. set starter-spatt=2
  130. set starter-spdef=2
  131. set mom=0
  132. set fstone=0
  133. set rwing=0
  134. set leaguecup=0
  135.  
  136. ::Maribou town
  137. ::Rienna city
  138. ::Vicarian city
  139. ::Aminos city
  140.  
  141. :city1
  142. ::Maribou town
  143. cls
  144. echo You are in Maribou town
  145. echo Enter option number to pick an option (1,2,3,4)
  146. echo 1) Go to your home
  147. echo 2) Go to Pokemon Center
  148. echo 3) Go to Pokemon Lab
  149. echo 4) Go to tall grass to exit Maribou town
  150. pause
  151. set /p city1option=
  152.  
  153. if '%city1option%' == '1' goto city1-1
  154. if '%city1option%' == '2' goto city1-2
  155. if '%city1option%' == '3' goto city1-3
  156. if '%city1option%' == '4' goto city1-4
  157.  
  158. :city1-1
  159. cls
  160. echo \---------------------------------------------------\
  161. echo \ Home \
  162. echo \---------------------------------------------------\
  163. echo __!!_______________
  164. echo / !! /\\
  165. echo / /__\ / \\
  166. echo /_________________/ \\
  167. echo ! ! /\ !
  168. echo ! ! / \ !
  169. echo !________________! ! ! !
  170. echo.
  171. echo You are inside your home
  172. echo Enter option number to pick an option (1,2,3)
  173. echo 1) Talk to your Mom
  174. echo 2) Eat food and take rest
  175. echo 3) Go back to town
  176. pause
  177.  
  178. set /p city1-1option=
  179.  
  180. if '%city1-1option%' == '1' goto city1-1-1
  181. if '%city1-1option%' == '2' goto city1-1-2
  182. if '%city1-1option%' == '3' goto city1
  183.  
  184. :city1-1-1
  185. cls
  186. if '%mom%' == '0' (
  187. echo Mom: %name%! I hate you and your unknown father.
  188. echo Mom: Go wander around the world on foot for years and never come back!
  189. echo Mom: But first take these running shoes.
  190. echo Mom: These won't have any effect in PokeBatch but I'm just giving it so you don't complain.
  191. set mom=1
  192. pause
  193. goto city1-1
  194. )
  195. if '%mom%' == '1' (
  196. echo Mom: What's the matter? Did you bring something for me?
  197. echo Mom: No? Get the hell out of my house then! :D
  198. pause
  199. goto city1-1
  200. )
  201. if '%mom%' == '2' (
  202. echo Mom: What's the matter? Did you bring something for me?
  203. echo Mom: Ooooh! That's a HUGE diamond! I almost love you! :)
  204. echo (Handed over the diamond)
  205. echo Mom: Here, take this fire stone from your father's collection.
  206. echo (Received Fire stone)
  207. set fstone=1
  208. set mom=3
  209. pause
  210. goto city1-1
  211. )
  212. if '%mom%' == '3' (
  213. echo Mom: Yay! Did you bring something else for me?
  214. echo Mom: No? Oh well, guess I still hate you. :)
  215. pause
  216. goto city1-1
  217. )
  218. if '%mom%' == '4' (
  219. echo Mom: Well? What is it? A surprise you say?
  220. echo (Hands over the Jade necklace)
  221. echo Mom: OMG! O_O I love it!!
  222. echo Mom: You deserve this Rainbow Wing
  223. echo (Received Rainbow Wing)
  224. set rwing=1
  225. set mom=5
  226. echo Mom: Let me quote your father.
  227. echo "Only a true Pokemon Champion can make use of this Rainbow Wing."
  228. echo "The legendary Ho-Oh will appear before only him who is pure of heart and has a strong will."
  229. echo "He must go to the Bell Tower in Vicarian city at once."
  230. echo "But there is one thing you should kno... "
  231. echo Mom: And the rest is unreadable. Your crazy father and his ramblings about some legendary pokemon.
  232. pause
  233. goto city1-1
  234. )
  235. if '%mom%' == '5' (
  236. echo Mom: You know what? You aren't that bad :)
  237. pause
  238. goto city1-1
  239. )
  240. if '%mom%' == '6' (
  241. echo Mom: What the.. Is that a Ho-Oh? :O
  242. echo Mom: That means your father wasn't a loser!
  243. pause
  244. goto city1-1
  245. )
  246.  
  247. :city1-1-2
  248. cls
  249. echo You ate lots of delicious food.. OM NOM NOM NOM
  250. echo You are feeling sleepy. What was in the food?!
  251. echo You wake up 12 hours later. Your %starter% has recovered his HP.
  252. set /a starter-hp=10*%starter-lvl%
  253. pause
  254. goto :city1-1
  255.  
  256. :city1-2
  257. cls
  258. echo \---------------------------------------------------\
  259. echo \ Pokemon Center \
  260. echo \---------------------------------------------------\
  261. echo.
  262. echo ___________________
  263. echo /___________________\
  264. echo ! //_\\ !
  265. echo !_______\\_//_______!
  266. echo ! ! ___ ! !
  267. echo ! ! ! ! ! !
  268. echo !_____! !___! !_____!
  269. echo.
  270. echo You are inside the Pokemon Center
  271. echo Enter option number to pick an option (1,2,3)
  272. echo 1) Get your pokemon healed by Nurse Joy
  273. echo 2) Get other services from Nurse Joy ;)
  274. echo 3) Go back to town
  275. pause
  276.  
  277. set /p city1-2option=
  278.  
  279. if '%city1-2option%' == '1' goto city1-2-1
  280. if '%city1-2option%' == '2' goto city1-2-2
  281. if '%city1-2option%' == '3' goto city1
  282.  
  283. :city1-2-1
  284. cls
  285. echo Nurse Joy: My my, your %starter% doesn't look very good
  286. echo Nurse Joy: Here let me fix him with my love!
  287. echo Your %starter% is blushed red
  288. echo Nurse Joy: Here you go better than ever.
  289. echo %starter%: %STARTER%!
  290. echo Your %starter% has recovered his HP.
  291. set /a starter-hp=10*%starter-lvl%
  292. pause
  293. goto city1-2
  294.  
  295. :city1-2-2
  296. cls
  297. echo %name%: Hey Joy, how about you show me your "Pokemons" ;)
  298. if '%leaguecup%' == '0' (
  299. echo Nurse Joy: I don't think you are trained enough to handle them kid.
  300. echo Nurse Joy: Buzz off like a Beedrill before I doublekick you!
  301. echo You run away to town hiding your face.
  302. )
  303. if '%leaguecup%' == '1' (
  304. :: ;)
  305. )
  306. pause
  307. goto city1
  308.  
  309. :city1-3
  310. cls
  311. echo \---------------------------------------------------\
  312. echo \ Pokemon Lab \
  313. echo \---------------------------------------------------\
  314. echo.
  315. echo _______
  316. echo . .
  317. echo / //_\\ \
  318. echo !_______\\ //_______!
  319. echo /___________________\
  320. echo ! ! ___ ! !
  321. echo ! ! / \ ! !
  322. echo !_____! !___! !_____!
  323. echo.
  324. echo You are inside the Pokemon Lab
  325. echo Enter option number to pick an option (1,2)
  326. echo 1) Talk to Professor Oak
  327. echo 2) Go back to town
  328. pause
  329.  
  330. set /p city1-2option=
  331.  
  332. if '%city1-2option%' == '1' goto city1-3-1
  333. if '%city1-2option%' == '2' goto city1
  334.  
  335. :city1-3-1
  336. cls
  337. echo Prof Oak: Oh hi %name% I am a little busy right now.
  338. echo Prof Oak: Come back after you've won a gym batch.
  339. pause
  340. goto city1
  341.  
  342. :city1-4
  343. cls
  344. echo \---------------------------------------------------\
  345. echo \ Tall grass \
  346. echo \---------------------------------------------------\
  347. echo.
  348. echo )\ )\ )\ )\ /( (\ )\ )\ )\ /( /( )\ (\ (\ /) )\
  349. echo /( /( )\ (\ (\ /) )\ )\ )\ )\ )\ /( (\ )\ )\ )\
  350. echo )\ (\ (\ /) )\ (\ )\ )\ )\ /( /( )\ )\ )\ )\ /( (\
  351. echo.
  352. echo You stepped out of Maribou town.
  353. echo Since your town is very small you can already see Rienna city.
  354. echo Rienna city is famous for their berries and grass pokemon.
  355. echo.
  356. echo You are walking on tall grass
  357. echo Something is inside the grass
  358.  
  359. setlocal ENABLEDELAYEDEXPANSION
  360. set /a r=%random% %%!3 +1
  361. ::Caterpie Oddish Rattata Cubone
  362. if '%r%' == '0' (
  363. set wildpkmn=Caterpie
  364. goto wildpokemon
  365. )
  366. if '%r%' == '1' (
  367. set wildpkmn=Oddish
  368. goto wildpokemon
  369. )
  370. if '%r%' == '2' (
  371. set wildpkmn=Rattata
  372. goto wildpokemon
  373. )
  374. if '%r%' == '3' (
  375. set wildpkmn=Cubone
  376. goto wildpokemon
  377. )
  378. :wildpokemon
  379. echo A wild %wildpkmn% has appeared
  380. echo.
  381. echo %wildpkmn%: %wildpkmn%
  382. set wildpkmn-lvl=2
  383. set wildpkmn-hp=10
  384. set wildpkmn-hp=20
  385. set wildpkmn-att=2
  386. set wildpkmn-def=2
  387. set wildpkmn-spd=2
  388. set wildpkmn-spatt=2
  389. set wildpkmn-spdef=2
  390. echo.
  391. echo %name%: Go %starter% I choose you!
  392. echo %starter%: %starter%
  393. pause
  394.  
  395. :wildpokemon-battle
  396. cls
  397. echo \---------------------------------------------------\
  398. echo \ %wildpkmn% (Lvl %wildpkmn-lvl%) \
  399. echo \---------------------------------------------------\
  400. echo.
  401. echo HP: %wildpkmn-hp%
  402. echo.
  403. echo.
  404. echo \---------------------------------------------------\
  405. echo \ %starter% (Lvl %starter-lvl%) \
  406. echo \---------------------------------------------------\
  407. echo.
  408. echo HP: %starter-hp%
  409. echo.
  410. echo.
  411. echo What do you want to do?
  412. echo.
  413. echo Enter option number to pick an option (1,2)
  414. echo 1) Tackle Attack
  415. echo 2) Bite
  416. echo 3) [Run]
  417.  
  418. set /p wildpkmn-atk=
  419. pause
  420.  
  421. set /a critical=%random% %%!1 +1
  422.  
  423. if '%wildpkmn-atk%' == '1' set impact-wildpkmn=((2*%wildpkmn-att%)/2)*(%critical%+1)
  424. if '%wildpkmn-atk%' == '2' set impact-wildpkmn=((3*%wildpkmn-att%)/2)*(%critical%+1)
  425.  
  426. cls
  427. echo \---------------------------------------------------\
  428. echo \ %wildpkmn% (Lvl %wildpkmn-lvl%) \
  429. echo \---------------------------------------------------\
  430. echo.
  431. echo HP: %wildpkmn-hp%
  432.  
  433. set wildpkmn-hp=%wildpkmn-hp%-(%impact-wildpkmn%-%wildpkmn-def%)
  434.  
  435. if '%critical%' == '0' echo %wildpkmn% lost %impact-wildpkmn% HP
  436. if '%critical%' == '1' (
  437. echo Critical Hit!
  438. echo %wildpkmn% lost %impact-wildpkmn% HP
  439. )
  440.  
  441. echo HP: %wildpkmn-hp%
  442. echo.
  443. if %wildpkmn-hp% <=0 goto wild-1-victory
  444.  
  445. echo \---------------------------------------------------\
  446. echo \ %starter% (Lvl %starter-lvl%) \
  447. echo \---------------------------------------------------\
  448. echo.
  449. echo HP: %starter-hp%
  450. echo.
  451. echo.
  452.  
  453. set /a wildpkmn-hit=%random% %%!1 +1
  454. set /a critical=%random% %%!1 +1
  455.  
  456. if '%wildpkmn-hit%' == '0' set impact-starter=((2*%starter-att%)/2)*(%critical%+1)
  457. if '%wildpkmn-hit%' == '1' set impact-starter=((3*%starter-att%)/2)*(%critical%+1)
  458. set starter-hp=%starter-hp%-(%impact-starter%-%starter-def%)
  459.  
  460. if '%critical%' == '0' echo %starter% lost %impact-starter% HP
  461. if '%critical%' == '1' (
  462. echo Critical Hit!
  463. echo %starter% lost %impact-starter% HP
  464. )
  465.  
  466. echo HP: %starter-hp%
  467. echo.
  468. echo.
  469.  
  470. if %starter-hp% <=0 goto gameover
  471.  
  472. goto wildpokemon-battle
  473.  
  474. :wild-1-victory
  475. cls
  476. echo \---------------------------------------------------\
  477. echo \ %wildpkmn% (Lvl %wildpkmn-lvl%) \
  478. echo \---------------------------------------------------\
  479. echo.
  480. echo HP: 0
  481. echo.
  482. echo.
  483. echo \---------------------------------------------------\
  484. echo \ %starter% (Lvl %starter-lvl%) \
  485. echo \---------------------------------------------------\
  486. echo.
  487. echo HP: %starter-hp%
  488. echo.
  489. echo.
  490. echo %wildpkmn% has fainted
  491. echo.
  492. echo %starter% gained 100 experience points
  493. set /a starter-lvl=%starter-lvl%+1
  494. set /a starter-hp=10*%starter-lvl%
  495. set /a starter-att=%starter-att%+1
  496. set /a starter-def=%starter-def%+1
  497. set /a starter-spd=10*%starter-spd%+1
  498. set /a starter-spatt=10*%starter-spatt%+1
  499. set /a starter-spdef=10*%starter-spdef%+1
  500.  
  501. echo %starter% reached Level %starter-lvl%
  502. echo %starter%'s HP increased to %starter-hp%
  503. echo %starter%'s Attack increased to %starter-att%
  504. echo %starter%'s Defense increased to %starter-def%
  505. echo %starter%'s Speed increased to %starter-spd%
  506. echo %starter%'s Sp.Attack increased to %starter-spatt%
  507. echo %starter%'s Sp.Defense increased to %starter-spdef%
  508. pause
  509. goto city-2
  510.  
  511. :gameover
  512. cls
  513. echo \---------------------------------------------------\
  514. echo \ %wildpkmn% (Lvl %wildpkmn-lvl%) \
  515. echo \---------------------------------------------------\
  516. echo.
  517. echo HP: %wildpkmn-hp%
  518. echo.
  519. echo.
  520. echo \---------------------------------------------------\
  521. echo \ %starter% (Lvl %starter-lvl%) \
  522. echo \---------------------------------------------------\
  523. echo.
  524. echo HP: 0
  525. echo.
  526. echo.
  527. echo %starter% has fainted
  528. echo You don't have any more Pokemon
  529. echo %name% runs away to Maribou town to his home.
  530. goto start
  531.  
  532. :city-2
  533. ::Rienna city
  534. cls
  535. echo You are in Rienna city
  536. echo Enter option number to pick an option (1,2,3,4)
  537. echo 1) Talk to the camper
  538. echo 2) Go near the fountain
  539. echo 3) Go to the crossroads
  540. echo 4) Go to Pokemon center
  541. pause
  542. set /p city2option=
  543.  
  544. if '%city2option%' == '1' goto city2-1
  545. if '%city2option%' == '2' goto city2-2
  546. if '%city2option%' == '3' goto city2-3
  547. if '%city2option%' == '4' goto city2-4
  548.  
  549. ================================================================================
  550. Made by coder san
  551. ================================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement