Advertisement
tcl1

[Batch] Batchopolis 2.1.0

Apr 19th, 2014
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.35 KB | None | 0 0
  1. @echo off
  2. cls
  3. goto main-chk
  4. :main-chk
  5. if not exist colormsg.com goto setup
  6. if exist colormsg.com goto ilx
  7. :setup
  8. (
  9. echo e100
  10. echo 0F B6 0E 80 00 E3 4F BF 81 00 B0 20 FC F3 AE 74
  11. echo e110
  12. echo 45 E3 43 8A 45 FF E8 43 00 80 3D 20 74 0E C0 E0
  13. echo e120
  14. echo 04 8A E0 8A 05 E8 34 00 0A C4 47 49 E3 28 32 E4
  15. echo e130
  16. echo 50 B0 22 F2 AE 75 1F E3 1D 8B F7 8B D1 F2 AE 75
  17. echo e140
  18. echo 01 41 2B D1 74 10 8B CA 5B B0 20 B4 09 CD 10 AC
  19. echo e150
  20. echo B4 0E CD 10 E2 F9 32 C0 B4 4C CD 21 3C 61 72 02
  21. echo e160
  22. echo 2C 20 3C 41 72 02 2C 07 2C 30 C3
  23. echo rcx
  24. echo 6b
  25. echo w
  26. echo q
  27. ) | debug colormsg.com > nul
  28. (
  29. echo e100
  30. echo 0F B6 0E 80 00 E3 2D BF 81 00 B0 20 FC F3 AE 74
  31. echo e110
  32. echo 23 E3 21 8D 75 FF E8 45 00 3C 20 75 3B 86 F2 E8
  33. echo e120
  34. echo 3C 00 86 F2 3C 20 74 04 3C 0D 75 2C 32 FF B4 02
  35. echo e130
  36. echo CD 10 EB 24 32 FF B4 03 CD 10 8A C6 8A CA E8 38
  37. echo e140
  38. echo 00 B2 20 B4 02 CD 21 8A C1 E8 2D 00 B2 0D B4 02
  39. echo e150
  40. echo CD 21 B2 0A B4 02 CD 21 32 C0 B4 4C CD 21 32 E4
  41. echo e160
  42. echo AC 3C 20 74 FB 3C 30 72 0D 3C 39 77 09 2C 30 D5
  43. echo e170
  44. echo 0A 8A E0 AC EB EF 8A F4 C3 D4 0A 05 30 30 8B D0
  45. echo e180
  46. echo 80 FC 30 74 08 86 D6 B4 02 CD 21 8A D6 B4 02 CD
  47. echo e190
  48. echo 21 C3
  49. echo rcx
  50. echo 92
  51. echo w
  52. echo q
  53. ) | debug textpos.com > nul
  54. goto ilx
  55. :ilx
  56. cls
  57. color 13
  58. textpos 0 0 & colormsg 07 "Enter your name "
  59. textpos 2 0 & echo ============================================================
  60. textpos 3 0 & echo Enter your name. This will be your name throughout the game.
  61. textpos 4 0 & echo ============================================================
  62. textpos 5 0 & set /p nm=
  63. goto misc
  64. :misc
  65. set g=3
  66. set h=7
  67. set /a cash+=10000
  68. set sr=%g%%h%
  69. set dale-1= _______
  70. set dale-2= _____/^|___^|^\________
  71. set dale-3= [=] ^| ^| ^| ^\
  72. set dale-4= ==(O)==============(O)==
  73. goto menu
  74. :menu
  75. cls
  76. color %sr%
  77. textpos 0 0 & colormsg 07 "Batchopolis "
  78. textpos 2 0 & echo ===[ Main ]===
  79. textpos 3 0 & echo 1. Buy Cars
  80. textpos 4 0 & echo 2. Save/Load Game
  81. textpos 5 0 & echo 3. What's New/Change list
  82. textpos 6 0 & echo 4. Game Info
  83. textpos 7 0 & echo ====[ Player ]====
  84. textpos 8 0 & echo %nm%
  85. textpos 9 0 & echo Cash: $%cash%
  86. textpos 10 0 & echo ==================
  87. textpos 25 0 & choice /c 1234 /n
  88. if %errorlevel%==1 goto buycars
  89. if %errorlevel%==2 goto datamg
  90. if %errorlevel%==3 goto whats_new
  91. if %errorlevel%==4 goto game_info
  92. :whats_new
  93. cls
  94. color %sr%
  95. textpos 0 0 & colormsg 07 "What's New/Changelist "
  96. textpos 2 0 & echo Title bars (see that black bar up there?)
  97. textpos 3 0 & echo Re-added name input (remember the days of alpha 0.0.1-1.0.0?)
  98. textpos 4 0 & pause >nul & goto menu
  99. :game_info
  100. cls
  101. textpos 0 0 & colormsg 07 "Game information "
  102. textpos 2 0 & echo Batchopolis v2.1.0
  103. textpos 3 0 & echo ==================
  104. textpos 4 0 & echo Press any key to go back & pause >nul & goto menu
  105. :buycars
  106. cls
  107. textpos 0 0 & colormsg 07 "Buy Cars "
  108. textpos 2 0 & echo [1. Dale]
  109. textpos 3 0 & echo The Dale is a ordinary sedan.
  110. textpos 4 0 & echo [2. Fedora]
  111. textpos 5 0 & echo The Fedora is a sleek and fast car.
  112. textpos 7 0 & echo Press a car's number to buy it or 3 to go back.
  113. textpos 25 0 & choice /c 123 /n
  114. if %errorlevel%==1 goto buy_dale
  115. if %errorlevel%==2 goto buy_fedora
  116. if %errorlevel%==3 goto menu
  117. :buy_dale
  118. cls
  119. color 8F
  120. textpos 0 0 & colormsg 07 "Cars - Dale "
  121. textpos 2 0 & echo =================================
  122. textpos 3 0 & echo Dale
  123. textpos 4 0 & echo =================================
  124. textpos 5 0 & echo Cost ^| $1,000
  125. textpos 6 0 & echo HP ^| 132 hp
  126. textpos 7 0 & echo =================================
  127. textpos 8 0 & echo Y = Purchase ^| N = Return
  128. textpos 9 0 & choice /c YN /n
  129. if %errorlevel%==1 goto bd-1
  130. if %errorlevel%==2 goto buycars
  131. :buy_fedora
  132. cls
  133. color 8F
  134. textpos 0 0 & colormsg 07 "Cars - Dale "
  135. textpos 2 0 & echo =================================
  136. textpos 3 0 & echo Fedora
  137. textpos 4 0 & echo =================================
  138. textpos 5 0 & echo Cost ^| $5,600
  139. textpos 6 0 & echo HP ^| 328 hp
  140. textpos 7 0 & echo =================================
  141. textpos 8 0 & echo Y = Purchase ^| N = Return
  142. textpos 9 0 & choice /c YN /n
  143. if %errorlevel%==1 goto bd-2
  144. if %errorlevel%==2 goto buycars
  145. :bd-1
  146. cls
  147. set /a cash-=1000
  148. textpos 0 0 & colormsg 07 "New car purchased "
  149. textpos 2 0 & echo You've purchasd the Dale!
  150. textpos 3 0 & echo Press any key to go back to the menu.
  151. textpos 25 0 & pause >nul & goto menu
  152. :bd-2
  153. cls
  154. set /a cash-=5600
  155. textpos 0 0 & colormsg 07 "New car purchased "
  156. textpos 2 0 & echo You've purchasd the Fedora!
  157. textpos 3 0 & echo Press any key to go back to the menu.
  158. textpos 25 0 & pause >nul & goto menu
  159. :datamg
  160. cls
  161. textpos 0 0 & echo Feature unavailable. Press any key to continue.
  162. pause >nul & goto menu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement