Guest User

Untitled

a guest
Dec 2nd, 2018
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 195.25 KB | None | 0 0
  1. #include<iostream>
  2. #include<conio.h>
  3. #include <thread>
  4. #include <chrono>
  5. #include<cstdlib>
  6. #include<ctime>
  7.  
  8.  
  9. using namespace std;
  10. using std::this_thread::sleep_for;
  11. using std::chrono::milliseconds;
  12. bool Check(int PH,int CH,int Skill_Points, int T, int Strength, int Vitality, int Luck ){
  13. bool Y = false;
  14. char Q;
  15. if(Skill_Points == T && !(T == 0)){
  16. cout << "\n\n\n\tAre you satisfied with your stats?[Y/N]\n\tStrength :"<<Strength<<"\n\tVitality :"<<Vitality<<"\n\tLuck :"<<Luck<<"\n\n\tInput : ";
  17. cin >> Q;
  18. Q = toupper(Q);
  19. if(Q == 'Y'){
  20. Y = true;
  21. }
  22. }else if((Skill_Points > T) && !(T == 0)){
  23. system("CLS");
  24. cout << "\n\n\n\tToo much Skill points! You can only go with 25! Try again please";
  25. cout <<"\n\n\tPress any key to continue...";
  26. getch();
  27. }else if((Skill_Points < T) && !(T == 0)){
  28. cout << "\n\n\n\tAre you sure you want to continue leaving behind some unused skill points?\n\tStrength :"<<Strength<<"\n\tVitality :"<<Vitality<<"\n\tLuck :"<<Luck<<"\n\n\tInput : ";
  29. cin >> Q;
  30. Q = toupper(Q);
  31. if(Q == 'Y'){
  32. Y = true;
  33. }
  34. }
  35. if (CH < 0){
  36. Y = true;
  37. }else if(PH < 0){
  38. Y = true;
  39. }
  40. return Y;
  41. }
  42. int Heal(int Q,int Health,int FullH, int Stage,int Strength,int Vitality,int Luck){
  43. if(Q == 0){
  44. Health = FullH;
  45. }
  46. if (Q == 1 && Health > 0){
  47. Health = Health + 10 + Vitality;
  48. if (Health > FullH){
  49. Health = FullH;
  50. }
  51. }else if (Q == 3 && Health > 0){
  52. Health = Health + 15 + Vitality ;
  53. if (Health > FullH){
  54. Health = FullH;
  55. }
  56. }
  57. return Health;
  58. }
  59. int Buff( int Strength,int Vitality,int Luck ){
  60. int Buff = 0, ran = 0;
  61. srand(time(0));
  62. ran = rand() % 4;
  63. if(ran == 1){
  64. Buff = 1;
  65. }else if (ran == 2){
  66. Buff = 2;
  67. }else if (ran == 3){
  68. Buff = 3;
  69. }else
  70. Buff = 0;
  71. return Buff;
  72. }
  73. int Damage(int Q,int Health, int Stage,int Strength,int Vitality,int Luck, int Weapon){
  74. int Add;
  75. int ran = 0;
  76. srand(time(0));
  77. ran = rand() % (100 + Luck);
  78. if (Q == 1 && Health > 0){
  79. if(ran <= 95){
  80. Health = Health - (Strength / 2 );
  81. }else if (ran > 95 ){
  82. Health = Health - 0;
  83. cout <<"\n\t\tMissed!!!!";
  84. }
  85. }else if (Q == 2 && Health > 0){
  86. if(Weapon == 1){
  87. Add = 30;
  88. }else if(Weapon == 2){
  89. Add = 20;
  90. }else if(Weapon == 3){
  91. Add = 10;
  92. }else if(Weapon == 4){
  93. Add = 1;
  94. }
  95. if(ran <= 10){
  96. Health = Health;
  97. cout <<"\n\t\tMissed!!";
  98. }else if(ran <= 75 && ran >= 11){
  99. Health = Health - ((Strength / 2) + Add + 5 );
  100. }else if (ran > 75 ){
  101. Health = Health - ((Strength * 1.5 )+ Add + 5);
  102. cout <<"\n\t\tCRITICAL STRIKE!!!!";
  103. }
  104. }
  105. return Health;
  106. }
  107. void SPicture(int PH, int CH, int Stage,int Weapon){
  108. if(PH <= 0){
  109. if(Stage == 1){
  110. system("CLS");
  111. cout << "\n\t "<<PH<<" "<<CH<<" ";
  112. cout << "\n\t !!! [0] / ";
  113. cout << "\n\t /||/ ";
  114. cout << "\n\t || ";
  115. cout << "\n\t / \\ ";
  116. cout << "\n\t | / ";
  117. cout << "\n\t ____0-----} ";
  118. cout << "\n\t | \\ ";
  119. cout << "\n\n";
  120. }else if(Stage == 2){
  121. system("CLS");
  122. cout << "\n\t "<<PH<<" "<<CH<<" ";
  123. cout << "\n\t 0 ";
  124. cout << "\n\t /|\\ ";
  125. cout << "\n\t | 0 ";
  126. cout << "\n\t / \\ \\/|\\ ";
  127. cout << "\n\t /\\ ";
  128. cout << "\n\t ";
  129. cout << "\n\n";
  130. cout <<"\n\n\tPress any key to continue...";
  131. getch();
  132. system("CLS");
  133. cout << "\n\t "<<PH<<" "<<CH<<" ";
  134. cout << "\n\t ";
  135. cout << "\n\t 0 ";
  136. cout << "\n\t \\ 0 ";
  137. cout << "\n\t __> \\/|\\ ";
  138. cout << "\n\t /\\ ";
  139. cout << "\n\t ";
  140. cout << "\n\n";
  141. cout <<"\n\n\tPress any key to continue...";
  142. getch();
  143. system("CLS");
  144. cout << "\n\t "<<PH<<" "<<CH<<" ";
  145. cout << "\n\t ";
  146. cout << "\n\t 0 ";
  147. cout << "\n\t \\__ 0 ";
  148. cout << "\n\t __> \\ \\/|\\ ";
  149. cout << "\n\t \\_____ /\\ ";
  150. cout << "\n\t ";
  151. cout << "\n\n";
  152. cout <<"\n\n\tPress any key to continue...";
  153. getch();
  154. system("CLS");
  155. cout << "\n\t "<<PH<<" "<<CH<<" ";
  156. cout << "\n\t ";
  157. cout << "\n\t ";
  158. cout << "\n\t 0 ";
  159. cout << "\n\t \\/|\\ ";
  160. cout << "\n\t ____----0_____ /\\ ";
  161. cout << "\n\t ";
  162. cout << "\n\n";
  163. cout <<"\n\n\tPress any key to continue...";
  164. getch();
  165. }else if(Stage == 3){
  166. system("CLS");
  167. cout << "\n\t 0 ";
  168. cout << "\n\t /|\\ _.^\\~~~~~~.___,_,., ";
  169. cout << "\n\t | ~~/\\__(___(___~~~~/ ";
  170. cout << "\n\t / \\ __// __\\\\ ";
  171. cout << "\n\t ";
  172. cout << "\n\t ";
  173. cout << "\n\n";
  174. cout <<"\n\n\tPress any key to continue...";
  175. getch();
  176. system("CLS");
  177. cout << "\n\t 0 ";
  178. cout << "\n\t /|\\ ";
  179. cout << "\n\t | \\\\ ";
  180. cout << "\n\t / \\ \\\\ \\\\ ";
  181. cout << "\n\t \\\\ ";
  182. cout << "\n\t ";
  183. cout << "\n\n";
  184. cout <<"\n\n\tPress any key to continue...";
  185. getch();
  186. system("CLS");
  187. cout << "\n\t .^__^._ ";
  188. cout << "\n\t /\\_o o_\\ ";
  189. cout << "\n\t \\ __\\ ";
  190. cout << "\n\t 0 / ";
  191. cout << "\n\t /|\\ ";
  192. cout << "\n\t | ";
  193. cout << "\n\t / \\ ";
  194. cout << "\n\t ";
  195. cout << "\n\n";
  196. cout <<"\n\n\tPress any key to continue...";
  197. getch();
  198. system("CLS");
  199. cout << "\n\t .^__^._ ";
  200. cout << "\n\t /\\_o o_\\ ";
  201. cout << "\n\t 0--\\ __\\-, ";
  202. cout << "\n\t / \\ ";
  203. cout << "\n\t ) ";
  204. cout << "\n\t _ \\ \\ ";
  205. cout << "\n\t \\_> ";
  206. cout << "\n\t ";
  207. cout << "\n\n";
  208. cout <<"\n\n\tPress any key to continue...";
  209. getch();
  210. system("CLS");
  211. cout << "\n\t .^__^._ !!!! ";
  212. cout << "\n\t /\\_o\\ /o_\\ ";
  213. cout << "\n\t /\\ __\\ .-/ ";
  214. cout << "\n\t 0 / | .-\\ ";
  215. cout << "\n\t ) \\ ";
  216. cout << "\n\t _ \\ \\ . ";
  217. cout << "\n\t \\_> ";
  218. cout << "\n\t ";
  219. cout << "\n\n";
  220. cout <<"\n\n\tPress any key to continue...";
  221. getch();
  222. }else if(Stage == 4){
  223. system("CLS");
  224. cout << "\n\t "<<PH<<" "<<CH<<" ";
  225. cout << "\n\t 0 0__ ";
  226. cout << "\n\t /|\\ ---+=|$$} ";
  227. cout << "\n\t | |__} ";
  228. cout << "\n\t / \\ / \\ ";
  229. cout << "\n\t ";
  230. cout << "\n\t ";
  231. cout << "\n\n";
  232. cout <<"\n\n\tPress any key to continue...";
  233. getch();
  234. system("CLS");
  235. cout << "\n\t "<<PH<<" "<<CH<<" ";
  236. cout << "\n\t 0 0 / \\ ";
  237. cout << "\n\t /|\\ ---+__\\$ $\\ ";
  238. cout << "\n\t | \\__/ ";
  239. cout << "\n\t / \\ < \\ ";
  240. cout << "\n\t ";
  241. cout << "\n\t ";
  242. cout << "\n\n";
  243. cout <<"\n\n\tPress any key to continue...";
  244. getch();
  245. system("CLS");
  246. cout << "\n\t 0 0 / \\ ";
  247. cout << "\n\t /|\\ ---+__\\$ $\\ ";
  248. cout << "\n\t | \\__/ ";
  249. cout << "\n\t / \\ < \\ ";
  250. cout << "\n\t ";
  251. cout << "\n\t ";
  252. cout << "\n\n";
  253. cout <<"\n\n\tPress any key to continue...";
  254. getch();
  255. system("CLS");
  256. cout << "\n\t "<<PH<<" "<<CH<<" ";
  257. cout << "\n\t 0 \\ \\ ";
  258. cout << "\n\t /|\\ \\ \\ \\ ";
  259. cout << "\n\t | \\ ";
  260. cout << "\n\t / \\ \\ \\ ";
  261. cout << "\n\t ";
  262. cout << "\n\t ";
  263. cout << "\n\n";
  264. cout <<"\n\n\tPress any key to continue...";
  265. getch();
  266. system("CLS");
  267. cout << "\n\t "<<PH<<" "<<CH<<" ";
  268. cout << "\n\t 0 0 / \\ ";
  269. cout << "\n\t --|-+__\\$ $\\ ";
  270. cout << "\n\t | \\__/ ";
  271. cout << "\n\t / \\ < \\ ";
  272. cout << "\n\t ";
  273. cout << "\n\t ";
  274. cout << "\n\n";
  275. cout <<"\n\n\tPress any key to continue...";
  276. getch();
  277. system("CLS");
  278. cout << "\n\t ";
  279. cout << "\n\t "<<PH<<" ";
  280. cout << "\n\t __|___0 ";
  281. cout << "\n\t / +0__ ";
  282. cout << "\n\t \\|$$} ";
  283. cout << "\n\t |__} "<<CH<<" ";
  284. cout << "\n\t / \\ ";
  285. cout << "\n\t ";
  286. cout << "\n\t ";
  287. cout << "\n\n";
  288. cout <<"\n\n\tPress any key to continue...";
  289. getch();
  290. system("CLS");
  291. cout << "\n\t ";
  292. cout << "\n\t "<<PH<<" ";
  293. cout << "\n\t | ";
  294. cout << "\n\t + 0_\\/_ ";
  295. cout << "\n\t \\|$ $} ";
  296. cout << "\n\t |___} "<<CH<<" ";
  297. cout << "\n\t / \\ ";
  298. cout << "\n\t ";
  299. cout << "\n\t ";
  300. cout << "\n\n";
  301. cout <<"\n\n\tPress any key to continue...";
  302. getch();
  303. }else if(Stage == 5){
  304. system("CLS");
  305. cout << "\n\t "<<PH<<" "<<CH<<" ";
  306. cout << "\n\t _ _0_ _ _ ";
  307. cout << "\n\t 0 {_} [ ] {_}\\ ";
  308. cout << "\n\t /|\\ (^^^)_// [_]_// \\ ";
  309. cout << "\n\t | | ___()\\ ()/\\___\\ ";
  310. cout << "\n\t / \\ (___) _| _|\\/ ";
  311. cout << "\n\t ";
  312. cout << "\n\t ";
  313. cout << "\n\n";
  314. cout <<"\n\n\tPress any key to continue...";
  315. getch();
  316. system("CLS");
  317. cout << "\n\t ";
  318. cout << "\n\t _______________(^^^) ";
  319. cout << "\n\t |_______________ | ";
  320. cout << "\n\t ||_ 0_ _ _|| (___) ";
  321. cout << "\n\t 0 {_} [ ] {_}\\ "<<CH<<" ";
  322. cout << "\n\t /|\\ \\ [_] \\ ";
  323. cout << "\n\t | ()\\ ()/\\___\\ ";
  324. cout << "\n\t / \\ < <\\/ ";
  325. cout << "\n\t ";
  326. cout << "\n\t ";
  327. cout << "\n\n";
  328. cout <<"\n\n\tPress any key to continue...";
  329. getch();
  330. system("CLS");
  331. cout << "\n\t _______________(^^^) ";
  332. cout << "\n\t |_______________ | ";
  333. cout << "\n\t ||_ 0_ _ _|| (___) "<<CH<<" ";
  334. cout << "\n\t {_} [ ] {_}\\ ";
  335. cout << "\n\t 0 \\ [_] \\ ";
  336. cout << "\n\t /|\\ ()\\ ()/\\_\\ \\ ";
  337. cout << "\n\t | _\\ _\\/ \\ \\ ";
  338. cout << "\n\t / \\ \\ \\ \\ \\ ";
  339. cout << "\n\t (__________) ";
  340. cout << "\n\t ";
  341. cout << "\n\n";
  342. cout <<"\n\n\tPress any key to continue...";
  343. getch();
  344. system("CLS");
  345. cout << "\n\t ";
  346. cout << "\n\t ";
  347. cout << "\n\t "<<CH<<" ";
  348. cout << "\n\t \\ / / _ _0_ _ _ ";
  349. cout << "\n\t \\ ___ / {_} [ ] {_}\\ ";
  350. cout << "\n\t \\ ( )__/__\\____//__[_]_//_\\ ";
  351. cout << "\n\t \\ / ____________________| / ";
  352. cout << "\n\t \\(____// \\__ _\\ _\\/_____/ ";
  353. cout << "\n\t ";
  354. cout << "\n\t ";
  355. cout << "\n\t ";
  356. cout << "\n\n";
  357. cout <<"\n\n\tPress any key to continue...";
  358. getch();
  359. system("CLS");
  360. cout << "\n\t ";
  361. cout << "\n\t ";
  362. cout << "\n\t "<<CH<<" ";
  363. cout << "\n\t _ _0_ _ _ ";
  364. cout << "\n\t ___ {_} [ ] {_}\\ ";
  365. cout << "\n\t ( )_________//__[_]_//_\\ ";
  366. cout << "\n\t / ____________________| ";
  367. cout << "\n\t___(____/___ \\__ _\\ _\\ ";
  368. cout << "\n\t ";
  369. cout << "\n\t ";
  370. cout << "\n\t ";
  371. cout << "\n\n";
  372. cout <<"\n\n\tPress any key to continue...";
  373. getch();
  374. }
  375. }else if(Stage == 1){
  376. if(CH > 0){
  377. system("CLS");
  378. cout << "\n\t "<<PH<<" "<<CH<<" ";
  379. cout << "\n\t 0 \\ [0] ";
  380. cout << "\n\t /|\\/ \\/||\\ ";
  381. cout << "\n\t | || ";
  382. cout << "\n\t / \\ / \\ ";
  383. cout << "\n\t ";
  384. cout << "\n\t ";
  385. }else if(CH < 0){
  386. system("CLS");
  387. cout << "\n\t "<<PH<<" "<<CH<<" ";
  388. cout << "\n\t 0 ";
  389. cout << "\n\t /|\\/ {0} ";
  390. cout << "\n\t | /|> ";
  391. cout << "\n\t / \\ / | ";
  392. cout << "\n\t ---+- / \\ ";
  393. cout << "\n\t ";
  394. cout << "\n\n";
  395. }
  396. cout << "\n\n";
  397. }else if(Stage == 2 ){
  398. if(Weapon == 4 && CH > 0){
  399. system("CLS");
  400. cout << "\n\t "<<PH<<" "<<CH<<" ";
  401. cout << "\n\t 0 ";
  402. cout << "\n\t /|\\/ ";
  403. cout << "\n\t | 0 ";
  404. cout << "\n\t / \\ \\/|\\ ";
  405. cout << "\n\t /\\ ";
  406. cout << "\n\t ";
  407. cout << "\n\n";
  408. }else if(Weapon == 1 && CH > 0){
  409. system("CLS");
  410. cout << "\n\t "<<PH<<" "<<CH<<" ";
  411. cout << "\n\t 0 |\\ ";
  412. cout << "\n\t /|\\| | ";
  413. cout << "\n\t | | / 0 ";
  414. cout << "\n\t / \\ \\/|\\ ";
  415. cout << "\n\t /\\ ";
  416. cout << "\n\t ";
  417. cout << "\n\n";
  418. }else if(Weapon == 2 && CH > 0){
  419. system("CLS");
  420. cout << "\n\t "<<PH<<" ";
  421. cout << "\n\t | ";
  422. cout << "\n\t 0 _|_ ";
  423. cout << "\n\t /|\\+ "<<CH<<" ";
  424. cout << "\n\t | 0 ";
  425. cout << "\n\t / \\ \\/|\\ ";
  426. cout << "\n\t /\\ ";
  427. cout << "\n\t ";
  428. cout << "\n\n";
  429. }else if(Weapon == 3 && CH > 0){
  430. system("CLS");
  431. cout << "\n\t "<<PH<<" ";
  432. cout << "\n\t ";
  433. cout << "\n\t 0 ";
  434. cout << "\n\t /|\\+-- "<<CH<<" ";
  435. cout << "\n\t | 0 ";
  436. cout << "\n\t / \\ \\/|\\ ";
  437. cout << "\n\t /\\ ";
  438. cout << "\n\t ";
  439. cout << "\n\n";
  440. }else if (CH < 1){
  441. system("CLS");
  442. cout << "\n\t "<<PH<<" ";
  443. cout << "\n\t ";
  444. cout << "\n\t 0 ";
  445. cout << "\n\t /|\\ "<<CH<<" ";
  446. cout << "\n\t | ";
  447. cout << "\n\t / \\ ";
  448. cout << "\n\t \\ O_|_/ ";
  449. cout << "\n\t \\ | \\ ";
  450. cout << "\n\n";
  451. }
  452. }else if(Stage == 3 ){
  453. if(Weapon == 4 && CH > 0){
  454. system("CLS");
  455. cout << "\n\t "<<PH<<" "<<CH<<" ";
  456. cout << "\n\t 0 ";
  457. cout << "\n\t /|\\/ _.^\\~~~~~~.___,_,., ";
  458. cout << "\n\t | ~~/\\__(___(___~~~~/ ";
  459. cout << "\n\t / \\ __// __\\\\ ";
  460. cout << "\n\t ";
  461. cout << "\n\t ";
  462. cout << "\n\n";
  463. }else if(Weapon == 1 && CH > 0){
  464. system("CLS");
  465. cout << "\n\t "<<PH<<" "<<CH<<" ";
  466. cout << "\n\t 0 |\\ ";
  467. cout << "\n\t /|\\| | _.^\\~~~~~~.___,_,., ";
  468. cout << "\n\t | | / ~~/\\__(___(___~~~~/ ";
  469. cout << "\n\t / \\ __// __\\\\ ";
  470. cout << "\n\t ";
  471. cout << "\n\t ";
  472. cout << "\n\n";
  473. }else if(Weapon == 2 && CH > 0){
  474. system("CLS");
  475. cout << "\n\t "<<PH<<" "<<CH<<" ";
  476. cout << "\n\t | ";
  477. cout << "\n\t 0 _|_ ";
  478. cout << "\n\t /|\\+ _.^\\~~~~~~.___,_,., ";
  479. cout << "\n\t | ~~/\\__(___(___~~~~/ ";
  480. cout << "\n\t / \\ __// __\\\\ ";
  481. cout << "\n\t ";
  482. cout << "\n\n";
  483. }else if(Weapon == 3 && CH > 0){
  484. system("CLS");
  485. cout << "\n\t "<<PH<<" "<<CH<<" ";
  486. cout << "\n\t ";
  487. cout << "\n\t 0 ";
  488. cout << "\n\t /|\\+-- _.^\\~~~~~~.___,_,., ";
  489. cout << "\n\t | ~~/\\__(___(___~~~~/ ";
  490. cout << "\n\t / \\ __// __\\\\ ";
  491. cout << "\n\t ";
  492. cout << "\n\n";
  493. }else if (CH < 1){
  494. system("CLS");
  495. cout << "\n\t "<<PH<<" ";
  496. cout << "\n\t ";
  497. cout << "\n\t 0 ";
  498. cout << "\n\t /|\\ "<<CH<<" ";
  499. cout << "\n\t | ";
  500. cout << "\n\t / \\ _x^\\~~~~~~.___ ";
  501. cout << "\n\t ~~/\\__<___<__ \\ ";
  502. cout << "\n\t \\ \\ \\_\\ ";
  503. cout << "\n\n";
  504. }
  505. }else if(Stage == 4){
  506. if(Weapon == 4 && CH > 0){
  507. system("CLS");
  508. cout << "\n\t "<<PH<<" "<<CH<<" ";
  509. cout << "\n\t 0 0__ ";
  510. cout << "\n\t /|\\/ ---+=|$$} ";
  511. cout << "\n\t | |__} ";
  512. cout << "\n\t / \\ / \\ ";
  513. cout << "\n\t ";
  514. cout << "\n\t ";
  515. cout << "\n\n";
  516. }else if(Weapon == 1 && CH > 0){
  517. system("CLS");
  518. cout << "\n\t "<<PH<<" "<<CH<<" ";
  519. cout << "\n\t 0 |\\ 0__ ";
  520. cout << "\n\t /|\\| | ---+=|$$} ";
  521. cout << "\n\t | | / |__} ";
  522. cout << "\n\t / \\ / \\ ";
  523. cout << "\n\t ";
  524. cout << "\n\t ";
  525. cout << "\n\n";
  526. }else if(Weapon == 2 && CH > 0){
  527. system("CLS");
  528. cout << "\n\t "<<PH<<" ";
  529. cout << "\n\t | "<<CH<<" ";
  530. cout << "\n\t 0 _|_ 0__ ";
  531. cout << "\n\t /|\\+ ---+=|$$} ";
  532. cout << "\n\t | |__} ";
  533. cout << "\n\t / \\ / \\ ";
  534. cout << "\n\t ";
  535. cout << "\n\t ";
  536. cout << "\n\n";
  537. }else if(Weapon == 3 && CH > 0){
  538. system("CLS");
  539. cout << "\n\t "<<PH<<" ";
  540. cout << "\n\t "<<CH<<" ";
  541. cout << "\n\t 0 0__ ";
  542. cout << "\n\t /|\\+-- ---+=|$$} ";
  543. cout << "\n\t | |__} ";
  544. cout << "\n\t / \\ / \\ ";
  545. cout << "\n\t ";
  546. cout << "\n\t ";
  547. cout << "\n\n";
  548. }else if (CH < 1){
  549. system("CLS");
  550. cout << "\n\t "<<PH<<" ";
  551. cout << "\n\t ";
  552. cout << "\n\t 0 ";
  553. cout << "\n\t /|\\ ";
  554. cout << "\n\t | ";
  555. cout << "\n\t / \\ "<<CH<<" ";
  556. cout << "\n\t ---+ O_|____/ ______ ";
  557. cout << "\n\t | \\ |_$__$_| ";
  558. cout << "\n\t ";
  559. cout << "\n\n";
  560. }
  561. }else if(Stage == 5){
  562. if(Weapon == 4 && CH > 0){
  563. system("CLS");
  564. cout << "\n\t "<<PH<<" "<<CH<<" ";
  565. cout << "\n\t _ _0_ _ _ ";
  566. cout << "\n\t 0 {_} [ ] {_}\\ ";
  567. cout << "\n\t /|\\/ (^^^)_// [_]_// \\ ";
  568. cout << "\n\t | | ___()\\ ()/\\___\\ ";
  569. cout << "\n\t / \\ (___) _| _|\\/ ";
  570. cout << "\n\t ";
  571. cout << "\n\t ";
  572. cout << "\n\n";
  573. }else if(Weapon == 1 && CH > 0){
  574. system("CLS");
  575. cout << "\n\t "<<PH<<" _ _0_ _ _ "<<CH<<" ";
  576. cout << "\n\t 0 |\\ {_} [ ] {_}\\ ";
  577. cout << "\n\t /|\\| | (^^^)_// [_]_// \\ ";
  578. cout << "\n\t | | / | ___()\\ ()/\\___\\ ";
  579. cout << "\n\t / \\ (___) _| _|\\/ ";
  580. cout << "\n\t ";
  581. cout << "\n\t ";
  582. cout << "\n\n";
  583. }else if(Weapon == 2 && CH > 0){
  584. system("CLS");
  585. cout << "\n\t "<<PH<<" ";
  586. cout << "\n\t | _ _0_ _ _ "<<CH<<" ";
  587. cout << "\n\t 0 _|_ {_} [ ] {_}\\ ";
  588. cout << "\n\t /|\\+ (^^^)_// [_]_// \\ ";
  589. cout << "\n\t | | ___()\\ ()/\\___\\ ";
  590. cout << "\n\t / \\ (___) _| _|\\/ ";
  591. cout << "\n\t ";
  592. cout << "\n\t ";
  593. cout << "\n\n";
  594. }else if(Weapon == 3 && CH > 0){
  595. system("CLS");
  596. cout << "\n\t "<<PH<<" ";
  597. cout << "\n\t _ _0_ _ _ "<<CH<<" ";
  598. cout << "\n\t 0 {_} [ ] {_}\\ ";
  599. cout << "\n\t /|\\+-- (^^^)_// [_]_// \\ ";
  600. cout << "\n\t | | ___()\\ ()/\\___\\ ";
  601. cout << "\n\t / \\ (___) _| _|\\/ ";
  602. cout << "\n\t ";
  603. cout << "\n\t ";
  604. cout << "\n\n";
  605. }else if (CH < 1){
  606. system("CLS");
  607. cout << "\n\t "<<PH<<" ";
  608. cout << "\n\t _ _0_ _ _ "<<CH<<" ";
  609. cout << "\n\t 0 {_} [ ] {_}\\ ";
  610. cout << "\n\t /|\\ (^^^)_// [_]_// \\ ";
  611. cout << "\n\t | | ___()\\ ()/\\\\___\\ ";
  612. cout << "\n\t / \\ (___) _| _|\\/ ";
  613. cout << "\n\t ";
  614. cout << "\n\t ";
  615. cout << "\n\n";
  616. cout <<"\n\n\tPress any key to continue...";
  617. getch();
  618. system("CLS");
  619. cout << "\n\t | | ";
  620. cout << "\n\t "<<PH<<" \\ | / ";
  621. cout << "\n\t \\ _ _0_ _ _ "<<CH<<" ";
  622. cout << "\n\t 0 \\ {_} [ ] {_}\\ / ";
  623. cout << "\n\t /|\\ _ (^^^)_// [_]_// \\ ";
  624. cout << "\n\t | _ | ___()\\ ()/\\___\\ / ";
  625. cout << "\n\t / \\ (___) _| _|\\/ _ ";
  626. cout << "\n\t ";
  627. cout << "\n\t ";
  628. cout << "\n\n";
  629. cout <<"\n\n\tPress any key to continue...";
  630. getch();
  631. system("CLS");
  632. cout << "\n\t "<<PH<<" ";
  633. cout << "\n\t "<<CH<<" ";
  634. cout << "\n\t 0 0 ";
  635. cout << "\n\t /|\\ /\\ ";
  636. cout << "\n\t | _ / _\\ ";
  637. cout << "\n\t / \\ |_|------- <___ ";
  638. cout << "\n\t ";
  639. cout << "\n\t ";
  640. cout << "\n\n";
  641. cout <<"\n\n\tPress any key to continue...";
  642. getch();
  643. system("CLS");
  644. cout << "\n\t "<<PH<<" ";
  645. cout << "\n\t "<<CH<<" ";
  646. cout << "\n\t 0 0 ";
  647. cout << "\n\t /|\\ /\\ ";
  648. cout << "\n\t | _ _/ \\ ";
  649. cout << "\n\t / \\ |_|------- <___ ";
  650. cout << "\n\t ";
  651. cout << "\n\t ";
  652. cout << "\n\n";
  653. cout <<"\n\n\tPress any key to continue...";
  654. getch();
  655. system("CLS");
  656. cout << "\n\t "<<PH<<" ";
  657. cout << "\n\t "<<CH<<" ";
  658. cout << "\n\t 0 ";
  659. cout << "\n\t /|\\ ";
  660. cout << "\n\t | _ \\____/__,0 ";
  661. cout << "\n\t / \\ |_|------- / \\ ";
  662. cout << "\n\t ";
  663. cout << "\n\t ";
  664. cout << "\n\n";
  665. cout <<"\n\n\tPress any key to continue...";
  666. getch();
  667. }
  668. }else if(Stage == 6){
  669. system("CLS");
  670. cout << "\n\t______________$$$$$$$$$$____________________";
  671. cout << "\n\t_____________$$__$_____$$$$$________________";
  672. cout << "\n\t_____________$$_$$__$$____$$$$$$$$__________";
  673. cout << "\n\t____________$$_$$__$$$$$________$$$_________";
  674. cout << "\n\t___________$$_$$__$$__$$_$$$__$$__$$________";
  675. cout << "\n\t___________$$_$$__$__$$__$$$$$$$$__$$_______";
  676. cout << "\n\t____________$$$$$_$$_$$$_$$$$$$$$_$$$_______";
  677. cout << "\n\t_____________$$$$$$$$$$$$$_$$___$_$$$$______";
  678. cout << "\n\t________________$$_$$$______$$$$$_$$$$______";
  679. cout << "\n\t_________________$$$$_______$$$$$___$$$_____";
  680. cout << "\n\t___________________________$$_$$____$$$$____";
  681. cout << "\n\t___________________________$$_$$____$$$$$___";
  682. cout << "\n\t__________________________$$$$$_____$$$$$$__";
  683. cout << "\n\t_________________________$__$$_______$$$$$__";
  684. cout << "\n\t________________________$$$_$$________$$$$$_";
  685. cout << "\n\t________________________$$$___________$$$$$_";
  686. cout << "\n\t_________________$$$$___$$____________$$$$$$";
  687. cout << "\n\t__$$$$$$$$____$$$$$$$$$$_$____________$$$_$$";
  688. cout << "\n\t_$$$$$$$$$$$$$$$______$$$$$$$___$$____$$_$$$";
  689. cout << "\n\t$$________$$$$__________$_$$$___$$$_____$$$$";
  690. cout << "\n\t$$______$$$_____________$$$$$$$$$$$$$$$$$_$$";
  691. cout << "\n\t$$______$$_______________$$_$$$$$$$$$$$$$$$_";
  692. cout << "\n\t$$_____$_$$$$$__________$$$_$$$$$$$$$$$$$$$_";
  693. cout << "\n\t$$___$$$__$$$$$$$$$$$$$$$$$__$$$$$$$$$$$$$__";
  694. cout << "\n\t$$___$$$__$$$$$$$$$$$$$$$$$__$$$$$$$$$$$$$__";
  695. cout << "\n\t$$_$$$$_____$$$$$$$$$$$$________$$$$$$__$___";
  696. cout << "\n\t$$$$$$$$$$$$$$_________$$$$$______$$$$$$$___";
  697. cout << "\n\t$$$$_$$$$$______________$$$$$$$$$$$$$$$$____";
  698. cout << "\n\t$$__$$$$_____$$___________$$$$$$$$$$$$$_____";
  699. cout << "\n\t$$_$$$$$$$hg$$$____$$$$$$$$__$$$____________";
  700. cout << "\n\t$$$$__$$$$$$$$$$$$$$$$$$$$$$$$______________";
  701. cout << "\n\t$$_________$$$$$$$$$$$$$$$__________________";
  702. }else if(Stage == 7){
  703. system("CLS");
  704. cout << "\n\t :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ";
  705. cout << "\n\t :::::::::::: :::::::::::: :::::::::::: ";
  706. cout << "\n\t ::::::::: :::: ::::::::: ";
  707. cout << "\n\t ::::::: ******** :: ******** ::::::: ";
  708. cout << "\n\t ::::: **** **** **** **** ::::: ";
  709. cout << "\n\t:::: **** **** **** :::: ";
  710. cout << "\n\t ::: **** ** **** ::: ";
  711. cout << "\n\t ::: **** **** ::: ";
  712. cout << "\n\t :::: **** ***** :::: ";
  713. cout << "\n\t ::::: **** **** ::::: ";
  714. cout << "\n\t ::::::: **** **** ::::::: ";
  715. cout << "\n\t ::::::::: **** **** ::::::::: ";
  716. cout << "\n\t ::::::::::: **** **** ::::::::::: ";
  717. cout << "\n\t :::::::::::::: **** **** :::::::::::::: ";
  718. cout << "\n\t ::::::::::::::::: **** **** ::::::::::::::::: ";
  719. cout << "\n\t :::::::::::::::::::: **** :::::::::::::::::::: ";
  720. cout << "\n\t ::::::::::::::::::::::: ** ::::::::::::::::::::::: ";
  721. cout << "\n\t ::::::::::::::::::::::::: ::::::::::::::::::::::::: ";
  722. cout << "\n\t ::::::::::::::::::::::::::: ::::::::::::::::::::::::::: ";
  723. cout << "\n\t ::::::::::::::::::::::::::::: ::::::::::::::::::::::::::::: ";
  724. cout << "\n\t:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ";
  725. cout << "\n\t";
  726. }else if(Stage == 8){
  727. cout << "\n\t\t--------_¦¦¦_-------_¦¦¦_--------";
  728. cout << "\n\t\t-------¦¦¦¦¦¦¦-----¦¦¦¦¦¦¦-------";
  729. cout << "\n\t\t------¦¦¦¦¦¦¦¦¦---¦¦¦¦¦¦¦¦¦------";
  730. cout << "\n\t\t----_¦¦¦¦¦¦¦¦¦¦¦-¦¦¦¦¦¦¦¦¦¦¦_----";
  731. cout << "\n\t\t--_¦¦¦¦¦¦¦¦¦¦¦¦¦-¦¦¦¦¦¦¦¦¦¦¦¦¦_--";
  732. cout << "\n\t\t_¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦-¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦_";
  733. cout << "\n\t\t¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦-¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦";
  734. cout << "\n\t\t¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦-¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦";
  735. cout << "\n\t\t¯¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¯";
  736. cout << "\n\t\t--¯¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¯--";
  737. cout << "\n\t\t----¯¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¯----";
  738. cout << "\n\t\t----------¯¦¦¦¦¦¦¦¦¦¦¦¯----------";
  739. cout << "\n\t\t----_¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦_---";
  740. cout << "\n\t\t-_¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦_-";
  741. cout << "\n\t\t¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦";
  742. cout << "\n\t\t¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦";
  743. cout << "\n\t\t¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦-¦¦-¦¦¦¦¦¦¦¦¦¦¦¦¦¦";
  744. cout << "\n\t\t¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦-¦¦-¦¦¦¦¦¦¦¦¦¦¦¦¦¦";
  745. cout << "\n\t\t-¦¦¦¦¦¦¦¦¦¦¦¦¦¦-¦¦-¦¦¦¦¦¦¦¦¦¦¦¦¯-";
  746. cout << "\n\t\t--¯¦¦¦¦¦¦¦¦¦¦¦¦-¦¦-¦¦¦¦¦¦¦¦¦¦¯---";
  747. cout << "\n\t\t----¯¦¦¦¦¦¦¦¦¦--¦¦--¦¦¦¦¦¦¦¦¯----";
  748. cout << "\n\t\t------¦¦¦¦¦¦¦---¦¦---¦¦¦¦¦¦¯-----";
  749. cout << "\n\t\t-------¯¦¦¦¯----¦¦¦---¯¦¦¦¯------";
  750. cout << "\n\t\t-----------------¦¦¦-------------";
  751. cout << "\n\t\t------------------¦¦¦------------";
  752. cout << "\n\t";
  753. }else if(Stage == 9){
  754. if(Weapon == 4){
  755. cout << "\n\t ";
  756. cout << "\n\t ";
  757. cout << "\n\t ";
  758. cout << "\n\t ";
  759. cout << "\n\t ";
  760. cout << "\n\t ";
  761. cout << "\n\t ";
  762. cout << "\n\t ";
  763. cout << "\n\t 0 ";
  764. cout << "\n\t 0 /|\\ ";
  765. cout << "\n\t /|\\/ ______/_|_\\_______________ ";
  766. cout << "\n\t | | |";
  767. cout << "\n\t / \\ | | ";
  768. cout << "\n\t | | ";
  769. cout << "\n\t | | ";
  770. }else if(Weapon == 1){
  771. cout << "\n\t ";
  772. cout << "\n\t ";
  773. cout << "\n\t ";
  774. cout << "\n\t ";
  775. cout << "\n\t ";
  776. cout << "\n\t ";
  777. cout << "\n\t ";
  778. cout << "\n\t ";
  779. cout << "\n\t 0 ";
  780. cout << "\n\t 0 | \\ /|\\ ";
  781. cout << "\n\t /|\\| | ______/_|_\\_______________ ";
  782. cout << "\n\t | | / | |";
  783. cout << "\n\t / \\ | | ";
  784. cout << "\n\t | | ";
  785. cout << "\n\t | | ";
  786. }else if (Weapon == 2){
  787. cout << "\n\t ";
  788. cout << "\n\t ";
  789. cout << "\n\t ";
  790. cout << "\n\t ";
  791. cout << "\n\t ";
  792. cout << "\n\t ";
  793. cout << "\n\t ";
  794. cout << "\n\t ";
  795. cout << "\n\t | 0 ";
  796. cout << "\n\t 0 _|_ /|\\ ";
  797. cout << "\n\t /|\\+ ______/_|_\\_______________ ";
  798. cout << "\n\t | | |";
  799. cout << "\n\t / \\ | | ";
  800. cout << "\n\t | | ";
  801. cout << "\n\t | | ";
  802. }else if (Weapon == 3){
  803. cout << "\n\t ";
  804. cout << "\n\t ";
  805. cout << "\n\t ";
  806. cout << "\n\t ";
  807. cout << "\n\t ";
  808. cout << "\n\t ";
  809. cout << "\n\t ";
  810. cout << "\n\t ";
  811. cout << "\n\t 0 ";
  812. cout << "\n\t 0 /|\\ ";
  813. cout << "\n\t /|\\+-- ______/_|_\\_______________ ";
  814. cout << "\n\t | | |";
  815. cout << "\n\t / \\ | | ";
  816. cout << "\n\t | | ";
  817. cout << "\n\t | | ";
  818. }
  819. }else if(Stage == 10){
  820. if(Weapon == 4){
  821. system("CLS");
  822. cout << "\n\t ____________ ";
  823. cout << "\n\t { } ";
  824. cout << "\n\t { } ";
  825. cout << "\n\t {________________} ";
  826. cout << "\n\t / / ";
  827. cout << "\n\t / / ";
  828. cout << "\n\t / Juan Mig / ";
  829. cout << "\n\t / Blessed / ";
  830. cout << "\n\t / You With / ";
  831. cout << "\n\t / His Heal / ";
  832. cout << "\n\t / / ";
  833. cout << "\n\t / ";
  834. cout << "\n\t 0 / ";
  835. cout << "\n\t /|\\/ ";
  836. cout << "\n\t | (Return to Full Health) ";
  837. cout << "\n\t / \\ ";
  838. cout << "\n\t ";
  839. cout << "\n\t Press any key to Continue.... ";
  840. getch();
  841. system("CLS");
  842. }else if(Weapon == 1){
  843. system("CLS");
  844. cout << "\n\t ____________ ";
  845. cout << "\n\t { } ";
  846. cout << "\n\t { } ";
  847. cout << "\n\t {________________} ";
  848. cout << "\n\t / / ";
  849. cout << "\n\t / / ";
  850. cout << "\n\t / Juan Mig / ";
  851. cout << "\n\t / Blessed / ";
  852. cout << "\n\t / You With / ";
  853. cout << "\n\t / His Heal / ";
  854. cout << "\n\t / / ";
  855. cout << "\n\t / ";
  856. cout << "\n\t 0 | \\ / ";
  857. cout << "\n\t /|\\| | ";
  858. cout << "\n\t | | / (Return to Full Health) ";
  859. cout << "\n\t / \\ ";
  860. cout << "\n\t ";
  861. cout << "\n\t Press any key to Continue.... ";
  862. getch();
  863. system("CLS");
  864. }else if (Weapon == 2){
  865. system("CLS");
  866. cout << "\n\t ____________ ";
  867. cout << "\n\t { } ";
  868. cout << "\n\t { } ";
  869. cout << "\n\t {________________} ";
  870. cout << "\n\t / / ";
  871. cout << "\n\t / / ";
  872. cout << "\n\t / Juan Mig / ";
  873. cout << "\n\t / Blessed / ";
  874. cout << "\n\t / You With / ";
  875. cout << "\n\t / His Heal / ";
  876. cout << "\n\t / / ";
  877. cout << "\n\t | / ";
  878. cout << "\n\t 0 _|_ / ";
  879. cout << "\n\t /|\\+ ";
  880. cout << "\n\t | (Return to Full Health) ";
  881. cout << "\n\t / \\ ";
  882. cout << "\n\t ";
  883. cout << "\n\t Press any key to Continue.... ";
  884. getch();
  885. system("CLS");
  886. }else if (Weapon == 3){
  887. system("CLS");
  888. cout << "\n\t ____________ ";
  889. cout << "\n\t { } ";
  890. cout << "\n\t { } ";
  891. cout << "\n\t {________________} ";
  892. cout << "\n\t / / ";
  893. cout << "\n\t / / ";
  894. cout << "\n\t / Juan Mig / ";
  895. cout << "\n\t / Blessed / ";
  896. cout << "\n\t / You With / ";
  897. cout << "\n\t / His Heal / ";
  898. cout << "\n\t / / ";
  899. cout << "\n\t / ";
  900. cout << "\n\t 0 / ";
  901. cout << "\n\t /|\\+-- ";
  902. cout << "\n\t | (Return to Full Health) ";
  903. cout << "\n\t / \\ ";
  904. cout << "\n\t ";
  905. cout << "\n\t Press any key to Continue.... ";
  906. getch();
  907. system("CLS");
  908. }
  909. }
  910. }
  911. int SkillChange(int Strength, int Vitality, int Luck, int S, int What){
  912. int num, T;
  913. T = Strength + Vitality + Luck;
  914. string Skill;
  915. switch (What){
  916. case 1:{
  917. SPicture(100,0,6,0);
  918. Skill = "Strength";
  919. break;
  920. }
  921. case 2:{
  922. SPicture(100, 0, 7,0);
  923. Skill = "Vitality";
  924. break;
  925. }
  926. case 3:{
  927. SPicture(100, 0, 7,0);
  928. Skill = "Luck";
  929. break;
  930. }
  931. }
  932. cout << "\n\n\t============================================================================================";
  933. cout << "\n\n\tWelcome to the Stats Changer : (You can only have "<<S<<" total Points )";
  934. cout << "\n\n\tStrength : "<< Strength;
  935. cout << "\n\n\tVitality : "<< Vitality;
  936. cout << "\n\n\tLuck : "<< Luck;
  937. cout << "\n\n\tTotal Points used : "<<T;
  938. cout << "\n\n\t============================================================================================";
  939. cout << "\n\n\tAmount of "<<Skill<<" : ";
  940. cin >> num;
  941. system("CLS");
  942. return num;
  943. }
  944. int Picture(int PH,int FullH,int CH, int ctr,int Turn, int Stage, int ran,int Strength,int Vitality,int Luck,int Weapon ){
  945. int Hold = 0;
  946. string Use;
  947. if(Turn == 1){
  948. if(Stage == 1 && CH > 0){
  949.  
  950. if (ctr <= 1 ){
  951. cout << "\n\t 0 \\ [0] ";
  952. cout << "\n\t /|\\ \\/||\\ ";
  953. cout << "\n\t | || ";
  954. cout << "\n\t / \\ / \\ ";
  955. cout << "\n\t ";
  956. cout << "\n\t ";
  957. cout << "\n\n";
  958. }else if (ctr <= 2 && ctr > 1 ){
  959. cout << "\n\t ";
  960. cout << "\n\t 0 \\ [0] ";
  961. cout << "\n\t /|\\/ \\/||\\ ";
  962. cout << "\n\t | || ";
  963. cout << "\n\t / \\ / \\ ";
  964. cout << "\n\t ";
  965. cout << "\n\t ";
  966. cout << "\n\n";
  967. }else if (ctr <= 3 && ctr > 2 ){
  968. cout << "\n\t "<<PH<<" "<<CH<<" ";
  969. cout << "\n\t 0 \\ [0] ";
  970. cout << "\n\t /|\\/ \\/||\\ ";
  971. cout << "\n\t | || ";
  972. cout << "\n\t / \\ / \\ ";
  973. cout << "\n\t ";
  974. cout << "\n\t ";
  975. cout << "\n\n";
  976. }else if (ctr == 4 ){
  977. cout << "\n\t "<<PH<<" "<<CH<<" ";
  978. cout << "\n\t 0 [0] / ";
  979. cout << "\n\t /|\\/ /||/ ";
  980. cout << "\n\t | || ";
  981. cout << "\n\t / \\ / \\ ";
  982. cout << "\n\t ";
  983. cout << "\n\t ";
  984. cout << "\n\n";
  985. cout <<"\n\n\tPress any key to continue...";
  986. getch();
  987. system("CLS");
  988. PH = PH - 5;
  989. cout << "\n\t "<<PH<<" "<<CH<<" ";
  990. cout << "\n\t 0 \\ [0] ";
  991. cout << "\n\t /|\\/ \\/||\\ ";
  992. cout << "\n\t | || ";
  993. cout << "\n\t / \\ / \\ ";
  994. cout << "\n\t ";
  995. cout << "\n\t ";
  996. cout << "\n\n";
  997. cout <<"\n\n\tPress any key to continue...";
  998. getch();
  999. system("CLS");
  1000. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1001. cout << "\n\t 0 \\ [0] ";
  1002. cout << "\n\t /|\\/ \\/||\\ ";
  1003. cout << "\n\t | || ";
  1004. cout << "\n\t / \\ / \\ ";
  1005. cout << "\n\t ";
  1006. cout << "\n\t ";
  1007. cout << "\n\n";
  1008. return PH;
  1009. }else if (ctr > 4 && CH > 0 ){
  1010. if(!(ran == 0)){
  1011. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1012. cout << "\n\t 0 [0] / ";
  1013. cout << "\n\t /|\\/ /||/ ";
  1014. cout << "\n\t | || ";
  1015. cout << "\n\t / \\ / \\ ";
  1016. cout << "\n\t ";
  1017. cout << "\n\t ";
  1018. cout << "\n\n";
  1019. cout <<"\n\n\tPress any key to continue...";
  1020. getch();
  1021. system("CLS");
  1022. PH = Damage(1,PH,Stage,Strength,Vitality,Luck,Weapon);
  1023. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1024. cout << "\n\t 0 \\ [0] ";
  1025. cout << "\n\t /|\\/ \\/||\\ ";
  1026. cout << "\n\t | || ";
  1027. cout << "\n\t / \\ / \\ ";
  1028. cout << "\n\t ";
  1029. cout << "\n\t ";
  1030. cout << "\n\n";
  1031. cout <<"\n\n\tPress any key to continue...";
  1032. getch();
  1033. system("CLS");
  1034. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1035. cout << "\n\t 0 \\ [0] ";
  1036. cout << "\n\t /|\\/ \\/||\\ ";
  1037. cout << "\n\t | || ";
  1038. cout << "\n\t / \\ / \\ ";
  1039. cout << "\n\t ";
  1040. cout << "\n\t ";
  1041. cout << "\n\n";
  1042. return PH;
  1043. }else if(ran == 0){
  1044. system("CLS");
  1045. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1046. cout << "\n\t 0 \\ [0] ";
  1047. cout << "\n\t /|\\/ \\/||\\ ";
  1048. cout << "\n\t | || ";
  1049. cout << "\n\t / \\ / \\ ";
  1050. cout << "\n\t ";
  1051. cout << "\n\t ";
  1052. cout << "\n\n";
  1053. cout <<"\n\n\tPress any key to continue...";
  1054. getch();
  1055. system("CLS");
  1056. CH = Heal( Turn, CH, 100,Stage,Strength,Vitality,Luck);
  1057. cout << "\n\t "<<PH<<" + "<<CH<<" ";
  1058. cout << "\n\t 0 + \\ [0] / ";
  1059. cout << "\n\t /|\\/ \\/||/ + ";
  1060. cout << "\n\t | + || + ";
  1061. cout << "\n\t / \\ / \\ ";
  1062. cout << "\n\t + + ";
  1063. cout << "\n\t ";
  1064. cout << "\n\n";
  1065. cout <<"\n\n\tPress any key to continue...";
  1066. getch();
  1067. system("CLS");
  1068. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1069. cout << "\n\t 0 \\ [0] ";
  1070. cout << "\n\t /|\\/ \\/||\\ ";
  1071. cout << "\n\t | || ";
  1072. cout << "\n\t / \\ / \\ ";
  1073. cout << "\n\t ";
  1074. cout << "\n\t ";
  1075. cout << "\n\n";
  1076. return -1001;
  1077. }
  1078. }
  1079. }else if (Stage == 2 && CH > 0){
  1080. if (ctr <= 0 ){
  1081. cout << "\n\t ";
  1082. cout << "\n\t 0 \\ [0] ";
  1083. cout << "\n\t /|\\ \\/||\\ ";
  1084. cout << "\n\t | || ";
  1085. cout << "\n\t / \\ / \\ ";
  1086. cout << "\n\t ";
  1087. cout << "\n\t ";
  1088. cout << "\n\n";
  1089. return PH;
  1090. }else if (ctr <=1 && ctr > 0 ){
  1091. cout << "\n\t _____________________________________ ";
  1092. cout << "\n\t | ___________________________ | ";
  1093. cout << "\n\t | | | | ";
  1094. cout << "\n\t | | __________ | | ";
  1095. cout << "\n\t | | / \\ | | ";
  1096. cout << "\n\t | | c| 0 ____ 0 | | | ";
  1097. cout << "\n\t | | \\ V V V / | | ";
  1098. cout << "\n\t | | / \\_______ /\\ | | ";
  1099. cout << "\n\t | |___________________________| | ";
  1100. cout << "\n\t | | ";
  1101. cout << "\n\t | W A N T E D D E A D | ";
  1102. cout << "\n\t |____________________________________| ";
  1103. cout << "\n\n";
  1104. return PH;
  1105. }else if (ctr <= 2 && ctr > 1 ){
  1106. cout << "\n\t ";
  1107. cout << "\n\t 0 \\ [0] ";
  1108. cout << "\n\t /|\\/ \\/||\\ ";
  1109. cout << "\n\t | || ";
  1110. cout << "\n\t / \\ / \\ ";
  1111. cout << "\n\t ";
  1112. cout << "\n\t ";
  1113. cout << "\n\n";
  1114. return PH;
  1115. }else if (ctr <= 3 && ctr > 2 ){
  1116. system("CLS");
  1117. cout << "\n\t \"Few days later \" ";
  1118. cout << "\n\t 0 ";
  1119. cout << "\n\t /|\\ !!! ";
  1120. cout << "\n\t | 0 ";
  1121. cout << "\n\t / \\ \\/|\\ ";
  1122. cout << "\n\t /\\ ";
  1123. cout << "\n\t ";
  1124. cout << "\n\n";
  1125. cout <<"\n\n\tPress any key to continue...";
  1126. getch();
  1127. system("CLS");
  1128. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1129. cout << "\n\t 0 ";
  1130. cout << "\n\t /|\\ ";
  1131. cout << "\n\t | 0 ";
  1132. cout << "\n\t / \\ \\/|\\ ";
  1133. cout << "\n\t /\\ ";
  1134. cout << "\n\t ";
  1135. cout << "\n\n";
  1136. return PH;
  1137. }else if (ctr >= 4 ){
  1138. if(!(ran == 0)){
  1139. system("CLS");
  1140. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1141. cout << "\n\t 0 ";
  1142. cout << "\n\t /|\\ ";
  1143. cout << "\n\t | ___0 ";
  1144. cout << "\n\t / \\ \\|\\ ";
  1145. cout << "\n\t /\\ ";
  1146. cout << "\n\t ";
  1147. cout << "\n\n";
  1148. cout <<"\n\n\tPress any key to continue...";
  1149. getch();
  1150. system("CLS");
  1151. system("CLS");
  1152. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1153. cout << "\n\t 0 ";
  1154. cout << "\n\t /|\\ ";
  1155. cout << "\n\t | <-- ___0 ";
  1156. cout << "\n\t / \\ \\|\\ ";
  1157. cout << "\n\t /\\ ";
  1158. cout << "\n\t ";
  1159. cout << "\n\n";
  1160. cout <<"\n\n\tPress any key to continue...";
  1161. getch();
  1162. system("CLS");
  1163. PH = Damage(1,PH,Stage,Strength,Vitality,Luck,Weapon);
  1164. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1165. cout << "\n\t 0 !! ";
  1166. cout << "\n\t /|\\ ";
  1167. cout << "\n\t |-- ___0 ";
  1168. cout << "\n\t / \\ \\|\\ ";
  1169. cout << "\n\t /\\ ";
  1170. cout << "\n\t ";
  1171. cout << "\n\n";
  1172. cout <<"\n\n\tPress any key to continue...";
  1173. getch();
  1174. system("CLS");
  1175. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1176. cout << "\n\t 0 ";
  1177. cout << "\n\t /|\\ ";
  1178. cout << "\n\t | 0 ";
  1179. cout << "\n\t / \\ \\/|\\ ";
  1180. cout << "\n\t /\\ ";
  1181. cout << "\n\t ";
  1182. cout << "\n\n";
  1183. return PH;
  1184. }else if(ran == 0){
  1185. system("CLS");
  1186. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1187. cout << "\n\t 0 ";
  1188. cout << "\n\t /|\\ ";
  1189. cout << "\n\t | 0 ";
  1190. cout << "\n\t / \\ \\/|\\ ";
  1191. cout << "\n\t /\\ ";
  1192. cout << "\n\t ";
  1193. cout << "\n\n";
  1194. cout <<"\n\n\tPress any key to continue...";
  1195. getch();
  1196. system("CLS");
  1197. CH = Heal( 1, CH, 200,Stage,Strength,Vitality,Luck);
  1198. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1199. cout << "\n\t 0 ";
  1200. cout << "\n\t /|\\/ + + ";
  1201. cout << "\n\t | + 0 + ";
  1202. cout << "\n\t / \\ + \\|/ ";
  1203. cout << "\n\t + /\\ + ";
  1204. cout << "\n\t ";
  1205. cout << "\n\n";
  1206. cout <<"\n\n\tPress any key to continue...";
  1207. getch();
  1208. system("CLS");
  1209. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1210. cout << "\n\t 0 ";
  1211. cout << "\n\t /|\\ ";
  1212. cout << "\n\t | 0 ";
  1213. cout << "\n\t / \\ \\/|\\ ";
  1214. cout << "\n\t /\\ ";
  1215. cout << "\n\t ";
  1216. cout << "\n\n";
  1217. return -1001;
  1218. }
  1219. }
  1220. }else if (Stage == 3 && CH > 0){
  1221. if (ctr <= 0 ){
  1222. cout << "\n\t *At a bridge on the way home ";
  1223. cout << "\n\t ";
  1224. cout << "\n\t 0 \\ [0] ";
  1225. cout << "\n\t /|\\ \\/||\\ ";
  1226. cout << "\n\t | | | || ";
  1227. cout << "\n\t / \\ |__________________| / \\ ";
  1228. cout << "\n\t } { ";
  1229. cout << "\n\t ";
  1230. cout << "\n\n";
  1231. cout <<"\n\n\tPress any key to continue...";
  1232. getch();
  1233. system("CLS");
  1234. cout << "\n\t ";
  1235. cout << "\n\t ";
  1236. cout << "\n\t 0 !! \\ [0] ";
  1237. cout << "\n\t /|\\ \\/||\\ ";
  1238. cout << "\n\t | | | || ";
  1239. cout << "\n\t / \\ |__ _____| / \\ ";
  1240. cout << "\n\t } \\ / { ";
  1241. cout << "\n\t \\ / ";
  1242. return PH;
  1243. }else if (ctr <=1 && ctr > 0 ){
  1244. system("CLS");
  1245. cout << "\n\t ";
  1246. cout << "\n\t ";
  1247. cout << "\n\t 0 \\ [0] ";
  1248. cout << "\n\t /|\\ \\/||\\ ";
  1249. cout << "\n\t | | | || ";
  1250. cout << "\n\t / \\ |__ _____| / \\ ";
  1251. cout << "\n\t } \\ / { ";
  1252. cout << "\n\t \\ / ";
  1253. return PH;
  1254. }else if (ctr <= 2 && ctr > 1 ){
  1255. system("CLS");
  1256. cout << "\n\t ";
  1257. cout << "\n\t ";
  1258. cout << "\n\t 0 \\ [0] ";
  1259. cout << "\n\t /|\\ \\/||\\ ";
  1260. cout << "\n\t | | | || ";
  1261. cout << "\n\t / \\ |__ _____| / \\ ";
  1262. cout << "\n\t } \\ / { ";
  1263. cout << "\n\t \\ / ";
  1264. return PH;
  1265. }else if (ctr <= 3 && ctr > 2 ){
  1266. system("CLS");
  1267. cout << "\n\t ";
  1268. cout << "\n\t \"On another router \" ";
  1269. cout << "\n\t 0 ";
  1270. cout << "\n\t /|\\ ";
  1271. cout << "\n\t | ";
  1272. cout << "\n\t / \\ ";
  1273. cout << "\n\t ";
  1274. cout << "\n\t ";
  1275. cout << "\n\n";
  1276. cout <<"\n\n\tPress any key to continue...";
  1277. getch();
  1278. system("CLS");
  1279. cout << "\n\t ";
  1280. cout << "\n\t 0 ";
  1281. cout << "\n\t /|\\ !!! _.^\\~~~~~~.___,_,., ";
  1282. cout << "\n\t | ~~/\\__(___(___~~~~/ ";
  1283. cout << "\n\t / \\ __// __\\\\ ";
  1284. cout << "\n\t ";
  1285. cout << "\n\t ";
  1286. cout << "\n\n";
  1287. cout <<"\n\n\tPress any key to continue...";
  1288. getch();
  1289. system("CLS");
  1290. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1291. cout << "\n\t 0 ";
  1292. cout << "\n\t /|\\ _.^\\~~~~~~.___,_,., ";
  1293. cout << "\n\t | ~~/\\__(___(___~~~~/ ";
  1294. cout << "\n\t / \\ __// __\\\\ ";
  1295. cout << "\n\t ";
  1296. cout << "\n\t ";
  1297. cout << "\n\n";
  1298. cout <<"\n\n\tPress any key to continue...";
  1299. getch();
  1300. return PH;
  1301. }else if (ctr >= 4 ){
  1302. if(!(ran == 0)){
  1303. system("CLS");
  1304. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1305. cout << "\n\t 0 ";
  1306. cout << "\n\t /|\\ _.^\\~~~~~~.___,_,., ";
  1307. cout << "\n\t | ~~/\\__(___(___~~~~/ ";
  1308. cout << "\n\t / \\ __// __\\\\ ";
  1309. cout << "\n\t ";
  1310. cout << "\n\t ";
  1311. cout << "\n\n";
  1312. cout <<"\n\n\tPress any key to continue...";
  1313. getch();
  1314. system("CLS");
  1315. cout << "\n\t "<<PH<<" ";
  1316. cout << "\n\t 0 "<<CH<<" ";
  1317. cout << "\n\t /|\\ ";
  1318. cout << "\n\t | \\\\ ";
  1319. cout << "\n\t / \\ \\\\ \\ \\ \\\\ ";
  1320. cout << "\n\t \\\\ ";
  1321. cout << "\n\t \\ \\ ";
  1322. cout << "\n\n";
  1323. cout <<"\n\n\tPress any key to continue...";
  1324. getch();
  1325. system("CLS");
  1326. PH = Damage(1,PH,Stage,Strength,Vitality,Luck,Weapon);
  1327. cout << "\n\t "<<PH<<" ";
  1328. cout << "\n\t * ";
  1329. cout << "\n\t * \\0 !! ";
  1330. cout << "\n\t * \\/\\\\ ";
  1331. cout << "\n\t \\ \\|\\\\ ";
  1332. cout << "\n\t \\/\\\ \\ ";
  1333. cout << "\n\t \\ \\ \\ ";
  1334. cout << "\n\t * * * ";
  1335. cout << "\n\n";
  1336. cout <<"\n\n\tPress any key to continue...";
  1337. getch();
  1338. system("CLS");
  1339. cout << "\n\t 0 "<<CH<<" ";
  1340. cout << "\n\t /|\\ _.^\\~~~~~~.___,_,., ";
  1341. cout << "\n\t | ~~/\\__(___(___~~~~/ ";
  1342. cout << "\n\t / \\ __// __\\\\ ";
  1343. cout << "\n\t ";
  1344. cout << "\n\t ";
  1345. cout << "\n\n";
  1346. return PH;
  1347. }else if(ran == 0){
  1348. system("CLS");
  1349. cout << "\n\t "<<PH<<" ";
  1350. cout << "\n\t 0 "<<CH<<" ";
  1351. cout << "\n\t /|\\ _.^\\~~~~~~.___,_,., ";
  1352. cout << "\n\t | ~~/\\__(___(___~~~~/ ";
  1353. cout << "\n\t / \\ __// __\\\\ ";
  1354. cout << "\n\t ";
  1355. cout << "\n\t ";
  1356. cout << "\n\n";
  1357. cout <<"\n\n\tPress any key to continue...";
  1358. getch();
  1359. system("CLS");
  1360. cout << "\n\t "<<PH<<" ";
  1361. cout << "\n\t 0 ";
  1362. cout << "\n\t /|\\ "<<CH<<" ";
  1363. cout << "\n\t | \\\\ ";
  1364. cout << "\n\t / \\ \\\\ \\ \\ \\\\ ";
  1365. cout << "\n\t \\\\ ";
  1366. cout << "\n\t \\ \\ ";
  1367. cout << "\n\n";
  1368. cout <<"\n\n\tPress any key to continue...";
  1369. getch();
  1370. system("CLS");
  1371. PH = Damage(1,PH,Stage,Strength,Vitality,Luck,Weapon);
  1372. cout << "\n\t "<<PH<<" ";
  1373. cout << "\n\t * ";
  1374. cout << "\n\t * \\0 !! ";
  1375. cout << "\n\t * \\/\\\\ ";
  1376. cout << "\n\t \\ \\|\\\\ ";
  1377. cout << "\n\t \\/\\\ \\ ";
  1378. cout << "\n\t \\ \\ \\ ";
  1379. cout << "\n\t * * * ";
  1380. cout << "\n\n";
  1381. cout <<"\n\n\tPress any key to continue...";
  1382. getch();
  1383. system("CLS");
  1384. PH = Damage(1,PH,Stage,Strength/2,Vitality,Luck,Weapon);
  1385. cout << "\n\t "<<PH<<" ";
  1386. cout << "\n\t * ";
  1387. cout << "\n\t 0 / * !!!! ";
  1388. cout << "\n\t /|/\\/ * ";
  1389. cout << "\n\t / / / ";
  1390. cout << "\n\t / / / ";
  1391. cout << "\n\t / / / ";
  1392. cout << "\n\t * * * ";
  1393. cout << "\n\n";
  1394. cout <<"\n\n\tPress any key to continue...";
  1395. getch();
  1396. system("CLS");
  1397. cout << "\n\t "<<PH<<" ";
  1398. cout << "\n\t 0 "<<CH<<" ";
  1399. cout << "\n\t /|\\ _.^\\~~~~~~.___,_,., ";
  1400. cout << "\n\t | ~~/\\__(___(___~~~~/ ";
  1401. cout << "\n\t / \\ __// __\\\\ ";
  1402. cout << "\n\t ";
  1403. cout << "\n\t ";
  1404. cout << "\n\n";
  1405. return PH;
  1406. }
  1407. }
  1408. }else if (Stage == 4 && CH > 0){
  1409. if (ctr <= 0 ){
  1410. system("CLS");
  1411. cout << "\n\t ";
  1412. cout << "\n\t 0 \\ [0] ";
  1413. cout << "\n\t /|\\ \\/||\\ ";
  1414. cout << "\n\t | || ";
  1415. cout << "\n\t / \\ / \\ ";
  1416. cout << "\n\t ";
  1417. cout << "\n\t ";
  1418. cout << "\n\n";
  1419. cout << "\n\n";
  1420. cout <<"\n\n\tPress any key to continue...";
  1421. getch();
  1422. return PH;
  1423. }else if (ctr <=1 && ctr > 0 ){
  1424. system("CLS");
  1425. cout << "\n\t ";
  1426. cout << "\n\t 0 \\ [0] ";
  1427. cout << "\n\t /|\\ \\/||\\ ";
  1428. cout << "\n\t | || ";
  1429. cout << "\n\t / \\ / \\ ";
  1430. cout << "\n\t ";
  1431. cout << "\n\t ";
  1432. cout << "\n\n";
  1433. cout << "\n\n";
  1434. return PH;
  1435. }else if (ctr <= 2 && ctr > 1 ){
  1436. system("CLS");
  1437. cout << "\n\t ";
  1438. cout << "\n\t 0 0 ";
  1439. cout << "\n\t /|\\ /|\\ ";
  1440. cout << "\n\t | | ";
  1441. cout << "\n\t / \\ _ _ \\ / \\ [] ";
  1442. cout << "\n\t ";
  1443. cout << "\n\t ";
  1444. cout << "\n\n";
  1445. cout << "\n\n";
  1446. return PH;
  1447. }else if (ctr <= 3 && ctr > 2 ){
  1448. system("CLS");
  1449. cout << "\n\t ";
  1450. cout << "\n\t 0 0 ";
  1451. cout << "\n\t /|\\ ---+=| ";
  1452. cout << "\n\t | | ";
  1453. cout << "\n\t / \\ / \\ ";
  1454. cout << "\n\t ";
  1455. cout << "\n\t ";
  1456. cout << "\n\n";
  1457. cout <<"\n\n\tPress any key to continue...";
  1458. getch();
  1459. system("CLS");
  1460. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1461. cout << "\n\t 0 0__ ";
  1462. cout << "\n\t /|\\ ---+=|$$} ";
  1463. cout << "\n\t | |__} ";
  1464. cout << "\n\t / \\ / \\ ";
  1465. cout << "\n\t ";
  1466. cout << "\n\t ";
  1467. cout << "\n\n";
  1468. return PH;
  1469. }else if (ctr >= 4 ){
  1470. if(!(ran == 0)){
  1471. system("CLS");
  1472. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1473. cout << "\n\t 0 0__ ";
  1474. cout << "\n\t /|\\ ---+=|$$} ";
  1475. cout << "\n\t | |__} ";
  1476. cout << "\n\t / \\ / \\ ";
  1477. cout << "\n\t ";
  1478. cout << "\n\t ";
  1479. cout << "\n\n";
  1480. cout <<"\n\n\tPress any key to continue...";
  1481. getch();
  1482. system("CLS");
  1483. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1484. cout << "\n\t 0 0 / \\ ";
  1485. cout << "\n\t /|\\ ---+__\\$ $\\ ";
  1486. cout << "\n\t | \\__/ ";
  1487. cout << "\n\t / \\ < \\ ";
  1488. cout << "\n\t ";
  1489. cout << "\n\t ";
  1490. cout << "\n\n";
  1491. cout <<"\n\n\tPress any key to continue...";
  1492. getch();
  1493. system("CLS");
  1494. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1495. cout << "\n\t 0 \\ \\ ";
  1496. cout << "\n\t /|\\ \\ \\ \\ ";
  1497. cout << "\n\t | \\ ";
  1498. cout << "\n\t / \\ \\ \\ ";
  1499. cout << "\n\t ";
  1500. cout << "\n\t ";
  1501. cout << "\n\n";
  1502. cout <<"\n\n\tPress any key to continue...";
  1503. getch();
  1504. system("CLS");
  1505. PH = Damage(1,PH,Stage,Strength,Vitality,Luck,Weapon);
  1506. cout << "\n\t "<<PH<<" ";
  1507. cout << "\n\t\\ / ";
  1508. cout << "\n\t \\ 0 / ";
  1509. cout << "\n\t /|\\ ";
  1510. cout << "\n\t /|\\ ";
  1511. cout << "\n\t // \\\\ ";
  1512. cout << "\n\t/ \\ ";
  1513. cout << "\n\t ";
  1514. cout << "\n\n";
  1515. cout <<"\n\n\tPress any key to continue...";
  1516. getch();
  1517. system("CLS");
  1518. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1519. cout << "\n\t 0 0__ ";
  1520. cout << "\n\t /|\\ ---+=|$$} ";
  1521. cout << "\n\t | |__} ";
  1522. cout << "\n\t / \\ / \\ ";
  1523. cout << "\n\t ";
  1524. cout << "\n\t ";
  1525. cout << "\n\n";
  1526. return PH;
  1527. }else if(ran == 0){
  1528. system("CLS");
  1529. system("CLS");
  1530. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1531. cout << "\n\t 0 0__ ";
  1532. cout << "\n\t /|\\ ---+=|$$} ";
  1533. cout << "\n\t | |__} ";
  1534. cout << "\n\t / \\ / \\ ";
  1535. cout << "\n\t ";
  1536. cout << "\n\t ";
  1537. cout << "\n\n";
  1538. cout <<"\n\n\tPress any key to continue...";
  1539. getch();
  1540. system("CLS");
  1541. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1542. cout << "\n\t 0 / 0__ ";
  1543. cout << "\n\t /|\\ / ---+=|$$} ";
  1544. cout << "\n\t | ( |__} ";
  1545. cout << "\n\t / \\ \\ / \\ ";
  1546. cout << "\n\t \\ ";
  1547. cout << "\n\t ";
  1548. cout << "\n\n";
  1549. cout <<"\n\n\tPress any key to continue...";
  1550. getch();
  1551. system("CLS");
  1552. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1553. cout << "\n\t 0 / 0__ ";
  1554. cout << "\n\t /|\\ / ---+=|$$} ";
  1555. cout << "\n\t | ( |__} ";
  1556. cout << "\n\t / \\ \\ / \\ ";
  1557. cout << "\n\t \\ ";
  1558. cout << "\n\t ";
  1559. cout << "\n\n";
  1560. cout <<"\n\n\tPress any key to continue...";
  1561. getch();
  1562. system("CLS");
  1563. PH = Damage(1,PH,Stage,Strength*1.3,Vitality,Luck,Weapon);
  1564. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1565. cout << "\n\t !!0 / 0__ ";
  1566. cout << "\n\t /| / ---+=|$$} ";
  1567. cout << "\n\t |( |__} ";
  1568. cout << "\n\t / \\\\ / \\ ";
  1569. cout << "\n\t \\ ";
  1570. cout << "\n\t ";
  1571. cout << "\n\n";
  1572. cout <<"\n\n\tPress any key to continue...";
  1573. getch();
  1574. system("CLS");
  1575. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1576. cout << "\n\t 0 0__ ";
  1577. cout << "\n\t /|\\ ---+=|$$} ";
  1578. cout << "\n\t | |__} ";
  1579. cout << "\n\t / \\ / \\ ";
  1580. cout << "\n\t ";
  1581. cout << "\n\t ";
  1582. cout << "\n\n";
  1583. return PH;
  1584. }
  1585. }
  1586. }else if (Stage == 5 && CH > 0){
  1587. if (ctr <= 0 ){
  1588. cout << "\n\t ____ ";
  1589. cout << "\n\t | | ";
  1590. cout << "\n\t 0 | + | ";
  1591. cout << "\n\t /|\\ 0 | | ";
  1592. cout << "\n\t | /| | | ";
  1593. cout << "\n\t / \\ / /_|_| | ";
  1594. cout << "\n\t / | | | ";
  1595. cout << "\n\t { }|_________| ";
  1596. cout << "\n\n";
  1597. return PH;
  1598. }else if (ctr <=1 && ctr > 0 ){
  1599. system("CLS");
  1600. cout << "\n\t ____ ";
  1601. cout << "\n\t | | ";
  1602. cout << "\n\t 0 | + | ";
  1603. cout << "\n\t /|\\ 0 | | ";
  1604. cout << "\n\t | /| | | ";
  1605. cout << "\n\t / \\ / /_|_| | ";
  1606. cout << "\n\t / | | | ";
  1607. cout << "\n\t { }|_________| ";
  1608. cout << "\n\n";
  1609. return PH;
  1610. }else if (ctr <= 2 && ctr > 1 ){
  1611. system("CLS");
  1612. cout << "\n\t ____ ";
  1613. cout << "\n\t | | ";
  1614. cout << "\n\t 0 | + | ";
  1615. cout << "\n\t /|\\ 0 | | ";
  1616. cout << "\n\t | ,__| | | ";
  1617. cout << "\n\t / \\ / _|_| | ";
  1618. cout << "\n\t / | | | ";
  1619. cout << "\n\t { }|_________| ";
  1620. cout << "\n\n";
  1621. return PH;
  1622. }else if (ctr <= 3 && ctr > 2 ){
  1623. system("CLS");
  1624. cout << "\n\t ____ ";
  1625. cout << "\n\t \\ \\ | | ";
  1626. cout << "\n\t 0 \\ | + | ";
  1627. cout << "\n\t /|\\ \\ 0 | | ";
  1628. cout << "\n\t | ,__| | | ";
  1629. cout << "\n\t / \\ \\ / _|_| | ";
  1630. cout << "\n\t _ / | | | ";
  1631. cout << "\n\t { }|_________| ";
  1632. cout << "\n\n";
  1633. cout <<"\n\n\tPress any key to continue...";
  1634. getch();
  1635. system("CLS");
  1636. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1637. cout << "\n\t _ _0_ _ _ ";
  1638. cout << "\n\t 0 !!! {_} [ ] {_}\\ ";
  1639. cout << "\n\t /|\\ (^^^)_// [_]_// \\ ";
  1640. cout << "\n\t | | ___()\\ ()/\\___\\ ";
  1641. cout << "\n\t / \\ (___) _| _|\\/ ";
  1642. cout << "\n\t ";
  1643. cout << "\n\t ";
  1644. cout << "\n\n";
  1645. cout <<"\n\n\tPress any key to continue...";
  1646. getch();
  1647. return PH;
  1648. }else if (ctr >= 4 ){
  1649. if(!(ran == 0)){
  1650. system("CLS");
  1651. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1652. cout << "\n\t _ _0_ _ _ ";
  1653. cout << "\n\t 0 {_} [ ] {_}\\ ";
  1654. cout << "\n\t /|\\ (^^^)_// [_]_// \\ ";
  1655. cout << "\n\t | | ___()\\ ()/\\___\\ ";
  1656. cout << "\n\t / \\ (___) _| _|\\/ ";
  1657. cout << "\n\t ";
  1658. cout << "\n\t ";
  1659. cout << "\n\n";
  1660. cout <<"\n\n\tPress any key to continue...";
  1661. getch();
  1662. system("CLS");
  1663. cout << "\n\t ";
  1664. cout << "\n\t _______________(^^^) ";
  1665. cout << "\n\t |_______________ | ";
  1666. cout << "\n\t ||_ 0_ _ _|| (___) ";
  1667. cout << "\n\t 0 {_} [ ] {_}\\ "<<CH<<" ";
  1668. cout << "\n\t /|\\ \\ [_] \\ ";
  1669. cout << "\n\t | ()\\ ()/\\___\\ ";
  1670. cout << "\n\t / \\ < <\\/ ";
  1671. cout << "\n\t "<<PH<<" ";
  1672. cout << "\n\t ";
  1673. cout << "\n\n";
  1674. cout <<"\n\n\tPress any key to continue...";
  1675. getch();
  1676. system("CLS");
  1677. cout << "\n\t _______________(^^^) ";
  1678. cout << "\n\t |_______________ | ";
  1679. cout << "\n\t ||_ 0_ _ _|| (___) "<<CH<<" ";
  1680. cout << "\n\t {_} [ ] {_}\\ ";
  1681. cout << "\n\t 0 \\ [_] \\ ";
  1682. cout << "\n\t /|\\ ()\\ ()/\\_\\ \\ ";
  1683. cout << "\n\t | _\\ _\\/ \\ \\ ";
  1684. cout << "\n\t / \\ \\ \\ \\ \\ ";
  1685. cout << "\n\t (__________) ";
  1686. cout << "\n\t "<<PH<<" ";
  1687. cout << "\n\n";
  1688. cout <<"\n\n\tPress any key to continue...";
  1689. getch();
  1690. system("CLS");
  1691. PH = Damage(1,PH,Stage,Strength,Vitality,Luck,Weapon);
  1692. cout << "\n\t . \\ ";
  1693. cout << "\n\t \\ \\ ";
  1694. cout << "\n\t\\ . \\ "<<CH<<" ";
  1695. cout << "\n\t . \\ . \\ \\ / / _ _0_ _ _ ";
  1696. cout << "\n\t 0 !! . \\ ___ / {_} [ ] {_}\\ ";
  1697. cout << "\n\t \\ /|\\ \\ ( )__/__\\____//__[_]_//_\\ ";
  1698. cout << "\n\t . | \\ \\ / ____________________| / ";
  1699. cout << "\n\t \\ / \\ \\ \\(____// \\__ _\\ _\\/_____/ ";
  1700. cout << "\n\t "<<PH<<" ";
  1701. cout << "\n\t ";
  1702. cout << "\n\t ";
  1703. cout << "\n\n";
  1704. cout <<"\n\n\tPress any key to continue...";
  1705. getch();
  1706. return PH;
  1707. }else if(ran == 0){
  1708. system("CLS");
  1709. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1710. cout << "\n\t _ _0_ _ _ ";
  1711. cout << "\n\t 0 {_} [ ] {_}\\ ";
  1712. cout << "\n\t /|\\ (^^^)_// [_]_// \\ ";
  1713. cout << "\n\t | | ___()\\ ()/\\___\\ ";
  1714. cout << "\n\t / \\ (___) _| _|\\/ ";
  1715. cout << "\n\t ";
  1716. cout << "\n\t ";
  1717. cout << "\n\n";
  1718. cout <<"\n\n\tPress any key to continue...";
  1719. getch();
  1720. system("CLS");
  1721. cout << "\n\t ";
  1722. cout << "\n\t _______________(^^^) ";
  1723. cout << "\n\t |_______________ | ";
  1724. cout << "\n\t ||_ 0_ _ _|| (___) ";
  1725. cout << "\n\t 0 {_} [ ] {_}\\ "<<CH<<" ";
  1726. cout << "\n\t /|\\ \\ [_] \\ ";
  1727. cout << "\n\t | ()\\ ()/\\___\\ ";
  1728. cout << "\n\t / \\ < <\\/ ";
  1729. cout << "\n\t "<<PH<<" ";
  1730. cout << "\n\t ";
  1731. cout << "\n\n";
  1732. cout <<"\n\n\tPress any key to continue...";
  1733. getch();
  1734. system("CLS");
  1735. cout << "\n\t ";
  1736. cout << "\n\t _______________(^^^) ";
  1737. cout << "\n\t |_______________ | ";
  1738. cout << "\n\t ||_ 0_ _ _|| (___) ";
  1739. cout << "\n\t 0 {_} [ ] {_}\\ "<<CH<<" ";
  1740. cout << "\n\t /|\\ \\ [_] \\ ";
  1741. cout << "\n\t | ()\\ ()/\\___\\ ";
  1742. cout << "\n\t / \\ < <\\/ ";
  1743. cout << "\n\t "<<PH<<" ";
  1744. cout << "\n\t ";
  1745. cout << "\n\n";
  1746. cout <<"\n\n\tPress any key to continue...";
  1747. getch();
  1748. system("CLS");
  1749. PH = Damage(1,PH,Stage,Strength*1.7,Vitality,Luck,Weapon);
  1750. cout << "\n\t ";
  1751. cout << "\n\t ";
  1752. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1753. cout << "\n\t !! _ _0_ _ _ ";
  1754. cout << "\n\t 0 ___ {_} [ ] {_}\\ ";
  1755. cout << "\n\t (/\\ /\\ ( )_________//__[_]_//_\\ ";
  1756. cout << "\n\t /\\ \\ / \\ /\\ / ____________________| ";
  1757. cout << "\n\t / / \\/ \\__(____/___ \\__ _\\ _\\ ";
  1758. cout << "\n\t ";
  1759. cout << "\n\t ";
  1760. cout << "\n\t ";
  1761. cout << "\n\n";
  1762. cout <<"\n\n\tPress any key to continue...";
  1763. getch();
  1764. system("CLS");
  1765. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1766. cout << "\n\t _ _0_ _ _ ";
  1767. cout << "\n\t 0 {_} [ ] {_}\\ ";
  1768. cout << "\n\t /|\\ (^^^)_// [_]_// \\ ";
  1769. cout << "\n\t | | ___()\\ ()/\\___\\ ";
  1770. cout << "\n\t / \\ (___) _| _|\\/ ";
  1771. cout << "\n\t ";
  1772. cout << "\n\t ";
  1773. cout << "\n\n";
  1774. return PH;
  1775. }
  1776. }
  1777. }else if (CH <= 0){
  1778. SPicture(PH,CH,Stage,Weapon);
  1779. return CH;
  1780. }
  1781. }else if(Turn == 0){
  1782. if(Stage == 1 && PH > 0){
  1783. if(ctr ==2 ){
  1784. system("CLS");
  1785. cout << "\n\t "<< PH <<" "<<CH<<" ";
  1786. cout << "\n\t \\ 0 \\ [0] ";
  1787. cout << "\n\t \\|\\ \\/||\\ ";
  1788. cout << "\n\t | || ";
  1789. cout << "\n\t / > / \\ ";
  1790. cout << "\n\t / ";
  1791. cout << "\n\t ";
  1792. cout << "\n\n";
  1793. cout <<"\n\n\tPress any key to continue...";
  1794. getch();
  1795. system("CLS");
  1796. cout << "\n\t "<< PH <<" "<<CH<<" ";
  1797. cout << "\n\t \\ 0 \\ [0] ";
  1798. cout << "\n\t \\|\\ \\/||\\ ";
  1799. cout << "\n\t | || ";
  1800. cout << "\n\t / > / \\ ";
  1801. cout << "\n\t / ";
  1802. cout << "\n\t ";
  1803. cout << "\n\n";
  1804. cout <<"\n\n\tPress any key to continue...";
  1805. getch();
  1806. system("CLS");
  1807. CH = Damage(ctr,CH,Stage,Strength,Vitality,Luck,Weapon);
  1808. cout << "\n\t "<< PH <<" "<<CH<<" ";
  1809. cout << "\n\t 0 \\ [0] ";
  1810. cout << "\n\t /|-/ \\/||\\ ";
  1811. cout << "\n\t | || ";
  1812. cout << "\n\t / > / \\ ";
  1813. cout << "\n\t / ";
  1814. cout << "\n\t ";
  1815. cout << "\n\n";
  1816. cout <<"\n\n\tPress any key to continue...";
  1817. getch();
  1818. system("CLS");
  1819. return CH;
  1820. }else if (ctr == 3 ){
  1821. system("CLS");
  1822. PH = Heal( 3, PH,FullH, Stage,Strength,Vitality,Luck);
  1823. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1824. cout << "\n\t+ 0 + \\ [0] ";
  1825. cout << "\n\t \\|> \\/||\\ ";
  1826. cout << "\n\t +| + || ";
  1827. cout << "\n\t / \\ / \\ ";
  1828. cout << "\n\t + ";
  1829. cout << "\n\t ";
  1830. cout << "\n\n";
  1831. cout <<"\n\n\tPress any key to continue...";
  1832. getch();
  1833. system("CLS");
  1834. return -1001;
  1835. }else if(ctr == 4 ){
  1836. Hold = Buff( Strength, Vitality, Luck );
  1837. if (Hold == 0){
  1838. Use = "+ Strength";
  1839. Hold = -1009;
  1840. }else if(Hold ==1){
  1841. Use = "+ Vitality";
  1842. Hold = -1008;
  1843. }else if (Hold ==2){
  1844. Use = "+ Luck";
  1845. Hold = -1007;
  1846. }else if (Hold == 3){
  1847. Use = "Request Denied, The God refused ";
  1848. Hold = -1006;
  1849. }
  1850. system("CLS");
  1851. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1852. cout << "\n\t 0 \\ [0] ";
  1853. cout << "\n\t \\|> \\ 0 \\/||\\ ";
  1854. cout << "\n\t | --|33 || ";
  1855. cout << "\n\t / \\ /\\ / \\ ";
  1856. cout << "\n\t "<<Use<< " ";
  1857. cout << "\n\t ";
  1858. cout << "\n\n";
  1859. cout <<"\n\n\tPress any key to continue...";
  1860. getch();
  1861. system("CLS");
  1862. return Hold;
  1863. }
  1864. }else if (Stage == 2 && PH > 0){
  1865. if(ctr ==2){
  1866. if(Weapon == 1){
  1867. system("CLS");
  1868. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1869. cout << "\n\t 0 |\\ ";
  1870. cout << "\n\t /|\\ |-|-> ";
  1871. cout << "\n\t | | / 0 ";
  1872. cout << "\n\t / \\ \\/|\\ ";
  1873. cout << "\n\t /\\ ";
  1874. cout << "\n\t ";
  1875. cout << "\n\n";
  1876. cout <<"\n\n\tPress any key to continue...";
  1877. getch();
  1878. system("CLS");
  1879. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1880. cout << "\n\t 0 |\\ ";
  1881. cout << "\n\t /|\\ | | ---> ";
  1882. cout << "\n\t | | / 0 ";
  1883. cout << "\n\t / \\ \\/|\\ ";
  1884. cout << "\n\t /\\ ";
  1885. cout << "\n\t ";
  1886. cout << "\n\n";
  1887. cout <<"\n\n\tPress any key to continue...";
  1888. getch();
  1889. system("CLS");
  1890. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1891. cout << "\n\t 0 |\\ ";
  1892. cout << "\n\t /|\\ | | ";
  1893. cout << "\n\t | | / 0 ";
  1894. cout << "\n\t / \\ ---> \\/|\\ ";
  1895. cout << "\n\t /\\ ";
  1896. cout << "\n\t ";
  1897. cout << "\n\n";
  1898. cout <<"\n\n\tPress any key to continue...";
  1899. getch();
  1900. system("CLS");
  1901. CH = Damage(ctr,CH,Stage,Strength,Vitality,Luck,Weapon);
  1902. cout << "\n\t "<<PH<<" "<<CH<<" ";
  1903. cout << "\n\t 0 |\\ ";
  1904. cout << "\n\t /|\\ | | !! ";
  1905. cout << "\n\t | | / \\ 0 ";
  1906. cout << "\n\t / \\ ---\\/|\\ ";
  1907. cout << "\n\t / /\\ ";
  1908. cout << "\n\t ";
  1909. cout << "\n\n";
  1910. cout <<"\n\n\tPress any key to continue...";
  1911. getch();
  1912. system("CLS");
  1913. return CH;
  1914. }else if (Weapon == 2){
  1915. system("CLS");
  1916. cout << "\n\t "<<PH<<" ";
  1917. cout << "\n\t | ";
  1918. cout << "\n\t 0_|_ ";
  1919. cout << "\n\t /|\\+ "<<CH<<" ";
  1920. cout << "\n\t | 0 ";
  1921. cout << "\n\t / \\ \\/|\\ ";
  1922. cout << "\n\t /\\ ";
  1923. cout << "\n\t ";
  1924. cout << "\n\n";
  1925. cout <<"\n\n\tPress any key to continue...";
  1926. getch();
  1927. system("CLS");
  1928. cout << "\n\t "<<PH<<" ";
  1929. cout << "\n\t / ";
  1930. cout << "\n\t 0 \\/ ";
  1931. cout << "\n\t |\\/\\ "<<CH<<" ";
  1932. cout << "\n\t | 0 ";
  1933. cout << "\n\t / \\ \\/|\\ ";
  1934. cout << "\n\t /\\ ";
  1935. cout << "\n\t ";
  1936. cout << "\n\n";
  1937. cout <<"\n\n\tPress any key to continue...";
  1938. getch();
  1939. system("CLS");
  1940. CH = Damage(ctr,CH,Stage,Strength,Vitality,Luck,Weapon);
  1941. cout << "\n\t "<<PH<<" ";
  1942. cout << "\n\t * ";
  1943. cout << "\n\t 0 \\ ";
  1944. cout << "\n\t |\\ \\ "<<CH<<" ";
  1945. cout << "\n\t | \\/ 0 ";
  1946. cout << "\n\t / \\/\\ \\/|\\ ";
  1947. cout << "\n\t \\ /\\ \\ ";
  1948. cout << "\n\t \\ ";
  1949. cout << "\n\t * ";
  1950. cout << "\n\n";
  1951. cout <<"\n\n\tPress any key to continue...";
  1952. getch();
  1953. system("CLS");
  1954. return CH;
  1955. }else if (Weapon == 3){
  1956. system("CLS");
  1957. cout << "\n\t "<<PH<<" ";
  1958. cout << "\n\t ";
  1959. cout << "\n\t 0 ";
  1960. cout << "\n\t |\\+-- "<<CH<<" ";
  1961. cout << "\n\t | 0 ";
  1962. cout << "\n\t / \\ \\/|\\ ";
  1963. cout << "\n\t /\\ ";
  1964. cout << "\n\t ";
  1965. cout << "\n\n";
  1966. cout <<"\n\n\tPress any key to continue...";
  1967. getch();
  1968. system("CLS");
  1969. cout << "\n\t "<<PH<<" ";
  1970. cout << "\n\t ";
  1971. cout << "\n\t 0 ";
  1972. cout << "\n\t //=+-- "<<CH<<" ";
  1973. cout << "\n\t //> 0 ";
  1974. cout << "\n\t // \\/|\\ ";
  1975. cout << "\n\t /\\ ";
  1976. cout << "\n\t ";
  1977. cout << "\n\n";
  1978. cout <<"\n\n\tPress any key to continue...";
  1979. getch();
  1980. system("CLS");
  1981. cout << "\n\t ";
  1982. cout << "\n\t ";
  1983. cout << "\n\t "<<PH<<" ";
  1984. cout << "\n\t 0 "<<CH<<" ";
  1985. cout << "\n\t /=+-- 0 ";
  1986. cout << "\n\t /> \\/|\\ ";
  1987. cout << "\n\t / /\\ ";
  1988. cout << "\n\t ";
  1989. cout << "\n\n";
  1990. cout <<"\n\n\tPress any key to continue...";
  1991. getch();
  1992. system("CLS");
  1993. CH = Damage(ctr,CH,Stage,Strength,Vitality,Luck,Weapon);
  1994. cout << "\n\t ";
  1995. cout << "\n\t ";
  1996. cout << "\n\t "<<PH<<" ";
  1997. cout << "\n\t 0 "<<CH<<" ";
  1998. cout << "\n\t /=+--0 ! ";
  1999. cout << "\n\t /> \\/|\\ ";
  2000. cout << "\n\t / /\\ ";
  2001. cout << "\n\t ";
  2002. cout << "\n\n";
  2003. cout <<"\n\n\tPress any key to continue...";
  2004. getch();
  2005. system("CLS");
  2006. return CH;
  2007. }else if(Weapon == 4){
  2008. system("CLS");
  2009. cout << "\n\t "<< PH <<" ";
  2010. cout << "\n\t \\ 0 ";
  2011. cout << "\n\t \\|\\ ";
  2012. cout << "\n\t | "<<CH<<" ";
  2013. cout << "\n\t / > 0 ";
  2014. cout << "\n\t / \\/|\\ ";
  2015. cout << "\n\t /\\ ";
  2016. cout << "\n\n";
  2017. cout <<"\n\n\tPress any key to continue...";
  2018. getch();
  2019. system("CLS");
  2020. cout << "\n\t "<< PH <<" ";
  2021. cout << "\n\t \\ 0 ";
  2022. cout << "\n\t \\|\\ "<<CH<<" ";
  2023. cout << "\n\t | 0 ";
  2024. cout << "\n\t / > \\/|\\ ";
  2025. cout << "\n\t / /\\ ";
  2026. cout << "\n\t ";
  2027.  
  2028. cout << "\n\n";
  2029. cout <<"\n\n\tPress any key to continue...";
  2030. getch();
  2031. system("CLS");
  2032. CH = Damage(ctr,CH,Stage,Strength,Vitality,Luck,Weapon);
  2033. cout << "\n\t "<< PH <<" ";
  2034. cout << "\n\t 0 ";
  2035. cout << "\n\t /|-/ "<<CH<<" ";
  2036. cout << "\n\t | 0 ";
  2037. cout << "\n\t / > \\/|\\ ";
  2038. cout << "\n\t / /\\ ";
  2039. cout << "\n\t ";
  2040. cout << "\n\n";
  2041. cout <<"\n\n\tPress any key to continue...";
  2042. getch();
  2043. system("CLS");
  2044. return CH;
  2045. }
  2046. }else if (ctr == 3){
  2047. system("CLS");
  2048. PH = Heal( 3, PH,FullH, Stage,Strength,Vitality,Luck);
  2049. system("CLS");
  2050. cout << "\n\t "<<PH<<" ";
  2051. cout << "\n\t + ";
  2052. cout << "\n\t 0 + ";
  2053. cout << "\n\t \\|> "<<CH<<" ";
  2054. cout << "\n\t +| + 0 ";
  2055. cout << "\n\t / \\ \\/|\\ ";
  2056. cout << "\n\t + + /\\ ";
  2057. cout << "\n\t ";
  2058. cout << "\n\n";
  2059. cout <<"\n\n\tPress any key to continue...";
  2060. getch();
  2061. system("CLS");
  2062. return -1001;
  2063. }else if(ctr == 4 ){
  2064. Hold = Buff( Strength, Vitality, Luck );
  2065. if (Hold == 0){
  2066. Use = "+ Strength";
  2067. Hold = -1009;
  2068. }else if(Hold ==1){
  2069. Use = "+ Vitality";
  2070. Hold = -1008;
  2071. }else if (Hold ==2){
  2072. Use = "+ Luck";
  2073. Hold = -1007;
  2074. }else if (Hold == 3){
  2075. Use = "Request Denied, The God refused ";
  2076. Hold = -1006;
  2077. }
  2078. system("CLS");
  2079. cout << "\n\t "<<PH<<" ";
  2080. cout << "\n\t 0 ";
  2081. cout << "\n\t \\|> \\ 0 "<<Use<< " ";
  2082. cout << "\n\t | --|33 "<<CH<<" ";
  2083. cout << "\n\t / \\ /\\ 0 ";
  2084. cout << "\n\t \\/|\\ ";
  2085. cout << "\n\t /\\ ";
  2086. cout << "\n\t ";
  2087. cout << "\n\t ";
  2088. cout << "\n\n";
  2089. cout <<"\n\n\tPress any key to continue...";
  2090. getch();
  2091. system("CLS");
  2092. return Hold;
  2093. }
  2094. }else if (Stage == 3 && PH > 0){
  2095. if(ctr ==2){
  2096. if(Weapon == 1){
  2097. system("CLS");
  2098. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2099. cout << "\n\t 0 |\\ ";
  2100. cout << "\n\t /|\\ |-|-> ";
  2101. cout << "\n\t | | / _.^\\~~~~~~.___,_,., ";
  2102. cout << "\n\t / \\ ~~/\\__(___(___~~~~/ ";
  2103. cout << "\n\t __// __\\\\ ";
  2104. cout << "\n\t ";
  2105. cout << "\n\n";
  2106. cout <<"\n\n\tPress any key to continue...";
  2107. getch();
  2108. system("CLS");
  2109. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2110. cout << "\n\t 0 |\\ ";
  2111. cout << "\n\t /|\\ | | ---> ";
  2112. cout << "\n\t | | / _.^\\~~~~~~.___,_,., ";
  2113. cout << "\n\t / \\ ~~/\\__(___(___~~~~/ ";
  2114. cout << "\n\t __// __\\\\ ";
  2115. cout << "\n\t ";
  2116. cout << "\n\n";
  2117. cout <<"\n\n\tPress any key to continue...";
  2118. getch();
  2119. system("CLS");
  2120. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2121. cout << "\n\t 0 |\\ ";
  2122. cout << "\n\t /|\\ | | ";
  2123. cout << "\n\t | | / _.^\\~~~~~~.___,_,., ";
  2124. cout << "\n\t / \\ ---> ~~/\\__(___(___~~~~/ ";
  2125. cout << "\n\t __// __\\\\ ";
  2126. cout << "\n\t ";
  2127. cout << "\n\n";
  2128. cout <<"\n\n\tPress any key to continue...";
  2129. getch();
  2130. system("CLS");
  2131. CH = Damage(ctr,CH,Stage,Strength,Vitality,Luck,Weapon);
  2132. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2133. cout << "\n\t 0 |\\ ";
  2134. cout << "\n\t /|\\ | | !! ";
  2135. cout << "\n\t | | / \\_.^\\~~~~~~.___,_,., ";
  2136. cout << "\n\t / \\ ---\\~~/\\__(___(___~~~~/ ";
  2137. cout << "\n\t / / __// __\\\\ ";
  2138. cout << "\n\t ";
  2139. cout << "\n\n";
  2140. cout <<"\n\n\tPress any key to continue...";
  2141. getch();
  2142. system("CLS");
  2143. return CH;
  2144. }else if (Weapon == 2){
  2145. system("CLS");
  2146. cout << "\n\t "<<PH<<" ";
  2147. cout << "\n\t | ";
  2148. cout << "\n\t 0_|_ ";
  2149. cout << "\n\t /|\\+ "<<CH<<" ";
  2150. cout << "\n\t | _.^\\~~~~~~.___,_,., ";
  2151. cout << "\n\t / \\ ~~/\\__(___(___~~~~/ ";
  2152. cout << "\n\t __// __\\\\ ";
  2153. cout << "\n\t ";
  2154. cout << "\n\n";
  2155. cout <<"\n\n\tPress any key to continue...";
  2156. getch();
  2157. system("CLS");
  2158. cout << "\n\t "<<PH<<" ";
  2159. cout << "\n\t / ";
  2160. cout << "\n\t 0 \\/ ";
  2161. cout << "\n\t |\\/\\ "<<CH<<" ";
  2162. cout << "\n\t | _.^\\~~~~~~.___,_,., ";
  2163. cout << "\n\t / \\ ~~/\\__(___(___~~~~/ ";
  2164. cout << "\n\t __// __\\\\ ";
  2165. cout << "\n\t ";
  2166. cout << "\n\n";
  2167. cout <<"\n\n\tPress any key to continue...";
  2168. getch();
  2169. system("CLS");
  2170. CH = Damage(ctr,CH,Stage,Strength,Vitality,Luck,Weapon);
  2171. cout << "\n\t "<<PH<<" ";
  2172. cout << "\n\t * ";
  2173. cout << "\n\t 0 \\ ";
  2174. cout << "\n\t |\\ \\ "<<CH<<" ";
  2175. cout << "\n\t | \\/ _.^\\~~~~~~.___,_,., ";
  2176. cout << "\n\t / \\/\\ ~~/\\__(___(___~~~~/ ";
  2177. cout << "\n\t \\ __// __\\\\ ";
  2178. cout << "\n\t \\ ";
  2179. cout << "\n\t * ";
  2180. cout << "\n\n";
  2181. cout <<"\n\n\tPress any key to continue...";
  2182. getch();
  2183. system("CLS");
  2184. return CH;
  2185. }else if (Weapon == 3){
  2186. system("CLS");
  2187. cout << "\n\t "<<PH<<" ";
  2188. cout << "\n\t ";
  2189. cout << "\n\t 0 ";
  2190. cout << "\n\t |\\+-- "<<CH<<" ";
  2191. cout << "\n\t | _.^\\~~~~~~.___,_,., ";
  2192. cout << "\n\t / \\ ~~/\\__(___(___~~~~/ ";
  2193. cout << "\n\t __// __\\\\ ";
  2194. cout << "\n\t ";
  2195. cout << "\n\n";
  2196. cout <<"\n\n\tPress any key to continue...";
  2197. getch();
  2198. system("CLS");
  2199. cout << "\n\t "<<PH<<" ";
  2200. cout << "\n\t ";
  2201. cout << "\n\t 0 ";
  2202. cout << "\n\t //=+-- "<<CH<<" ";
  2203. cout << "\n\t //> _.^\\~~~~~~.___,_,., ";
  2204. cout << "\n\t // ~~/\\__(___(___~~~~/ ";
  2205. cout << "\n\t __// __\\\\ ";
  2206. cout << "\n\t ";
  2207. cout << "\n\n";
  2208. cout <<"\n\n\tPress any key to continue...";
  2209. getch();
  2210. system("CLS");
  2211. cout << "\n\t ";
  2212. cout << "\n\t ";
  2213. cout << "\n\t "<<PH<<" ";
  2214. cout << "\n\t 0 "<<CH<<" ";
  2215. cout << "\n\t /=+-- _.^\\~~~~~~.___,_,., ";
  2216. cout << "\n\t /> ~~/\\__(___(___~~~~/ ";
  2217. cout << "\n\t / __// __\\\\ ";
  2218. cout << "\n\t ";
  2219. cout << "\n\n";
  2220. cout <<"\n\n\tPress any key to continue...";
  2221. getch();
  2222. system("CLS");
  2223. CH = Damage(ctr,CH,Stage,Strength,Vitality,Luck,Weapon);
  2224. cout << "\n\t ";
  2225. cout << "\n\t ";
  2226. cout << "\n\t "<<PH<<" ";
  2227. cout << "\n\t 0 !! "<<CH<<" ";
  2228. cout << "\n\t /=+--.^\\~~~~~~.___,_,., ";
  2229. cout << "\n\t /> ~~/\\__(___(___~~~~/ ";
  2230. cout << "\n\t / __// __\\\\ ";
  2231. cout << "\n\t ";
  2232. cout << "\n\n";
  2233. cout <<"\n\n\tPress any key to continue...";
  2234. getch();
  2235. system("CLS");
  2236. return CH;
  2237. }else if(Weapon == 4){
  2238. system("CLS");
  2239. cout << "\n\t "<< PH <<" ";
  2240. cout << "\n\t \\ 0 ";
  2241. cout << "\n\t \\|\\ ";
  2242. cout << "\n\t | "<<CH<<" ";
  2243. cout << "\n\t / > _.^\\~~~~~~.___,_,., ";
  2244. cout << "\n\t / ~~/\\__(___(___~~~~/ ";
  2245. cout << "\n\t __// __\\\\ ";
  2246. cout << "\n\n";
  2247. cout <<"\n\n\tPress any key to continue...";
  2248. getch();
  2249. system("CLS");
  2250. cout << "\n\t "<< PH <<" ";
  2251. cout << "\n\t \\ 0 ";
  2252. cout << "\n\t \\|\\ "<<CH<<" ";
  2253. cout << "\n\t | _.^\\~~~~~~.___,_,., ";
  2254. cout << "\n\t / > ~~/\\__(___(___~~~~/ ";
  2255. cout << "\n\t / __// __\\\\ ";
  2256. cout << "\n\t ";
  2257. cout << "\n\n";
  2258. cout <<"\n\n\tPress any key to continue...";
  2259. getch();
  2260. system("CLS");
  2261. CH = Damage(ctr,CH,Stage,Strength,Vitality,Luck,Weapon);
  2262. cout << "\n\t "<< PH <<" ";
  2263. cout << "\n\t 0 ";
  2264. cout << "\n\t /|-/ "<<CH<<" ";
  2265. cout << "\n\t | _.^\\~~~~~~.___,_,., ";
  2266. cout << "\n\t / > ~~/\\__(___(___~~~~/ ";
  2267. cout << "\n\t / __// __\\\\ ";
  2268. cout << "\n\t ";
  2269. cout << "\n\n";
  2270. cout <<"\n\n\tPress any key to continue...";
  2271. getch();
  2272. system("CLS");
  2273. return CH;
  2274. }
  2275. }else if (ctr == 3){
  2276. system("CLS");
  2277. PH = Heal( 3, PH,FullH, Stage,Strength,Vitality,Luck);
  2278. system("CLS");
  2279. cout << "\n\t "<<PH<<" ";
  2280. cout << "\n\t + ";
  2281. cout << "\n\t 0 + ";
  2282. cout << "\n\t \\|> "<<CH<<" ";
  2283. cout << "\n\t +| + _.^\\~~~~~~.___,_,., ";
  2284. cout << "\n\t / \\ ~~/\\__(___(___~~~~/ ";
  2285. cout << "\n\t + + __// __\\\\ ";
  2286. cout << "\n\t ";
  2287. cout << "\n\n";
  2288. cout <<"\n\n\tPress any key to continue...";
  2289. getch();
  2290. system("CLS");
  2291. return -1001;
  2292. }else if(ctr == 4 ){
  2293. Hold = Buff( Strength, Vitality, Luck );
  2294. if (Hold == 0){
  2295. Use = "+ Strength";
  2296. Hold = -1009;
  2297. }else if(Hold ==1){
  2298. Use = "+ Vitality";
  2299. Hold = -1008;
  2300. }else if (Hold ==2){
  2301. Use = "+ Luck";
  2302. Hold = -1007;
  2303. }else if (Hold == 3){
  2304. Use = "Request Denied, The God refused ";
  2305. Hold = -1006;
  2306. }
  2307. system("CLS");
  2308. cout << "\n\t "<<PH<<" ";
  2309. cout << "\n\t 0 ";
  2310. cout << "\n\t \\|> \\ 0 ";
  2311. cout << "\n\t | --|33 "<<CH<<" ";
  2312. cout << "\n\t / \\ /\\ _.^\\~~~~~~.___,_,., ";
  2313. cout << "\n\t ~~/\\__(___(___~~~~/ ";
  2314. cout << "\n\t __// __\\\\ ";
  2315. cout << "\n\t "<<Use<< " ";
  2316. cout << "\n\t ";
  2317. cout << "\n\n";
  2318. cout <<"\n\n\tPress any key to continue...";
  2319. getch();
  2320. system("CLS");
  2321. return Hold;
  2322. }
  2323. }else if (Stage == 4 && PH > 0){
  2324.  
  2325. if(ctr ==2){
  2326.  
  2327. if(Weapon == 1){
  2328. system("CLS");
  2329. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2330. cout << "\n\t 0 |\\ 0__ ";
  2331. cout << "\n\t /|\\ |-|-> ---+=|$$} ";
  2332. cout << "\n\t | | / |__} ";
  2333. cout << "\n\t / \\ / \\ ";
  2334. cout << "\n\t ";
  2335. cout << "\n\t ";
  2336. cout << "\n\n";
  2337. cout <<"\n\n\tPress any key to continue...";
  2338. getch();
  2339. system("CLS");
  2340. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2341. cout << "\n\t 0 |\\ 0__ ";
  2342. cout << "\n\t /|\\ | | ---> ---+=|$$} ";
  2343. cout << "\n\t | | / |__} ";
  2344. cout << "\n\t / \\ / \\ ";
  2345. cout << "\n\t ";
  2346. cout << "\n\t ";
  2347. cout << "\n\n";
  2348. cout <<"\n\n\tPress any key to continue...";
  2349. getch();
  2350. system("CLS");
  2351. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2352. cout << "\n\t 0 |\\ ---> 0__ ";
  2353. cout << "\n\t /|\\ | | ---+=|$$} ";
  2354. cout << "\n\t | | / |__} ";
  2355. cout << "\n\t / \\ / \\ ";
  2356. cout << "\n\t ";
  2357. cout << "\n\t ";
  2358. cout << "\n\n";
  2359. cout <<"\n\n\tPress any key to continue...";
  2360. getch();
  2361. system("CLS");
  2362. CH = Damage(ctr,CH,Stage,Strength,Vitality,Luck,Weapon);
  2363. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2364. cout << "\n\t \\ !! ";
  2365. cout << "\n\t 0 |\\ ---0__ ";
  2366. cout << "\n\t /|\\ | | ---+/=|$$} ";
  2367. cout << "\n\t | | / |__} ";
  2368. cout << "\n\t / \\ / \\ ";
  2369. cout << "\n\t ";
  2370. cout << "\n\t ";
  2371. cout << "\n\n";
  2372. cout <<"\n\n\tPress any key to continue...";
  2373. getch();
  2374. system("CLS");
  2375. return CH;
  2376. }else if (Weapon == 2){
  2377. system("CLS");
  2378. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2379. cout << "\n\t | 0__ ";
  2380. cout << "\n\t 0_|_ ---+=|$$} ";
  2381. cout << "\n\t /|\\+ |__} ";
  2382. cout << "\n\t | / \\ ";
  2383. cout << "\n\t / \\ ";
  2384. cout << "\n\t ";
  2385. cout << "\n\t ";
  2386. cout << "\n\n";
  2387. cout <<"\n\n\tPress any key to continue...";
  2388. getch();
  2389. system("CLS");
  2390. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2391. cout << "\n\t / 0__ ";
  2392. cout << "\n\t 0 \\/ ---+=|$$} ";
  2393. cout << "\n\t |\\/\\ |__} ";
  2394. cout << "\n\t | / \\ ";
  2395. cout << "\n\t / \\ ";
  2396. cout << "\n\t ";
  2397. cout << "\n\t ";
  2398. cout << "\n\n";
  2399. cout <<"\n\n\tPress any key to continue...";
  2400. getch();
  2401. system("CLS");
  2402. CH = Damage(ctr,CH,Stage,Strength,Vitality,Luck,Weapon);
  2403. system("CLS");
  2404. cout << "\n\t "<<PH<<" * "<<CH<<" ";
  2405. cout << "\n\t \\ 0__ ";
  2406. cout << "\n\t 0 ---+=|$$} ";
  2407. cout << "\n\t |\\ |__} ";
  2408. cout << "\n\t | \\/ / \\ ";
  2409. cout << "\n\t / \\/\\ \\ ";
  2410. cout << "\n\t \\ \\ ";
  2411. cout << "\n\t * ";
  2412. cout << "\n\t ";
  2413. cout << "\n\n";
  2414. cout <<"\n\n\tPress any key to continue...";
  2415. getch();
  2416. system("CLS");
  2417. return CH;
  2418. }else if (Weapon == 3){
  2419. system("CLS");
  2420. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2421. cout << "\n\t ";
  2422. cout << "\n\t 0 0__ ";
  2423. cout << "\n\t |\\+-- ---+=|$$} ";
  2424. cout << "\n\t | |__} ";
  2425. cout << "\n\t / \\ / \\ ";
  2426. cout << "\n\t ";
  2427. cout << "\n\t ";
  2428. cout << "\n\n";
  2429. cout <<"\n\n\tPress any key to continue...";
  2430. getch();
  2431. system("CLS");
  2432. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2433. cout << "\n\t ";
  2434. cout << "\n\t 0 0__ ";
  2435. cout << "\n\t //=+-- ---+=|$$} ";
  2436. cout << "\n\t //> |__} ";
  2437. cout << "\n\t // / \\ ";
  2438. cout << "\n\t ";
  2439. cout << "\n\t ";
  2440. cout << "\n\n";
  2441. cout <<"\n\n\tPress any key to continue...";
  2442. getch();
  2443. system("CLS");
  2444. cout << "\n\t ";
  2445. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2446. cout << "\n\t 0 0__ ";
  2447. cout << "\n\t /=+-- ---+=|$$} ";
  2448. cout << "\n\t /> |__} ";
  2449. cout << "\n\t / / \\ ";
  2450. cout << "\n\t ";
  2451. cout << "\n\n";
  2452. cout <<"\n\n\tPress any key to continue...";
  2453. getch();
  2454. system("CLS");
  2455. CH = Damage(ctr,CH,Stage,Strength,Vitality,Luck,Weapon);
  2456. cout << "\n\t "<<PH<<" ";
  2457. cout << "\n\t 0 "<<CH<<" ";
  2458. cout << "\n\t /=+---0__ !! ";
  2459. cout << "\n\t /> --+=|$$} ";
  2460. cout << "\n\t / |__} ";
  2461. cout << "\n\t / \\ ";
  2462. cout << "\n\t ";
  2463. cout << "\n\n";
  2464. cout <<"\n\n\tPress any key to continue...";
  2465. getch();
  2466. system("CLS");
  2467. return CH;
  2468. }else if(Weapon == 4){
  2469. system("CLS");
  2470. cout << "\n\t "<< PH <<" "<<CH<<" ";
  2471. cout << "\n\t \\ 0 0__ ";
  2472. cout << "\n\t \\|\\ ---+=|$$} ";
  2473. cout << "\n\t | |__} ";
  2474. cout << "\n\t / > / \\ ";
  2475. cout << "\n\t / ";
  2476. cout << "\n\t ";
  2477. cout << "\n\n";
  2478. cout <<"\n\n\tPress any key to continue...";
  2479. getch();
  2480. system("CLS");
  2481. cout << "\n\t "<< PH <<" "<<CH<<" ";
  2482. cout << "\n\t \\ 0 0__ ";
  2483. cout << "\n\t \\|\\ ---+=|$$} ";
  2484. cout << "\n\t | |__} ";
  2485. cout << "\n\t / > / \\ ";
  2486. cout << "\n\t / ";
  2487. cout << "\n\t ";
  2488. cout << "\n\n";
  2489. cout <<"\n\n\tPress any key to continue...";
  2490. getch();
  2491. system("CLS");
  2492. CH = Damage(ctr,CH,Stage,Strength,Vitality,Luck,Weapon);
  2493. cout << "\n\t "<< PH <<" "<<CH<<" ";
  2494. cout << "\n\t 0 0__ ";
  2495. cout << "\n\t /|-/ ---+=|$$} ";
  2496. cout << "\n\t | |__} ";
  2497. cout << "\n\t / > / \\ ";
  2498. cout << "\n\t / ";
  2499. cout << "\n\t ";
  2500. cout << "\n\n";
  2501. cout <<"\n\n\tPress any key to continue...";
  2502. getch();
  2503. system("CLS");
  2504. return CH;
  2505. }
  2506. }else if (ctr == 3){
  2507. system("CLS");
  2508. PH = Heal( 3, PH,FullH, Stage,Strength,Vitality,Luck);
  2509. system("CLS");
  2510. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2511. cout << "\n\t + ";
  2512. cout << "\n\t 0 + 0__ ";
  2513. cout << "\n\t \\|> ---+=|$$} ";
  2514. cout << "\n\t +| + |__} ";
  2515. cout << "\n\t / \\ / \\ ";
  2516. cout << "\n\t + + ";
  2517. cout << "\n\t ";
  2518. cout << "\n\n";
  2519. cout <<"\n\n\tPress any key to continue...";
  2520. getch();
  2521. system("CLS");
  2522. return -1001;
  2523. }else if(ctr == 4 ){
  2524. Hold = Buff( Strength, Vitality, Luck );
  2525. if (Hold == 0){
  2526. Use = "+ Strength";
  2527. Hold = -1009;
  2528. }else if(Hold ==1){
  2529. Use = "+ Vitality";
  2530. Hold = -1008;
  2531. }else if (Hold ==2){
  2532. Use = "+ Luck";
  2533. Hold = -1007;
  2534. }else if (Hold == 3){
  2535. Use = "Request Denied, The God refused ";
  2536. Hold = -1006;
  2537. }
  2538. system("CLS");
  2539. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2540. cout << "\n\t 0 0__ ";
  2541. cout << "\n\t \\|> \\ 0 ---+=|$$} ";
  2542. cout << "\n\t | --|33 |__} ";
  2543. cout << "\n\t / \\ /\\ / \\ ";
  2544. cout << "\n\t "<<Use<< " ";
  2545. cout << "\n\t ";
  2546. cout << "\n\t ";
  2547. cout << "\n\t ";
  2548. cout << "\n\n";
  2549. cout <<"\n\n\tPress any key to continue...";
  2550. getch();
  2551. system("CLS");
  2552. return Hold;
  2553. }
  2554. }else if(Stage == 5 && PH > 0){
  2555. if(ctr ==2){
  2556. if(Weapon == 1){
  2557. system("CLS");
  2558. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2559. cout << "\n\t _ _0_ _ _ ";
  2560. cout << "\n\t 0 {_} [ ] {_}\\ ";
  2561. cout << "\n\t /|\\ (^^^)_// [_]_// \\ ";
  2562. cout << "\n\t | | ___()\\ ()/\\___\\ ";
  2563. cout << "\n\t / \\ (___) _| _|\\/ ";
  2564. cout << "\n\t ";
  2565. cout << "\n\t ";
  2566. cout << "\n\n";
  2567. cout <<"\n\n\tPress any key to continue...";
  2568. getch();
  2569. system("CLS");
  2570. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2571. cout << "\n\t _ _0_ _ _ ";
  2572. cout << "\n\t 0 |\\ {_} [ ] {_}\\ ";
  2573. cout << "\n\t /|\\ |-|-> (^^^)_// [_]_// \\ ";
  2574. cout << "\n\t | | / | ___()\\ ()/\\___\\ ";
  2575. cout << "\n\t / \\ (___) _| _|\\/ ";
  2576. cout << "\n\t ";
  2577. cout << "\n\t ";
  2578. cout << "\n\n";
  2579. cout <<"\n\n\tPress any key to continue...";
  2580. getch();
  2581. system("CLS");
  2582. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2583. cout << "\n\t _ _0_ _ _ ";
  2584. cout << "\n\t 0 |\\ {_} [ ] {_}\\ ";
  2585. cout << "\n\t /|\\ | | ---> (^^^)_// [_]_// \\ ";
  2586. cout << "\n\t | | / | ___()\\ ()/\\___\\ ";
  2587. cout << "\n\t / \\ (___) _| _|\\/ ";
  2588. cout << "\n\t ";
  2589. cout << "\n\t ";
  2590. cout << "\n\n";
  2591. cout <<"\n\n\tPress any key to continue...";
  2592. getch();
  2593. system("CLS");
  2594. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2595. cout << "\n\t ---> _ _0_ _ _ ";
  2596. cout << "\n\t 0 |\\ {_} [ ] {_}\\ ";
  2597. cout << "\n\t /|\\ | | (^^^)_// [_]_// \\ ";
  2598. cout << "\n\t | | / | ___()\\ ()/\\___\\ ";
  2599. cout << "\n\t / \\ (___) _| _|\\/ ";
  2600. cout << "\n\t ";
  2601. cout << "\n\t ";
  2602. cout << "\n\n";
  2603. cout <<"\n\n\tPress any key to continue...";
  2604. getch();
  2605. system("CLS");
  2606. CH = Damage(ctr,CH,Stage,Strength,Vitality,Luck,Weapon);
  2607. cout << "\n\t "<<PH<<" !! "<<CH<<" ";
  2608. cout << "\n\t ---0_ _ _ ";
  2609. cout << "\n\t 0 |\\ {_} [ ] {_}\\ ";
  2610. cout << "\n\t /|\\ | | (^^^)_// [_]_// \\ ";
  2611. cout << "\n\t | | / | ___()\\ ()/\\___\\ ";
  2612. cout << "\n\t / \\ (___) _| _|\\/ ";
  2613. cout << "\n\t ";
  2614. cout << "\n\t ";
  2615. cout << "\n\t ";
  2616. cout << "\n\n";
  2617. cout <<"\n\n\tPress any key to continue...";
  2618. getch();
  2619. system("CLS");
  2620. return CH;
  2621. }else if (Weapon == 2){
  2622. system("CLS");
  2623. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2624. cout << "\n\t | _ _0_ _ _ ";
  2625. cout << "\n\t 0_|_ {_} [ ] {_}\\ ";
  2626. cout << "\n\t /|\\+ (^^^)_// [_]_// \\ ";
  2627. cout << "\n\t | | ___()\\ ()/\\___\\ ";
  2628. cout << "\n\t / \\ (___) _| _|\\/ ";
  2629. cout << "\n\t ";
  2630. cout << "\n\t ";
  2631. cout << "\n\t ";
  2632. cout << "\n\n";
  2633. cout <<"\n\n\tPress any key to continue...";
  2634. getch();
  2635. system("CLS");
  2636. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2637. cout << "\n\t / _ _0_ _ _ ";
  2638. cout << "\n\t 0 \\/ {_} [ ] {_}\\ ";
  2639. cout << "\n\t |\\/\\ (^^^)_// [_]_// \\ ";
  2640. cout << "\n\t | | ___()\\ ()/\\___\\ ";
  2641. cout << "\n\t / \\ (___) _| _|\\/ ";
  2642. cout << "\n\t ";
  2643. cout << "\n\t ";
  2644. cout << "\n\n";
  2645. cout <<"\n\n\tPress any key to continue...";
  2646. getch();
  2647. system("CLS");
  2648. CH = Damage(ctr,CH,Stage,Strength,Vitality,Luck,Weapon);
  2649. system("CLS");
  2650. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2651. cout << "\n\t * ";
  2652. cout << "\n\t \\ _ _0_ _ _ ";
  2653. cout << "\n\t 0 \\{_} [ ] {_}\\ ";
  2654. cout << "\n\t |\\ (^^^)_// [_]_// \\ ";
  2655. cout << "\n\t | \\/ | ___()\\ ()/\\___\\ ";
  2656. cout << "\n\t / \\/\\ (___) _| _|\\/ ";
  2657. cout << "\n\t \\ \\ ";
  2658. cout << "\n\t \\ ";
  2659. cout << "\n\t * ";
  2660. cout << "\n\n";
  2661. cout <<"\n\n\tPress any key to continue...";
  2662. getch();
  2663. system("CLS");
  2664. return CH;
  2665. }else if (Weapon == 3){
  2666. system("CLS");
  2667. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2668. cout << "\n\t _ _0_ _ _ ";
  2669. cout << "\n\t 0 {_} [ ] {_}\\ ";
  2670. cout << "\n\t |\\+-- (^^^)_// [_]_// \\ ";
  2671. cout << "\n\t | | ___()\\ ()/\\___\\ ";
  2672. cout << "\n\t / \\ (___) _| _|\\/ ";
  2673. cout << "\n\t ";
  2674. cout << "\n\t ";
  2675. cout << "\n\n";
  2676. cout <<"\n\n\tPress any key to continue...";
  2677. getch();
  2678. system("CLS");
  2679. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2680. cout << "\n\t _ _0_ _ _ ";
  2681. cout << "\n\t 0 {_} [ ] {_}\\ ";
  2682. cout << "\n\t //=+-- (^^^)_// [_]_// \\ ";
  2683. cout << "\n\t //> | ___()\\ ()/\\___\\ ";
  2684. cout << "\n\t // (___) _| _|\\/ ";
  2685. cout << "\n\t ";
  2686. cout << "\n\t ";
  2687. cout << "\n\n";
  2688. cout <<"\n\n\tPress any key to continue...";
  2689. getch();
  2690. system("CLS");
  2691. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2692. cout << "\n\t _ _0_ _ _ ";
  2693. cout << "\n\t 0 {_} [ ] {_}\\ ";
  2694. cout << "\n\t /=+-- (^^^)_// [_]_// \\ ";
  2695. cout << "\n\t /> | ___()\\ ()/\\___\\ ";
  2696. cout << "\n\t / (___) _| _|\\/ ";
  2697. cout << "\n\t ";
  2698. cout << "\n\n";
  2699. cout <<"\n\n\tPress any key to continue...";
  2700. getch();
  2701. system("CLS");
  2702. CH = Damage(ctr,CH,Stage,Strength,Vitality,Luck,Weapon);
  2703. cout << "\n\t "<<PH<<" ";
  2704. cout << "\n\t 0 "<<CH<<" ";
  2705. cout << "\n\t /=+--0_ _ _ !! ";
  2706. cout << "\n\t /> {_} [ ] {_}\\ ";
  2707. cout << "\n\t (/^^)_// [_]_// \\ ";
  2708. cout << "\n\t | ___()\\ ()/\\___\\ ";
  2709. cout << "\n\t (___) _| _|\\/ ";
  2710. cout << "\n\n";
  2711. cout <<"\n\n\tPress any key to continue...";
  2712. getch();
  2713. system("CLS");
  2714. return CH;
  2715. }else if(Weapon == 4){
  2716. system("CLS");
  2717. cout << "\n\t "<< PH <<" "<<CH<<" ";
  2718. cout << "\n\t \\ 0 _ _0_ _ _ ";
  2719. cout << "\n\t \\|\\ {_} [ ] {_}\\ ";
  2720. cout << "\n\t | (^^^)_// [_]_// \\ ";
  2721. cout << "\n\t / > | ___()\\ ()/\\___\\ ";
  2722. cout << "\n\t / (___) _| _|\\/ ";
  2723. cout << "\n\t ";
  2724. cout << "\n\n";
  2725. cout <<"\n\n\tPress any key to continue...";
  2726. getch();
  2727. system("CLS");
  2728. cout << "\n\t "<< PH <<" "<<CH<<" ";
  2729. cout << "\n\t \\ 0 _ _0_ _ _ ";
  2730. cout << "\n\t \\|\\ {_} [ ] {_}\\ ";
  2731. cout << "\n\t | (^^^)_// [_]_// \\ ";
  2732. cout << "\n\t / > | ___()\\ ()/\\___\\ ";
  2733. cout << "\n\t / (___) _| _|\\/ ";
  2734. cout << "\n\t ";
  2735. cout << "\n\n";
  2736. cout <<"\n\n\tPress any key to continue...";
  2737. getch();
  2738. system("CLS");
  2739. CH = Damage(ctr,CH,Stage,Strength,Vitality,Luck,Weapon);
  2740. cout << "\n\t "<< PH <<" "<<CH<<" ";
  2741. cout << "\n\t 0 _ _0_ _ _ ";
  2742. cout << "\n\t /|-/ {_} [ ] {_}\\ ";
  2743. cout << "\n\t | (^^^)_// [_]_// \\ ";
  2744. cout << "\n\t / >| ___()\\ ()/\\___\\ ";
  2745. cout << "\n\t / (___) _| _|\\/ ";
  2746. cout << "\n\t ";
  2747. cout << "\n\n";
  2748. cout <<"\n\n\tPress any key to continue...";
  2749. getch();
  2750. system("CLS");
  2751. return CH;
  2752. }
  2753. }else if (ctr == 3){
  2754. system("CLS");
  2755. PH = Heal( 3, PH,FullH, Stage,Strength,Vitality,Luck);
  2756. system("CLS");
  2757. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2758. cout << "\n\t + _ _0_ _ _ ";
  2759. cout << "\n\t 0 + {_} [ ] {_}\\ ";
  2760. cout << "\n\t \\|> (^^^)_// [_]_// \\ ";
  2761. cout << "\n\t +| + | ___()\\ ()/\\___\\ ";
  2762. cout << "\n\t / \\ (___) _| _|\\/ ";
  2763. cout << "\n\t + + ";
  2764. cout << "\n\t ";
  2765. cout << "\n\n";
  2766. cout <<"\n\n\tPress any key to continue...";
  2767. getch();
  2768. system("CLS");
  2769. return -1001;
  2770. }else if(ctr == 4 ){
  2771. Hold = Buff( Strength, Vitality, Luck );
  2772. if (Hold == 0){
  2773. Use = "+ Strength";
  2774. Hold = -1009;
  2775. }else if(Hold ==1){
  2776. Use = "+ Vitality";
  2777. Hold = -1008;
  2778. }else if (Hold ==2){
  2779. Use = "+ Luck";
  2780. Hold = -1007;
  2781. }else if (Hold == 3){
  2782. Use = "Request Denied, The God refused ";
  2783. Hold = -1006;
  2784. }
  2785. system("CLS");
  2786. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2787. cout << "\n\t 0 _ _0_ _ _ ";
  2788. cout << "\n\t \\|> \\ 0 {_} [ ] {_}\\ ";
  2789. cout << "\n\t | --|33 (^^^)_// [_]_// \\ ";
  2790. cout << "\n\t / \\ /\\ | ___()\\ ()/\\___\\ ";
  2791. cout << "\n\t (___) _| _|\\/ ";
  2792. cout << "\n\t "<<Use<< " ";
  2793. cout << "\n\t ";
  2794. cout << "\n\t ";
  2795. cout << "\n\n";
  2796. cout <<"\n\n\tPress any key to continue...";
  2797. getch();
  2798. system("CLS");
  2799. return Hold;
  2800. }
  2801. }else if(PH <= 0){
  2802. if(Stage == 1){
  2803. system("CLS");
  2804. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2805. cout << "\n\t !!! [0] / ";
  2806. cout << "\n\t /||/ ";
  2807. cout << "\n\t || ";
  2808. cout << "\n\t / \\ ";
  2809. cout << "\n\t | / ";
  2810. cout << "\n\t ____0-----} ";
  2811. cout << "\n\t | \\ ";
  2812. cout << "\n\n";
  2813. }else if(Stage == 2){
  2814. system("CLS");
  2815. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2816. cout << "\n\t 0 ";
  2817. cout << "\n\t /|\\ ";
  2818. cout << "\n\t | 0 ";
  2819. cout << "\n\t / \\ \\/|\\ ";
  2820. cout << "\n\t /\\ ";
  2821. cout << "\n\t ";
  2822. cout << "\n\n";
  2823. cout <<"\n\n\tPress any key to continue...";
  2824. getch();
  2825. system("CLS");
  2826. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2827. cout << "\n\t ";
  2828. cout << "\n\t 0 ";
  2829. cout << "\n\t \\ 0 ";
  2830. cout << "\n\t __> \\/|\\ ";
  2831. cout << "\n\t /\\ ";
  2832. cout << "\n\t ";
  2833. cout << "\n\n";
  2834. cout <<"\n\n\tPress any key to continue...";
  2835. getch();
  2836. system("CLS");
  2837. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2838. cout << "\n\t ";
  2839. cout << "\n\t 0 ";
  2840. cout << "\n\t \\__ 0 ";
  2841. cout << "\n\t __> \\ \\/|\\ ";
  2842. cout << "\n\t \\_____ /\\ ";
  2843. cout << "\n\t ";
  2844. cout << "\n\n";
  2845. cout <<"\n\n\tPress any key to continue...";
  2846. getch();
  2847. system("CLS");
  2848. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2849. cout << "\n\t ";
  2850. cout << "\n\t ";
  2851. cout << "\n\t 0 ";
  2852. cout << "\n\t \\/|\\ ";
  2853. cout << "\n\t ____----0_____ /\\ ";
  2854. cout << "\n\t ";
  2855. cout << "\n\n";
  2856. cout <<"\n\n\tPress any key to continue...";
  2857. getch();
  2858. }else if(Stage == 3){
  2859. system("CLS");
  2860. cout << "\n\t 0 ";
  2861. cout << "\n\t /|\\ _.^\\~~~~~~.___,_,., ";
  2862. cout << "\n\t | ~~/\\__(___(___~~~~/ ";
  2863. cout << "\n\t / \\ __// __\\\\ ";
  2864. cout << "\n\t ";
  2865. cout << "\n\t ";
  2866. cout << "\n\n";
  2867. cout <<"\n\n\tPress any key to continue...";
  2868. getch();
  2869. system("CLS");
  2870. cout << "\n\t 0 ";
  2871. cout << "\n\t /|\\ ";
  2872. cout << "\n\t | \\\\ ";
  2873. cout << "\n\t / \\ \\\\ \\\\ ";
  2874. cout << "\n\t \\\\ ";
  2875. cout << "\n\t ";
  2876. cout << "\n\n";
  2877. cout <<"\n\n\tPress any key to continue...";
  2878. getch();
  2879. system("CLS");
  2880. cout << "\n\t .^__^._ ";
  2881. cout << "\n\t /\\_o o_\\ ";
  2882. cout << "\n\t \\ __\\ ";
  2883. cout << "\n\t 0 / ";
  2884. cout << "\n\t /|\\ ";
  2885. cout << "\n\t | ";
  2886. cout << "\n\t / \\ ";
  2887. cout << "\n\t ";
  2888. cout << "\n\n";
  2889. cout <<"\n\n\tPress any key to continue...";
  2890. getch();
  2891. cout << "\n\t .^__^._ ";
  2892. cout << "\n\t /\\_o o_\\ ";
  2893. cout << "\n\t 0--\\ __\\-, ";
  2894. cout << "\n\t / \\ ";
  2895. cout << "\n\t ) ";
  2896. cout << "\n\t _ \\ \\ ";
  2897. cout << "\n\t \\_> ";
  2898. cout << "\n\t ";
  2899. cout << "\n\n";
  2900. cout <<"\n\n\tPress any key to continue...";
  2901. getch();
  2902. system("CLS");
  2903. cout << "\n\t .^__^._ !!!! ";
  2904. cout << "\n\t /\\_o\\ /o_\\ ";
  2905. cout << "\n\t /\\ __\\ .-/ ";
  2906. cout << "\n\t 0 / | .-\\ ";
  2907. cout << "\n\t ) \\ ";
  2908. cout << "\n\t _ \\ \\ . ";
  2909. cout << "\n\t \\_> ";
  2910. cout << "\n\t ";
  2911. cout << "\n\n";
  2912. cout <<"\n\n\tPress any key to continue...";
  2913. getch();
  2914. }else if(Stage == 4){
  2915. system("CLS");
  2916. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2917. cout << "\n\t 0 0__ ";
  2918. cout << "\n\t /|\\ ---+=|$$} ";
  2919. cout << "\n\t | |__} ";
  2920. cout << "\n\t / \\ / \\ ";
  2921. cout << "\n\t ";
  2922. cout << "\n\t ";
  2923. cout << "\n\n";
  2924. cout <<"\n\n\tPress any key to continue...";
  2925. getch();
  2926. system("CLS");
  2927. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2928. cout << "\n\t 0 0 / \\ ";
  2929. cout << "\n\t /|\\ ---+__\\$ $\\ ";
  2930. cout << "\n\t | \\__/ ";
  2931. cout << "\n\t / \\ < \\ ";
  2932. cout << "\n\t ";
  2933. cout << "\n\t ";
  2934. cout << "\n\n";
  2935. cout <<"\n\n\tPress any key to continue...";
  2936. getch();
  2937. system("CLS");
  2938. cout << "\n\t 0 0 / \\ ";
  2939. cout << "\n\t /|\\ ---+__\\$ $\\ ";
  2940. cout << "\n\t | \\__/ ";
  2941. cout << "\n\t / \\ < \\ ";
  2942. cout << "\n\t ";
  2943. cout << "\n\t ";
  2944. cout << "\n\n";
  2945. cout <<"\n\n\tPress any key to continue...";
  2946. getch();
  2947. system("CLS");
  2948. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2949. cout << "\n\t 0 \\ \\ ";
  2950. cout << "\n\t /|\\ \\ \\ \\ ";
  2951. cout << "\n\t | \\ ";
  2952. cout << "\n\t / \\ \\ \\ ";
  2953. cout << "\n\t ";
  2954. cout << "\n\t ";
  2955. cout << "\n\n";
  2956. cout <<"\n\n\tPress any key to continue...";
  2957. getch();
  2958. system("CLS");
  2959. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2960. cout << "\n\t 0 0 / \\ ";
  2961. cout << "\n\t --|-+__\\$ $\\ ";
  2962. cout << "\n\t | \\__/ ";
  2963. cout << "\n\t / \\ < \\ ";
  2964. cout << "\n\t ";
  2965. cout << "\n\t ";
  2966. cout << "\n\n";
  2967. cout <<"\n\n\tPress any key to continue...";
  2968. getch();
  2969. system("CLS");
  2970. cout << "\n\t ";
  2971. cout << "\n\t "<<PH<<" ";
  2972. cout << "\n\t __|___0 ";
  2973. cout << "\n\t / +0__ ";
  2974. cout << "\n\t \\|$$} ";
  2975. cout << "\n\t |__} "<<CH<<" ";
  2976. cout << "\n\t / \\ ";
  2977. cout << "\n\t ";
  2978. cout << "\n\t ";
  2979. cout << "\n\n";
  2980. cout <<"\n\n\tPress any key to continue...";
  2981. getch();
  2982. system("CLS");
  2983. cout << "\n\t ";
  2984. cout << "\n\t "<<PH<<" ";
  2985. cout << "\n\t | ";
  2986. cout << "\n\t + 0_\\/_ ";
  2987. cout << "\n\t \\|$ $} ";
  2988. cout << "\n\t |___} "<<CH<<" ";
  2989. cout << "\n\t / \\ ";
  2990. cout << "\n\t ";
  2991. cout << "\n\t ";
  2992. cout << "\n\n";
  2993. cout <<"\n\n\tPress any key to continue...";
  2994. getch();
  2995. }else if(Stage == 5){
  2996. system("CLS");
  2997. cout << "\n\t "<<PH<<" "<<CH<<" ";
  2998. cout << "\n\t _ _0_ _ _ ";
  2999. cout << "\n\t 0 {_} [ ] {_}\\ ";
  3000. cout << "\n\t /|\\ (^^^)_// [_]_// \\ ";
  3001. cout << "\n\t | | ___()\\ ()/\\___\\ ";
  3002. cout << "\n\t / \\ (___) _| _|\\/ ";
  3003. cout << "\n\t ";
  3004. cout << "\n\t ";
  3005. cout << "\n\n";
  3006. cout <<"\n\n\tPress any key to continue...";
  3007. getch();
  3008. system("CLS");
  3009. cout << "\n\t ";
  3010. cout << "\n\t _______________(^^^) ";
  3011. cout << "\n\t |_______________ | ";
  3012. cout << "\n\t ||_ 0_ _ _|| (___) ";
  3013. cout << "\n\t 0 {_} [ ] {_}\\ "<<CH<<" ";
  3014. cout << "\n\t /|\\ \\ [_] \\ ";
  3015. cout << "\n\t | ()\\ ()/\\___\\ ";
  3016. cout << "\n\t / \\ < <\\/ ";
  3017. cout << "\n\t ";
  3018. cout << "\n\t ";
  3019. cout << "\n\n";
  3020. cout <<"\n\n\tPress any key to continue...";
  3021. getch();
  3022. system("CLS");
  3023. cout << "\n\t _______________(^^^) ";
  3024. cout << "\n\t |_______________ | ";
  3025. cout << "\n\t ||_ 0_ _ _|| (___) "<<CH<<" ";
  3026. cout << "\n\t {_} [ ] {_}\\ ";
  3027. cout << "\n\t 0 \\ [_] \\ ";
  3028. cout << "\n\t /|\\ ()\\ ()/\\_\\ \\ ";
  3029. cout << "\n\t | _\\ _\\/ \\ \\ ";
  3030. cout << "\n\t / \\ \\ \\ \\ \\ ";
  3031. cout << "\n\t (__________) ";
  3032. cout << "\n\t ";
  3033. cout << "\n\n";
  3034. cout <<"\n\n\tPress any key to continue...";
  3035. getch();
  3036. system("CLS");
  3037. cout << "\n\t ";
  3038. cout << "\n\t ";
  3039. cout << "\n\t "<<CH<<" ";
  3040. cout << "\n\t \\ / / _ _0_ _ _ ";
  3041. cout << "\n\t \\ ___ / {_} [ ] {_}\\ ";
  3042. cout << "\n\t \\ ( )__/__\\____//__[_]_//_\\ ";
  3043. cout << "\n\t \\ / ____________________| / ";
  3044. cout << "\n\t \\(____// \\__ _\\ _\\/_____/ ";
  3045. cout << "\n\t ";
  3046. cout << "\n\t ";
  3047. cout << "\n\t ";
  3048. cout << "\n\n";
  3049. cout <<"\n\n\tPress any key to continue...";
  3050. getch();
  3051. system("CLS");
  3052. cout << "\n\t ";
  3053. cout << "\n\t ";
  3054. cout << "\n\t "<<CH<<" ";
  3055. cout << "\n\t _ _0_ _ _ ";
  3056. cout << "\n\t ___ {_} [ ] {_}\\ ";
  3057. cout << "\n\t ( )_________//__[_]_//_\\ ";
  3058. cout << "\n\t / ____________________| ";
  3059. cout << "\n\t___(____/___ \\__ _\\ _\\ ";
  3060. cout << "\n\t ";
  3061. cout << "\n\t ";
  3062. cout << "\n\t ";
  3063. cout << "\n\n";
  3064. cout <<"\n\n\tPress any key to continue...";
  3065. getch();
  3066. }
  3067. }
  3068. }
  3069. }
  3070. void slow_print( string message, int Msecond){
  3071. for (const char c: message)
  3072. {
  3073. cout << c ;
  3074. sleep_for(milliseconds(Msecond));
  3075. }
  3076. }
  3077. string & ReturnString(string & n, int Dia, int Stage,int CH, int PH){
  3078. string string1[100];
  3079. string1[0] = "\n\n\tWelcome Newbie, The name is Dan the Advisor for the newly arived FRESH MEAT!\n\tI heard rumors that you have a lot of potential in you.\n\tI like that a lot! I am afraid that The Great War is getting worse by the minute.\n\tWe need someone like you.Lets hope for the best that it will end soon.\n\n\n\n";
  3080. string1[1] = "\n\n\tEnough of the Nonsensical Talk! Lets start the day! I will force you to be in shape!\n\tbut I am planning on giving you the knowledge of the basic needs to survive a battle first.....\n\tI have an Idea why not do both! I can lessen the time it will take to have you in the front lines!\n\tI am smart as ever!...Time to teach you a lesson! Dont die on me!\n\n\n\n ";
  3081. string1[2] = "\n\n\tForgot to tell you. We are low on the financial value of our weapons so you will have to use a stick!.....\n\tDont look at me like that I dont get paid enough for this!\n\tMost of our money is spent for the \"Safety\" of our King. Dont ask me for the details!...Lets continue\n\n\n\n\n";
  3082. string1[3] = "\n\n\tOk first things first We have our Hitpoints! it indicates how much life you got left in you\n\tit just floats right above our heads. Wanna know why? I dont even know either!\n\t Do I look like a scientist to you?\n\t Stupid.. Its just common sense! Your Hitpoints lowers each time I Hit you.\n\n\n\n";
  3083. string1[4] = "\n\n\tDid you feel my power? its because of stats, My stats are equivalent to an avarage todler.\n\t You can change stats after you have won a stage.\n\n\n\n\n\n";
  3084. string1[5] = "\n\n\tI just gave you a nice example of how hitpoints work\n\tNow for moving! you can Attack, Heal or Request a Buff by the common god in the game! Try one!\n\tJust input 2 for move and choose one\n\n\n\n\n";
  3085. string1[6] = "\n\n\tIf you defeat me you can graduate\n\n\n\n\n\n";
  3086. string1[7] = "\n\n\tOuch! Do you know you are technically hitting a kid?\n\n\n\n\n\n";
  3087. string1[8] = "\n\n\tWe wait for each other turns, Why? I dont know thats the rules\n\n\n\n\n\n";
  3088. string1[9] = "\n\n\tMan that hurts....\n\n\n\n\n\n";
  3089. string1[10] = "\n\n\tThe rumors was true. From now on you are going to the front lines\n\n\n\n\n\n";
  3090. string1[11] = "\n\n\tThe rumors was false. I dont see any potential in you, go home. A kid can even kill you.\n\n\n\n\n\n";
  3091. string1[12] = "\n\n\tHey uhmm the king told me that you need to go on an adventure.\n\t\"Is he good? hmmm then send him to the lair of the lord goblin\" He said.\n\tDont be mad but rumors said that the goblin is super strong for most of our people\n\tBut hey your a good fighter, just in case you can tell me where I should bury your corpse\n\tNo? Well good luck lad oh here is a poster of the goblin\n\n";
  3092. string1[13] = "\n\n\tWhenever I see it I feel disgusted for my fallen comrades. It looks stupidly cute tho\n\n\n\n\n\n";
  3093. string1[14] = "\n\n\tYou should head on now and find him.\n\n\n\n\n\n";
  3094. string1[15] = "\n\n\tGoblin: Another Kill?.\n\n\n\n\n\n";
  3095. string1[16] = "\n\n\tGoblin: Mogu did nothing wrong why?.\n\n\n\n\n\n";
  3096. string1[17] = "\n\n\tGoblin: Leave Mogu alone!.\n\n\n\n\n\n";
  3097. string1[18] = "\n\n\tGoblin: Mogu scared....\n\n\n\n\n\n";
  3098. string1[19] = "\n\n\tThe Goblin is Silent\n\n\n\n\n\n";
  3099. string1[20] = "\n\n\t(The Goblin Died struggling for his life).\n\n\n\n\n\n";
  3100. string1[21] = "\n\n\tGoblin: Mogu sorry. Mogu no choice!.\n\n\n\n\n\n";
  3101. string1[22] = "\n\n\tSorry But this is my orders when you defeated the goblin you must not come back\n\n\n\n\n\n";
  3102. string1[23] = "\n\n\tThrow away your family and value your life if I where you, never come back.\n\n\n\n\n\n";
  3103. string1[24] = "\n\n\tThe King has no use for you.\n\n\n\n\n\n";
  3104. string1[25] = "\n\n\tWolf: Awooooo.\n\n\n\n\n\n";
  3105. string1[26] = "\n\n\tWolf: Argggggg.\n\n\n\n\n\n";
  3106. string1[27] = "\n\n\tWolf: Warf Warf.\n\n\n\n\n\n";
  3107. string1[28] = "\n\n\t(The Wolf is Silent).\n\n\n\n\n\n";
  3108. string1[29] = "\n\n\t(The Wolf is Silent)\n\n\n\n\n\n";
  3109. string1[30] = "\n\n\t(The Wolf Died, You have found food for the next few days).\n\n\n\n\n\n";
  3110. string1[31] = "\n\n\tWolf: Awoooooo.\n\n\n\n\n\n";
  3111. string1[32] = "\n\n\tHey I thought you were dead champ! So you have decided to come back?\n\n\n\n\n\n";
  3112. string1[33] = "\n\n\tSorry but I have to do this.\n\n\n\n\n\n";
  3113. string1[34] = "\n\n\tThe King has no use for you.\n\n\n\n\n\n";
  3114. string1[35] = "\n\n\tYou are a hindrance to the kings plan.\n\n\n\n\n\n";
  3115. string1[36] = "\n\n\tWe heard you were good and you really were.\n\n\n\n\n\n";
  3116. string1[37] = "\n\n\tWe are at constant battle, our country is not really good at agriculture.\n\n\n\n\n\n";
  3117. string1[38] = "\n\n\tOther Countries needed a sheild for the war, They send us money,food and the likes we need\n\tYou get the point right?.\n\n\n\n\n\n";
  3118. string1[39] = "\n\n\tYou need to die for this country\n\n\n\n\n\n";
  3119. string1[40] = "\n\n\tThe....Sacrifices we have made....\n\n\n\n\n\n";
  3120. string1[41] = "\n\n\tThis is for the best\n\n\n\n\n\n";
  3121. string1[42] = "\n\n\tSo you have come? so Dan is dead my last comrade and friend..\n\n\n\n\n\n";
  3122. string1[43] = "\n\n\tDont you get the point of us going to war? And yet you are here to kill me?.\n\n\n\n\n\n";
  3123. string1[44] = "\n\n\tThe Country needs this war to hold on, or else we would die.\n\tWe have nothing but this to live!.\n\n\n\n\n";
  3124. string1[45] = "\n\n\tAnd yet you still stand in my way.\n\t All the sacrifices we made will be for nothing.\n\n\n\n\n\n";
  3125. string1[46] = "\n\n\tIf you are not moving\n\tThen I am sorry for what will happen.\n\n\n\n\n";
  3126. string1[47] = "\n\n\tYes we killed a lot of people but it is for the right cause.\n\n\n\n\n\n";
  3127. string1[48] = "\n\n\tWe dont really have a way to produce any kind of income\n\tWe need to take it ourselves?.\n\n\n\n\n\n";
  3128. string1[49] = "\n\n\tYou need to die for this country\n\n\n\n\n\n";
  3129. string1[50] = "\n\n\tIs it over?...On here on out it is your fault.\n\n\n\n\n\n";
  3130. string1[51] = "\n\n\tYet another sacrifice\n\n\n\n\n\n";
  3131. n.clear();
  3132. if(Stage == 1){
  3133. if (Dia <= 5){
  3134. n = string1[Dia];
  3135. }else if(Dia > 5 && PH >0){
  3136. if(CH <= 100 && CH >= 70){
  3137. n = string1[6];
  3138. }else if(CH < 70 && CH >= 50){
  3139. n = string1[7];
  3140. }else if(CH <= 49 && CH >= 30){
  3141. n = string1[8];
  3142. }else if(CH <= 29 && CH > 0){
  3143. n = string1[9];
  3144. }else if(CH <= 0){
  3145. n = string1[10];
  3146. }
  3147. }else if (Dia > 4 && Stage == 1 && PH <0){
  3148. n = string1[11];
  3149. }
  3150. }else if(Stage == 2){
  3151. if (Dia <= 4){
  3152. n = string1[Dia + 12];
  3153. }else if(Dia > 5 && PH >0){
  3154. if(CH <= 200 && CH >= 140){
  3155. n = string1[16];
  3156. }else if(CH < 140 && CH >= 110){
  3157. n = string1[17];
  3158. }else if(CH <= 110 && CH >= 80){
  3159. n = string1[18];
  3160. }else if(CH <= 80 && CH > 0){
  3161. n = string1[19];
  3162. }else if(CH <= 0){
  3163. n = string1[20];
  3164. }
  3165. }else if (Dia > 4 && PH <0){
  3166. n = string1[21];
  3167. }
  3168. }else if(Stage == 3){
  3169. if (Dia <= 4){
  3170. n = string1[Dia + 22];
  3171. }else if(Dia > 5 && PH >0){
  3172. if(CH <= 250 && CH >= 200){
  3173. n = string1[26];
  3174. }else if(CH <= 200 && CH >= 150){
  3175. n = string1[27];
  3176. }else if(CH <= 150 && CH >= 100){
  3177. n = string1[28];
  3178. }else if(CH <= 100 && CH > 0){
  3179. n = string1[29];
  3180. }else if(CH <= 0){
  3181. n = string1[30];
  3182. }
  3183. }else if (Dia > 4 && PH <0){
  3184. n = string1[31];
  3185. }
  3186. }else if(Stage == 4){
  3187. if (Dia <= 4){
  3188. n = string1[Dia + 32];
  3189. }else if(Dia > 5 && PH >0){
  3190. if(CH <= 350 && CH >= 300){
  3191. n = string1[36];
  3192. }else if(CH <= 300 && CH >= 250){
  3193. n = string1[37];
  3194. }else if(CH <= 250 && CH >= 100){
  3195. n = string1[38];
  3196. }else if(CH <= 100 && CH > 0){
  3197. n = string1[39];
  3198. }else if(CH <= 0){
  3199. n = string1[40];
  3200. }
  3201. }else if (Dia > 4 && PH <0){
  3202. n = string1[41];
  3203. }
  3204. }else if(Stage == 5){
  3205. if (Dia <= 4){
  3206. n = string1[Dia + 42];
  3207. }else if(Dia > 5 && PH >0){
  3208. if(CH <= 500 && CH >= 350){
  3209. n = string1[46];
  3210. }else if(CH <= 350 && CH >= 250){
  3211. n = string1[47];
  3212. }else if(CH <= 250 && CH >= 150){
  3213. n = string1[48];
  3214. }else if(CH <= 150 && CH > 0){
  3215. n = string1[49];
  3216. }else if(CH <= 0){
  3217. n = string1[50];
  3218. }
  3219. }else if (Dia > 4 && PH <0){
  3220. n = string1[51];
  3221. }
  3222. }
  3223. return n;
  3224. }
  3225. void Loading(int Stage, int PH){
  3226. string L = "|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||";
  3227. if (Stage == 1 && PH > 0){
  3228. system("CLS");
  3229. cout << "\n\t ____ __ ____ _______ __ ______ ______ .___ ___. _______ ";
  3230. cout << "\t \\ \\ / \\ / / | ____|| | / | / __ \\ | \\/ | | ____| ";
  3231. cout << "\t \\ \\/ \\/ / | |__ | | | ,----'| | | | | \\ / | | |__ ";
  3232. cout << "\t \\ / | __| | | | | | | | | | |\\/| | | __| ";
  3233. cout << "\t \\ /\\ / | |____ | `----.| `----.| `--' | | | | | | |____ ";
  3234. cout << "\t \\__/ \\__/ |_______||_______| \\______| \\______/ |__| |__| |_______| (Press any key to start) ";
  3235. getch();
  3236. system("CLS");
  3237. cout << "\n\n\n\n\n ";
  3238. cout << "\n\t\t _______.___________. ___ _______ _______ __ ";
  3239. cout << "\n\t\t / | | / \\ / _____|| ____| /_ | ";
  3240. cout << "\n\t\t | (----`---| |----` / ^ \\ | | __ | |__ | | ";
  3241. cout << "\n\t\t \\ \\ | | / /_\\ \\ | | |_ | | __| | | ";
  3242. cout << "\n\t\t .----) | | | / _____ \\ | |__| | | |____ | | ";
  3243. cout << "\n\t\t |_______/ |__| /__/ \\__\\ \\______| |_______| |_| "; cout << "\n\t========================================================================================\n\t";
  3244. slow_print(L, 25);
  3245. }else if (Stage == 2 && PH > 0){
  3246. system("CLS");
  3247. cout << "\n\n\n\n\n ";
  3248. cout << "\n\t\t _______.___________. ___ _______ _______ ___ ";
  3249. cout << "\n\t\t / | | / \\ / _____|| ____| |__ \\ ";
  3250. cout << "\n\t\t | (----`---| |----` / ^ \\ | | __ | |__ ) | ";
  3251. cout << "\n\t\t \\ \\ | | / /_\\ \\ | | |_ | | __| / / ";
  3252. cout << "\n\t\t .----) | | | / _____ \\ | |__| | | |____ / /_ ";
  3253. cout << "\n\t\t |_______/ |__| /__/ \\__\\ \\______| |_______| |____| ";
  3254. cout << "\n\t========================================================================================\n\t";
  3255. slow_print(L, 25);
  3256. }else if (Stage == 3 && PH > 0){
  3257. system("CLS");
  3258. cout << "\n\n\n\n\n ";
  3259. cout << "\n\t\t _______.___________. ___ _______ _______ ____ ";
  3260. cout << "\n\t\t / | | / \\ / _____|| ____| |___ \\ ";
  3261. cout << "\n\t\t | (----`---| |----` / ^ \\ | | __ | |__ __) | ";
  3262. cout << "\n\t\t \\ \\ | | / /_\\ \\ | | |_ | | __| |__ < ";
  3263. cout << "\n\t\t .----) | | | / _____ \\ | |__| | | |____ ___) | ";
  3264. cout << "\n\t\t |_______/ |__| /__/ \\__\\ \\______| |_______| |____/ ";
  3265. cout << "\n\t========================================================================================\n\t";
  3266. slow_print(L, 25);
  3267. }else if (Stage == 4 && PH > 0){
  3268. system("CLS");
  3269. cout << "\n\n\n\n\n ";
  3270. cout << "\n\t\t _______.___________. ___ _______ _______ _ _ ";
  3271. cout << "\n\t\t / | | / \\ / _____|| ____| | || | ";
  3272. cout << "\n\t\t | (----`---| |----` / ^ \\ | | __ | |__ | || |_ ";
  3273. cout << "\n\t\t \\ \\ | | / /_\\ \\ | | |_ | | __| |__ _| ";
  3274. cout << "\n\t\t .----) | | | / _____ \\ | |__| | | |____ | | ";
  3275. cout << "\n\t\t |_______/ |__| /__/ \\__\\ \\______| |_______| |_| ";
  3276. cout << "\n\t========================================================================================\n\t";
  3277. slow_print(L, 25);
  3278. }else if (Stage == 5 && PH > 0){
  3279. system("CLS");
  3280. cout << "\n\n\n\n\n ";
  3281. cout << "\n\t\t _______.___________. ___ _______ _______ _____ ";
  3282. cout << "\n\t\t / | | / \\ / _____|| ____| | ____| ";
  3283. cout << "\n\t\t | (----`---| |----` / ^ \\ | | __ | |__ | |_ ";
  3284. cout << "\n\t\t \\ \\ | | / /_\\ \\ | | |_ | | __| |___ \\ ";
  3285. cout << "\n\t\t .----) | | | / _____ \\ | |__| | | |____ ___) | ";
  3286. cout << "\n\t\t |_______/ |__| /__/ \\__\\ \\______| |_______| |____/ ";
  3287. cout << "\n\t========================================================================================\n\t";
  3288. slow_print(L, 25);
  3289. }else if (PH < 0){
  3290. cout << "\n\n\n\n\n ";
  3291. cout << "\n\t\t _____ ___ ___ ___ _____ _____ _ _ ___________ ";
  3292. cout << "\n\t\t| __ \\ / _ \\ | \\/ || ___| | _ || | | | ___| ___ \\ ";
  3293. cout << "\n\t\t| | \\// /_\\ \\| . . || |__ | | | || | | | |__ | |_/ / ";
  3294. cout << "\n\t\t| | __ | _ || |\\/| || __| | | | || | | | __|| / ";
  3295. cout << "\n\t\t| |_\\ \\| | | || | | || |___ \\ \\_/ /\\ \\_/ / |___| |\\ \\ ";
  3296. cout << "\n\t\t \\____/\\_| |_/\\_| |_/\\____/ \\___/ \\___/\\____/\\_| \\_| ";
  3297. cout << "\n\t========================================================================================\n\t";
  3298. slow_print(L, 25);
  3299. }
  3300. }
  3301. int Exit(int MC){
  3302. char exit;
  3303. int Exit = 0;
  3304. system("CLS");
  3305. cout <<"\n\n\t(Everthing is not saved be careful!)" << "\n\n\tdo you really want to quit the game?[Y/N]\n\n\t";
  3306. cin >> exit;
  3307. exit = toupper(exit);
  3308. if (exit == 'Y'){
  3309. Exit = 1;
  3310. }
  3311. return Exit;
  3312. }
  3313. void Credits(){
  3314. system("CLS");
  3315. cout << "\n\tThis game is made by Mark Steven P. Evangelista. \n\t";
  3316. cout << "\n\n\n\tPress Any Key to go back \n\t";
  3317. getch();
  3318. system("CLS");
  3319. }
  3320. void Help(){
  3321. system("CLS");
  3322. cout << "\n\tYou have chosen Help\n\t";
  3323. cout << "\n\tThis is a turn base game where stats are important so what is stats?\n\t";
  3324. cout << "\n\tStrenght increases your damage\n\t";
  3325. cout << "\n\tVitality increases your Health and Heal\n\t";
  3326. cout << "\n\tLuck increases your chances to deal critical damage and to let the enemy miss an attack.\n\tLuck also affects your Buff increase\n\t";
  3327. cout << "\n\n\tThere is a shop where you buy items for the right amount of gold you can earn gold by completing a stage\n\t";
  3328. cout << "\n\n\tDont worry about your health! at the start of each stage the god of the game blesses you to become full health\n\t";
  3329. cout << "\n\n\n\tPress Any Key to go back \n\t";
  3330. getch();
  3331. system("CLS");
  3332. }
  3333. void Login(){
  3334. char ans = 'N', ans1 = 'N', ans3 = 'N';
  3335. string user,pass,cu,cp;
  3336. do{
  3337. system("CLS");
  3338. cout << "\n\t\tLog-in Page";
  3339. cout << "\n\n\tUsername: ";
  3340. cin >> user;
  3341. cout << "\n\n\tPassword: ";
  3342. cin >> pass;
  3343. if(user == cu){
  3344. if (pass == cp){
  3345. ans = 'Y';
  3346. }else if (pass != cp){
  3347. cout << "Incorrect input! Do you want to sign up?[Y/N]";
  3348. cin >> ans1;
  3349. ans1 = toupper(ans1);
  3350. if (ans1 =='Y'){
  3351. do{
  3352. system("CLS");
  3353. cout << "\n\n\tWelcome newbie!";
  3354. cout << "\n\n\tInput Username : ";
  3355. cin >> cu;
  3356. cout << "\n\n\tInput Password : ";
  3357. cin >> cp;
  3358. cout << "\n\n\tNice Are you satisfied?[Y/N]";
  3359. cin >> ans3;
  3360. ans3 = toupper(ans3);
  3361. }while(ans3 == 'N');
  3362. }
  3363. }
  3364. }else if (pass != cp){
  3365. cout << "\n\n\tIncorrect input! Do you want to sign up?[Y/N]";
  3366. cin >> ans1;
  3367. ans1 = toupper(ans1);
  3368. if (ans1 =='Y'){
  3369. do{
  3370. system("CLS");
  3371. cout << "\n\n\tWelcome newbie!";
  3372. cout << "\n\n\tInput Username : ";
  3373. cin >> cu;
  3374. cout << "\n\n\tInput Password : ";
  3375. cin >> cp;
  3376. cout << "\n\n\tNice Are you satisfied?[Y/N]";
  3377. cin >> ans3;
  3378. ans3 = toupper(ans3);
  3379. }while(ans3 == 'N');
  3380. }
  3381. }
  3382. }while(ans == 'N');
  3383. system("CLS");
  3384. }
  3385. int Menu(int Ex){
  3386. int G = 0, MC;
  3387. do{
  3388. system("CLS");
  3389. cout << "\n\n\tHello Adventurer! Choose an option from the menu";
  3390. cout << "\n\n\tStart game[1]";
  3391. cout << "\n\n\tHelp game[2]";
  3392. cout << "\n\n\tCredits game[3]";
  3393. cout << "\n\n\tQuit game[4]";
  3394. cout << "\n\n\tMenu Choice : ";
  3395. cin >> MC;
  3396. switch(MC){
  3397. case 1 :{
  3398. G = 1;
  3399. break;
  3400. }
  3401. case 2 :{
  3402. Help();
  3403. break;
  3404. }
  3405. case 3:{
  3406. Credits();
  3407. break;
  3408. }
  3409. case 4:{
  3410. Ex = Exit(MC);
  3411. if(Ex == 1){
  3412. G = 1;
  3413. }
  3414. break;
  3415. }
  3416. default:{
  3417. cout << "\n\tInvalid input try again!";
  3418. getch();
  3419. break;
  3420. }
  3421. }
  3422. }while(G == 0);
  3423. return Ex;
  3424. }
  3425. int Pause(){
  3426. int G = 0, MC, Out = 0;
  3427. do{
  3428. system("CLS");
  3429. cout << "==========================================================================================================";
  3430. cout << "\n\n\tThe Game is Paused!";
  3431. cout << "\n\n\tResume game[1]";
  3432. cout << "\n\n\tRestart Stage[2]";
  3433. cout << "\n\n\tHelp game[3]";
  3434. cout << "\n\n\tQuit game[4]";
  3435. cout << "\n\n\n==========================================================================================================";
  3436. cout << "\n\n\tMenu Choice : ";
  3437. cin >> MC;
  3438. switch(MC){
  3439. case 1 :{
  3440. G = 1;
  3441. Out = 1;
  3442. break;
  3443. }
  3444. case 2 :{
  3445. G = 1;
  3446. Out = -1003;
  3447. break;
  3448. }
  3449. case 3:{
  3450. Help();
  3451. break;
  3452. }
  3453. case 4:{
  3454. G = Exit(MC);
  3455. if(G == 1){
  3456. G = 1;
  3457. Out = -1004;
  3458. }
  3459. break;
  3460. }
  3461. default:{
  3462. cout << "\n\tInvalid input try again!";
  3463. getch();
  3464. break;
  3465. }
  3466. }
  3467. }while(G == 0);
  3468. system("CLS");
  3469. return Out;
  3470. }
  3471. int Moves(int PH,int CH,int Dia,int Weapon){
  3472. int M = 0, wrong = 0;
  3473. do{
  3474. system("CLS");
  3475. SPicture( PH, CH, Dia,Weapon);
  3476. cout <<"===============================================================================================================";
  3477. cout <<"\n\n\t\t1 = Return";
  3478. cout <<"\n\n\t\t2 = Attack!";
  3479. cout <<"\n\n\t\t3 = Heal";
  3480. cout <<"\n\n\t\t4 = Request Buff to God of Love and Acceptance \(Juan Miguel)";
  3481. cout <<"\n\n\n\n\n";
  3482. cout <<"===============================================================================================================";
  3483. cout <<"\n\n\tInput : ";
  3484. cin >> M;
  3485. if(M <= 4 && M >= 1){
  3486. wrong = 1;
  3487. }else if(M >= 5 && M <= 0 ){
  3488. cout << "\n\n\tWrong Input. Input another one!";
  3489. cout << "\n\n\tPress any key to continue...";
  3490. getch();
  3491. }
  3492. }while(wrong == 0 );
  3493. return M;
  3494. }
  3495. int EndTurn(int Q, int PH,int FullH, int CH,int Stage,int Strength,int Vitality,int Luck,int Weapon){
  3496. int Value = 0;
  3497. switch (Q){
  3498. case 2:{
  3499. Value = Picture(PH,FullH,CH,Q,0,Stage,-1,Strength,Vitality,Luck,Weapon);
  3500. break;
  3501. }
  3502. case 3:{
  3503. Value = Picture(PH,FullH,CH,Q,0,Stage,-1,Strength,Vitality,Luck,Weapon);
  3504. break;
  3505. }
  3506. case 4:{
  3507. Value = Picture(PH,FullH,CH,Q,0,Stage,-1,Strength,Vitality,Luck,Weapon);
  3508. break;
  3509. }
  3510. }
  3511. return Value;
  3512. }
  3513. int Box(int Dia, int PH,int FullH ,int CH, int Turn, int Stage,int Strength,int Vitality,int Luck,int Weapon){
  3514. string n = " ";
  3515. n = ReturnString(n, Dia,Stage,CH, PH);
  3516. Picture(PH,FullH,CH,Dia,Turn,Stage,-1,Strength,Vitality,Luck,Weapon);
  3517. cout << "\n===============================================================================================================";
  3518. //cout << n;
  3519. slow_print(n, 25);
  3520. cout << "\n===============================================================================================================";
  3521. cout <<"\n\n\tPress any key to continue...";
  3522. getch();
  3523. system("CLS");
  3524. return PH;
  3525. }
  3526. int BattleBox(int Dia, int PH,int FullH,int CH,int Turn, int Stage,int Strength,int Vitality,int Luck, int Weapon ){
  3527. int Out = 0, C = 0, Q = 0;
  3528. bool Moving = true;
  3529. string n = " ";
  3530. int ran = 0;
  3531. srand(time(0));
  3532. ran = rand() % 4 ;
  3533. n = ReturnString( n, Dia, Stage,CH,PH);
  3534. if (Turn == 1){
  3535. system("CLS");
  3536. Out = Picture(PH,FullH, CH, Dia, Turn,Stage,ran,Strength,Vitality,Luck,Weapon);
  3537. system("CLS");
  3538. if(Out == -1001){
  3539. return Out;
  3540. }else if(!(Out == -1001)){
  3541. PH = Out;
  3542. }
  3543. SPicture( PH, CH, Stage,Weapon);
  3544. if(PH > 0){
  3545. cout << "\n===============================================================================================================";
  3546. cout << n;
  3547. //slow_print(n, 25);
  3548. cout <<"\n===============================================================================================================";
  3549. cout << "\n\n\tPress any Key to continue";
  3550. getch();
  3551. }
  3552. }else if (Turn == 0){
  3553. do{
  3554. if (CH < 0){
  3555. Moving = false;
  3556. }else if(CH > 0){
  3557. system("CLS");
  3558. SPicture( PH, CH, Stage,Weapon);
  3559. cout << "===============================================================================================================";
  3560. cout << n;
  3561. cout << "===============================================================================================================";
  3562. cout <<"\n\t\t1 = Pause";
  3563. cout <<"\n\n\n\t\t2 = Move";
  3564. cout <<"\n\n\n";
  3565. cout <<"===============================================================================================================";
  3566. cout <<"\n\n\tInput : ";
  3567. cin >> C;
  3568. switch (C){
  3569. case 1:{
  3570. Out = Pause();
  3571. if (Out < 0){
  3572. Moving = false;
  3573. }
  3574. break;
  3575. }
  3576. case 2:{
  3577. Q = Moves(PH, CH, Stage,Weapon);
  3578. if (Q > 1){
  3579.  
  3580. Moving = false;
  3581. Out = EndTurn(Q,PH,FullH,CH,Stage,Strength,Vitality,Luck,Weapon);
  3582. }
  3583. break;
  3584. }
  3585. default:{
  3586. cout << "Invalid Input try again!";
  3587. break;
  3588. }
  3589. }
  3590. }
  3591. }while(Moving == true);
  3592. }
  3593. return Out;
  3594. }
  3595. int Shop(int Gold,int Weapon){
  3596. int Q;
  3597. system("CLS");
  3598. SPicture(100,0,9,Weapon);
  3599. cout << "\n\n\t============================================================================================";
  3600. cout << "\n\n\tWelcome to the Shop! You can buy any weapon you want for the right gold \n\n\t(You have "<<Gold<<" total number of Gold )";
  3601. cout << "\n\n\tEnchanted Bow[1] : 450G";
  3602. cout << "\n\n\tSword[2] : 300G";
  3603. cout << "\n\n\tDagger[3] : 150G";
  3604. cout << "\n\n\tDont buy[0]";
  3605. cout << "\n\n\t============================================================================================";
  3606. cout << "\n\n\tInput : ";
  3607. cin >> Q;
  3608. return Q;
  3609. }
  3610. int Process(int W, int Gold, int S, int LG, int P){
  3611. bool F = false;
  3612. string n;
  3613. char a;
  3614. int Sold = 0;
  3615. if(P == 0 && !(W == 0)){
  3616. S = W;
  3617. return S;
  3618. }
  3619. if(S == 4){
  3620. n = "Stick";
  3621. Sold = 0;
  3622. }else if(S == 1){
  3623. n = "Sword";
  3624. Sold = 150;
  3625. }else if(S == 2){
  3626. n = "Bow";
  3627. Sold =150;
  3628. }if(S == 3){
  3629. n = "Dagger";
  3630. Sold = 75;
  3631. }
  3632. if(W == 1 || W == 2 || W == 3 || W == 4){
  3633. system("CLS");
  3634. cout<<"\n\n\tAre you sure you want that?[Y/N]\n\n\t(You cannot bring your current Weapon : "<<n<<" to your next fight.\n\tIt will automatically be sold for half the price. Why?\n\tBecause you dont have a bag! the way is long it will bring more weight) :\n\n\t";
  3635. cin >> a;
  3636. a = toupper(a);
  3637. if (a == 'Y'){
  3638. F = true;
  3639. }
  3640. }else if(W == 0 && P == 0){
  3641. system("CLS");
  3642. cout<<"\n\n\tAre you sure you want to go out?[Y/N]: \n\n\t";
  3643. cin >> a;
  3644. a = toupper(a);
  3645. if (a == 'Y'){
  3646. W = 0;
  3647. return W;
  3648. }else if (a == 'N'){
  3649. W = 1;
  3650. return W;
  3651. }
  3652. }
  3653. if(F == true){
  3654. if(W == 1){
  3655. if(Gold >= 450){
  3656. Gold -= 450;
  3657. Gold += Sold;
  3658. cout <<"\n\n\t Item Get and Old Item Sold!";
  3659. cout <<"\n\n\t Press any Key to Continue!";
  3660. getch();
  3661. }else if(Gold < 450){
  3662. cout<<"\n\n\t Hey dont make a fool out of me! You dont have enough gold!";
  3663. cout <<"\n\n\t Press any Key to Continue!";
  3664. getch();
  3665. }
  3666. }else if( W == 2){
  3667. if(Gold >= 300){
  3668. Gold -= 300;
  3669. Gold += Sold;
  3670. cout <<"\n\n\t Item Get and Old Item Sold!";
  3671. cout <<"\n\n\t Press any Key to Continue!";
  3672. getch();
  3673. }else if(Gold < 300){
  3674. cout<<"\n\n\t Hey dont make a fool out of me! You dont have enough gold!";
  3675. cout <<"\n\n\t Press any Key to Continue!";
  3676. getch();
  3677. }
  3678. }else if (W == 3){
  3679. if(Gold >= 150){
  3680. Gold -= 150;
  3681. Gold += Sold;
  3682. cout <<"\n\n\t Item Get and Old Item Sold!";
  3683. cout <<"\n\n\t Press any Key to Continue!";
  3684. getch();
  3685. }else if(Gold < 150){
  3686. cout<<"\n\n\t Hey dont make a fool out of me! You dont have enough gold!";
  3687. cout <<"\n\n\t Press any Key to Continue!";
  3688. getch();
  3689. }
  3690. }else if (W == 0){
  3691. cout<<"\n\n\tIf you have gold you can come back.";
  3692. }
  3693. }
  3694. return Gold;
  3695. }
  3696. int Stage1(int PH,int FullH, int CH,int Strength,int Vitality,int Luck,int Weapon){
  3697. system("CLS");
  3698. int Dia = 0, Turn = 1, ATurn = 0, Hold = 0, PHed = PH, CHed = CH, Sted = Strength, Vited = Vitality, Lucked = Luck, BA = 0;
  3699. bool Done = false, E = false;
  3700. do{
  3701. ATurn = Turn;
  3702. Turn = Turn % 2;
  3703. if (Dia <= 3){
  3704. Box(Dia,PH,FullH,CH,Turn,1,Strength,Vitality,Luck,Weapon);
  3705. }else if (Dia >= 4){
  3706. if(Turn == 1 ){
  3707. Hold = BattleBox(Dia,PH,FullH,CH,Turn,1,5,5,5,Weapon);
  3708. if(Hold == -1001){
  3709. CH = Heal( 1, CH,100, 1,Strength,5,5);
  3710. }else if(!(Hold == -1001)){
  3711. PH = Hold;
  3712. }
  3713. }else if(Turn == 0){
  3714. Hold = BattleBox(Dia,PH,FullH,CH,Turn,1,Strength,Vitality,Luck,Weapon);
  3715. if(Hold == -1001){
  3716. PH = Heal( 3, PH,FullH, 1,Strength,Vitality,Luck);
  3717. }else if(Hold == -1009){
  3718. Strength += 5 + (Luck / 3);
  3719. }else if(Hold == -1008){
  3720. Vitality += 5 + (Luck / 3);
  3721. }else if(Hold == -1007){
  3722. Luck += 5 + (Luck / 3);
  3723. }else if(Hold == -1006){
  3724. }else if(Hold == -1003){
  3725. Dia = -1;
  3726. Turn = 1;
  3727. ATurn = 0;
  3728. Hold = 0;
  3729. PH = PHed;
  3730. CH = CHed;
  3731. Strength = Sted ;
  3732. Vitality = Vited ;
  3733. Luck =Lucked;
  3734. }else if(Hold == -1004){
  3735. Done = true;
  3736. E = true;
  3737. PH = -1;
  3738. }else if(!(Hold == -1001) && !(Hold == -1003) && !(Hold == -1004) && !(Hold == -1009) && !(Hold == -1008) && !(Hold == -1007) && !(Hold == -1006) ){
  3739. CH = Hold;
  3740. }
  3741. }
  3742. Turn = ATurn;
  3743. Turn++;
  3744. }
  3745. Dia++;
  3746. Done = Check(PH,CH,0,0,0,0,0);
  3747. }while(Done == false);
  3748. if(PH < 1 && E == false){
  3749. Box(Dia,PH,FullH,CH,Turn,1,Strength,Vitality,Luck,Weapon);
  3750. }else if(CH < 1){
  3751. Box(Dia,PH,FullH,CH,1,1,Strength,Vitality,Luck,Weapon);
  3752. }
  3753. return PH;
  3754. }
  3755. int Stage2(int PH,int FullH, int CH,int Strength,int Vitality,int Luck,int Weapon){
  3756. system("CLS");
  3757. int Dia = 0, Turn = 1, ATurn = 0, Hold = 0, PHed = PH, CHed = CH, Sted = Strength, Vited = Vitality, Lucked = Luck, BA = 0;
  3758. bool Done = false, E = false;
  3759. do{
  3760. ATurn = Turn;
  3761. Turn = Turn % 2;
  3762. if (Dia <= 3){
  3763. Box(Dia,PH,FullH,CH,Turn,2,Strength,Vitality,Luck,Weapon);
  3764. }else if (Dia >= 4){
  3765. if(Turn == 1 ){
  3766. Hold = BattleBox(Dia,PH,FullH,CH,Turn,2,10,10,5,Weapon);
  3767. if(Hold == -1001){
  3768. CH = Heal( 1, CH,200, 1,Strength,5,5);
  3769. }else if(!(Hold == -1001)){
  3770. PH = Hold;
  3771. }
  3772. }else if(Turn == 0){
  3773. Hold = BattleBox(Dia,PH,FullH,CH,Turn,2,Strength,Vitality,Luck,Weapon);
  3774. if(Hold == -1001){
  3775. PH = Heal( 3, PH,FullH, 2,Strength,Vitality,Luck);
  3776. }else if(Hold == -1009){
  3777. Strength += 5 + (Luck / 3);
  3778. }else if(Hold == -1008){
  3779. Vitality += 5 + (Luck / 3);
  3780. }else if(Hold == -1007){
  3781. Luck += 5 + (Luck / 3);
  3782. }else if(Hold == -1006){
  3783. }else if(Hold == -1003){
  3784. Dia = -1;
  3785. Turn = 1;
  3786. ATurn = 0;
  3787. Hold = 0;
  3788. PH = PHed;
  3789. CH = CHed;
  3790. Strength = Sted ;
  3791. Vitality = Vited ;
  3792. Luck =Lucked;
  3793. }else if(Hold == -1004){
  3794. Done = true;
  3795. E = true;
  3796. PH = -1;
  3797. }else if(!(Hold == -1001) && !(Hold == -1003) && !(Hold == -1004) && !(Hold == -1009) && !(Hold == -1008) && !(Hold == -1007) && !(Hold == -1006) ){
  3798. CH = Hold;
  3799. }
  3800. }
  3801. Turn = ATurn;
  3802. Turn++;
  3803. }
  3804. Dia++;
  3805. Done = Check(PH,CH,0,0,0,0,0);
  3806. }while(Done == false);
  3807. if(PH < 1 && E == false){
  3808. Box(Dia,PH,FullH,CH,Turn,2,Strength,Vitality,Luck,Weapon);
  3809. }else if(CH < 1){
  3810. Box(Dia,PH,FullH,CH,1,2,Strength,Vitality,Luck,Weapon);
  3811. }
  3812. return PH;
  3813. }
  3814. int Stage3(int PH,int FullH, int CH,int Strength,int Vitality,int Luck,int Weapon){
  3815. system("CLS");
  3816. int Dia = 0, Turn = 1, ATurn = 0, Hold = 0, PHed = PH, CHed = CH, Sted = Strength, Vited = Vitality, Lucked = Luck, BA = 0;
  3817. bool Done = false, E = false;
  3818. do{
  3819. ATurn = Turn;
  3820. Turn = Turn % 2;
  3821. if (Dia <= 3){
  3822. Box(Dia,PH,FullH,CH,Turn,3,18,15,15,Weapon);
  3823. }else if (Dia >= 4){
  3824. if(Turn == 1 ){
  3825. Hold = BattleBox(Dia,PH,FullH,CH,Turn,3,Strength,Vitality,Luck,Weapon);
  3826. if(Hold == -1001){
  3827. CH = Heal( 1, CH,250, 1,Strength,10,5);
  3828. }else if(!(Hold == -1001)){
  3829. PH = Hold;
  3830. }
  3831. }else if(Turn == 0){
  3832. Hold = BattleBox(Dia,PH,FullH,CH,Turn,3,Strength,Vitality,Luck,Weapon);
  3833. if(Hold == -1001){
  3834. PH = Heal( 3, PH,FullH, 3,Strength,Vitality,Luck);
  3835. }else if(Hold == -1009){
  3836. Strength += 5 + (Luck / 3);
  3837. }else if(Hold == -1008){
  3838. Vitality += 5 + (Luck / 3);
  3839. }else if(Hold == -1007){
  3840. Luck += 5 + (Luck / 3);
  3841. }else if(Hold == -1006){
  3842. }else if(Hold == -1003){
  3843. Dia = -1;
  3844. Turn = 1;
  3845. ATurn = 0;
  3846. Hold = 0;
  3847. PH = PHed;
  3848. CH = CHed;
  3849. Strength = Sted ;
  3850. Vitality = Vited ;
  3851. Luck =Lucked;
  3852. }else if(Hold == -1004){
  3853. Done = true;
  3854. E = true;
  3855. PH = -1;
  3856. }else if(!(Hold == -1001) && !(Hold == -1003) && !(Hold == -1004) && !(Hold == -1009) && !(Hold == -1008) && !(Hold == -1007) && !(Hold == -1006) ){
  3857. CH = Hold;
  3858. }
  3859. }
  3860. Turn = ATurn;
  3861. Turn++;
  3862. }
  3863. Dia++;
  3864. Done = Check(PH,CH,0,0,0,0,0);
  3865. }while(Done == false);
  3866. if(PH < 1 && E == false){
  3867. Box(Dia,PH,FullH,CH,Turn,3,Strength,Vitality,Luck,Weapon);
  3868. }else if(CH < 1){
  3869. Box(Dia,PH,FullH,CH,1,3,Strength,Vitality,Luck,Weapon);
  3870. }
  3871. return PH;
  3872. }
  3873. int Stage4(int PH,int FullH, int CH,int Strength,int Vitality,int Luck,int Weapon){
  3874. system("CLS");
  3875. int Dia = 0, Turn = 1, ATurn = 0, Hold = 0, PHed = PH, CHed = CH, Sted = Strength, Vited = Vitality, Lucked = Luck, BA = 0;
  3876. bool Done = false, E = false;
  3877. do{
  3878. ATurn = Turn;
  3879. Turn = Turn % 2;
  3880. if (Dia <= 3){
  3881. Box(Dia,PH,FullH,CH,Turn,4,Strength,Vitality,Luck,Weapon);
  3882. }else if (Dia >= 4){
  3883. if(Turn == 1 ){
  3884. Hold = BattleBox(Dia,PH,FullH,CH,Turn,4,20,5,5,Weapon);
  3885. if(Hold == -1001){
  3886. CH = Heal( 1, CH,350, 1,Strength,5,5);
  3887. }else if(!(Hold == -1001)){
  3888. PH = Hold;
  3889. }
  3890. }else if(Turn == 0){
  3891. Hold = BattleBox(Dia,PH,FullH,CH,Turn,4,Strength,Vitality,Luck,Weapon);
  3892. if(Hold == -1001){
  3893. PH = Heal( 3, PH,FullH, 4,Strength,Vitality,Luck);
  3894. }else if(Hold == -1009){
  3895. Strength += 5 + (Luck / 3);
  3896. }else if(Hold == -1008){
  3897. Vitality += 5 + (Luck / 3);
  3898. }else if(Hold == -1007){
  3899. Luck += 5 + (Luck / 3);
  3900. }else if(Hold == -1006){
  3901. }else if(Hold == -1003){
  3902. Dia = -1;
  3903. Turn = 1;
  3904. ATurn = 0;
  3905. Hold = 0;
  3906. PH = PHed;
  3907. CH = CHed;
  3908. Strength = Sted ;
  3909. Vitality = Vited ;
  3910. Luck =Lucked;
  3911. }else if(Hold == -1004){
  3912. Done = true;
  3913. E = true;
  3914. PH = -1;
  3915. }else if(!(Hold == -1001) && !(Hold == -1003) && !(Hold == -1004) && !(Hold == -1009) && !(Hold == -1008) && !(Hold == -1007) && !(Hold == -1006) ){
  3916. CH = Hold;
  3917. }
  3918. }
  3919. Turn = ATurn;
  3920. Turn++;
  3921. }
  3922. Dia++;
  3923. Done = Check(PH,CH,0,0,0,0,0);
  3924. }while(Done == false);
  3925. if(PH < 1 && E == false){
  3926. Box(Dia,PH,FullH,CH,Turn,4,Strength,Vitality,Luck,Weapon);
  3927. }else if(CH < 1){
  3928. Box(Dia,PH,FullH,CH,1,4,Strength,Vitality,Luck,Weapon);
  3929. }
  3930. return PH;
  3931. }
  3932. int Stage5(int PH,int FullH, int CH,int Strength,int Vitality,int Luck,int Weapon){
  3933. system("CLS");
  3934. int Dia = 0, Turn = 1, ATurn = 0, Hold = 0, PHed = PH, CHed = CH, Sted = Strength, Vited = Vitality, Lucked = Luck, BA = 0;
  3935. bool Done = false, E = false;
  3936. do{
  3937. ATurn = Turn;
  3938. Turn = Turn % 2;
  3939. if (Dia <= 3){
  3940. Box(Dia,PH,FullH,CH,Turn,5,40,15,5,Weapon);
  3941. }else if (Dia >=4){
  3942. if(Turn == 1 ){
  3943. Hold = BattleBox(Dia,PH,FullH,CH,Turn,5,Strength,15,Luck,Weapon);
  3944. if(Hold == -1001){
  3945. CH = Heal( 1, CH,500, 1,Strength,10,5);
  3946. }else if(!(Hold == -1001)){
  3947. PH = Hold;
  3948. }
  3949. }else if(Turn == 0){
  3950. Hold = BattleBox(Dia,PH,FullH,CH,Turn,5,Strength,Vitality,Luck,Weapon);
  3951. if(Hold == -1001){
  3952. PH = Heal( 3, PH,FullH, 5,Strength,Vitality,Luck);
  3953. }else if(Hold == -1009){
  3954. Strength += 5 + (Luck / 3);
  3955. }else if(Hold == -1008){
  3956. Vitality += 5 + (Luck / 3);
  3957. }else if(Hold == -1007){
  3958. Luck += 5 + (Luck / 3);
  3959. }else if(Hold == -1006){
  3960. }else if(Hold == -1003){
  3961. Dia = -1;
  3962. Turn = 1;
  3963. ATurn = 0;
  3964. Hold = 0;
  3965. PH = PHed;
  3966. CH = CHed;
  3967. Strength = Sted ;
  3968. Vitality = Vited ;
  3969. Luck =Lucked;
  3970. }else if(Hold == -1004){
  3971. Done = true;
  3972. E = true;
  3973. PH = -1;
  3974. }else if(!(Hold == -1001) && !(Hold == -1003) && !(Hold == -1004) && !(Hold == -1009) && !(Hold == -1008) && !(Hold == -1007) && !(Hold == -1006) ){
  3975. CH = Hold;
  3976. }
  3977. }
  3978. Turn = ATurn;
  3979. Turn++;
  3980. }
  3981. Dia++;
  3982. Done = Check(PH,CH,0,0,0,0,0);
  3983. }while(Done == false);
  3984. if(PH < 1 && E == false){
  3985. Box(Dia,PH,FullH,CH,Turn,5,Strength,Vitality,Luck,Weapon);
  3986. }else if(CH < 1){
  3987. Box(Dia,PH,FullH,CH,1,5,Strength,Vitality,Luck,Weapon);
  3988. }
  3989. return PH;
  3990. }
  3991. int main(){
  3992. int PH = 100, Gold = 0, Ex = 0, CH = 100, Strength = 15, Vitality = 0,Skill_Points = 0, Luck = 5, W = 0, T = 20, S = 4
  3993. , LG = 0, PHs = 100;
  3994. char Q;
  3995. bool F = false;
  3996. Login();
  3997. Ex = Menu(Ex);
  3998. if (Ex == 1){
  3999. return(0);
  4000. }
  4001. Loading(1,PH);
  4002. PH = Stage1(PH,PHs,CH,Strength,Vitality,Luck,S);
  4003. if (PH > 0){
  4004. Gold += 150;
  4005. T += 5;
  4006. CH = 200;
  4007. do{
  4008. Strength = SkillChange(Strength,Vitality,Luck,T,1);
  4009. Vitality = SkillChange(Strength,Vitality,Luck,T,2);
  4010. Luck = SkillChange(Strength,Vitality,Luck,T,3);
  4011. Skill_Points = Strength + Vitality + Luck;
  4012. F = Check(100,100,Skill_Points,T,Strength,Vitality,Luck);
  4013. }while(F == false);
  4014. SPicture(PH,0,10,S);
  4015. PHs = 100;
  4016. PHs = PHs + Vitality;
  4017. PH = Heal(0,PH,PHs,1,Strength,Vitality,Luck);
  4018. F = false;
  4019. do{
  4020. W = Shop(Gold,S);
  4021. LG = Gold;
  4022. Gold = Process(W,Gold,S,LG,1);
  4023. if(!(LG == Gold)){
  4024. S = Process(W,Gold,S,LG,0);
  4025. }else if(LG == Gold){
  4026. W = Process(W,Gold,S,LG,0);
  4027. }
  4028. }while(!(W == 0));
  4029.  
  4030. }else if (PH < 1){
  4031. Loading(1,PH);
  4032. return(0);
  4033. }
  4034. //Stage 2
  4035. Loading(2,PH);
  4036. PH = Stage2(PH,PHs,CH,Strength,Vitality,Luck,S);
  4037. if (PH > 0){
  4038. Gold += 150;
  4039. T += 10;
  4040. CH = 250;
  4041. do{
  4042. Strength = SkillChange(Strength,Vitality,Luck,T,1);
  4043. Vitality = SkillChange(Strength,Vitality,Luck,T,2);
  4044. Luck = SkillChange(Strength,Vitality,Luck,T,3);
  4045. Skill_Points = Strength + Vitality + Luck;
  4046. F = Check(100,100,Skill_Points,T,Strength,Vitality,Luck);
  4047. }while(F == false);
  4048. SPicture(PH,0,10,S);
  4049. PHs = 100;
  4050. PHs = PHs + Vitality;
  4051. PH = Heal(0,PH,PHs,1,Strength,Vitality,Luck);
  4052. F = false;
  4053. do{
  4054. W = Shop(Gold,S);
  4055. LG = Gold;
  4056. Gold = Process(W,Gold,S,LG,1);
  4057. if(!(LG == Gold)){
  4058. S = Process(W,Gold,S,LG,0);
  4059. }else if(LG == Gold){
  4060. W = Process(W,Gold,S,LG,0);
  4061. }
  4062. }while(!(W == 0));
  4063.  
  4064. }else if (PH < 1){
  4065. Loading(2,PH);
  4066. return(0);
  4067. }
  4068. //Stage 3
  4069. Loading(3,PH);
  4070. PH = Stage3(PH,PHs,CH,Strength,Vitality,Luck,S);
  4071. if (PH > 0){
  4072. Gold += 150;
  4073. T += 15;
  4074. CH = 350;
  4075. do{
  4076. Strength = SkillChange(Strength,Vitality,Luck,T,1);
  4077. Vitality = SkillChange(Strength,Vitality,Luck,T,2);
  4078. Luck = SkillChange(Strength,Vitality,Luck,T,3);
  4079. Skill_Points = Strength + Vitality + Luck;
  4080. F = Check(100,100,Skill_Points,T,Strength,Vitality,Luck);
  4081. }while(F == false);
  4082. SPicture(PH,0,10,S);
  4083. PHs = 100;
  4084. PHs = PHs + Vitality;
  4085. PH = Heal(0,PH,PHs,1,Strength,Vitality,Luck);
  4086. F = false;
  4087. do{
  4088. W = Shop(Gold,S);
  4089. LG = Gold;
  4090. Gold = Process(W,Gold,S,LG,1);
  4091. if(!(LG == Gold)){
  4092. S = Process(W,Gold,S,LG,0);
  4093. }else if(LG == Gold){
  4094. W = Process(W,Gold,S,LG,0);
  4095. }
  4096. }while(!(W == 0));
  4097. }else if (PH < 1){
  4098. Loading(3,PH);
  4099. return(0);
  4100. }
  4101. //Stage 4
  4102. Loading(4,PH);
  4103. PH = Stage4(PH,PHs,CH,Strength,Vitality,Luck,S);
  4104. if (PH > 0){
  4105. Gold += 150;
  4106. T += 20;
  4107. CH = 500;
  4108. do{
  4109. Strength = SkillChange(Strength,Vitality,Luck,T,1);
  4110. Vitality = SkillChange(Strength,Vitality,Luck,T,2);
  4111. Luck = SkillChange(Strength,Vitality,Luck,T,3);
  4112. Skill_Points = Strength + Vitality + Luck;
  4113. F = Check(100,100,Skill_Points,T,Strength,Vitality,Luck);
  4114. }while(F == false);
  4115. SPicture(PH,0,10,S);
  4116. PHs = 100;
  4117. PHs = PHs + Vitality;
  4118. PH = Heal(0,PH,PHs,1,Strength,Vitality,Luck);
  4119. F = false;
  4120. do{
  4121. W = Shop(Gold,S);
  4122. LG = Gold;
  4123. Gold = Process(W,Gold,S,LG,1);
  4124. if(!(LG == Gold)){
  4125. S = Process(W,Gold,S,LG,0);
  4126. }else if(LG == Gold){
  4127. W = Process(W,Gold,S,LG,0);
  4128. }
  4129. }while(!(W == 0));
  4130.  
  4131. }else if (PH < 1){
  4132. return(0);
  4133. Loading(4,PH);
  4134. }
  4135. //Stage 5
  4136. Loading(5,PH);
  4137. PH = Stage5(PH,PHs,CH,Strength,Vitality,Luck,S);
  4138. if (PH < 1){
  4139. Loading(5,PH);
  4140. return(0);
  4141. }else if(PH > 0 ){
  4142. cout << "\n\n\n\n\n ";
  4143. cout << "\n\t\t ____ ____ ______ __ __ ____ __ ____ __ .__ __. ";
  4144. cout << "\n\t\t\\ \\ / / / __ \\ | | | | \\ \\ / \\ / / | | | \\ | | ";
  4145. cout << "\n\t\t \\ \\/ / | | | | | | | | \\ \\/ \\/ / | | | \\| | ";
  4146. cout << "\n\t\t \\_ _/ | | | | | | | | \\ / | | | . ` | ";
  4147. cout << "\n\t\t | | | `--' | | `--' | \\ /\\ / | | | |\\ | ";
  4148. cout << "\n\t\t |__| \\______/ \\______/ \\__/ \\__/ |__| |__| \\__| ";
  4149. cout << "\n\t========================================================================================\n\t";
  4150. }
  4151. }
Add Comment
Please, Sign In to add comment