home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / Visual Basic new SourceCode and Projects / Adventure game / Demos / Game / Game.bat
Encoding:
DOS Batch File  |  1999-05-09  |  4.7 KB  |  236 lines

  1. @echo off
  2. :mainmenu
  3. cls
  4. type .\global\logo.tgf
  5. echo.
  6. echo     Made with Adventure Game Creator
  7. echo.
  8. echo       To play END OF THE WORLD     
  9. echo         select a number 1-4   
  10. echo.                               
  11. echo       1 = Play                 
  12. echo       2 = Help                   
  13. echo       3 = Credits                
  14. echo       4 = Quit                                                        
  15. echo.
  16. echo       Press a number (1 though 4) 
  17. echo       Select the option you want:
  18. echo.
  19. choice /c:1234
  20. echo.
  21. if errorlevel 4 goto end
  22. if errorlevel 3 goto credits
  23. if errorlevel 2 goto help
  24. if errorlevel 1 goto play
  25.  
  26. :play
  27. cls
  28. echo.
  29. echo       General Wilson: Jones, there isn't anything that
  30. echo                       we can do now, they've landed... 
  31. echo.
  32. pause
  33. echo.
  34. echo       Private Jones: They've landed!?! What can we do?
  35. echo.
  36. pause
  37. echo.
  38. echo       General Wilson: I told you, there isn't anything
  39. echo                       we can do!
  40. echo.
  41. pause
  42. echo.
  43. echo       Background: CRASH
  44. echo.
  45. pause
  46. echo.
  47. echo       General Wilson: No! they've broken into the base!
  48. echo                       Run Jones, I'll try to hold'em!
  49. echo.
  50. pause
  51. echo.
  52. echo       Private Jones: But sir!
  53. echo.
  54. pause
  55. echo.
  56. echo       General Wilson: I said run!
  57. echo.
  58. pause
  59. echo.
  60. echo       Narrator: You run without looking back. As you
  61. echo                 run you can here the aliens ripping
  62. echo                 away at General Wilson. You shutter
  63. echo                 at the thought of that happening to
  64. echo                 you.
  65. echo.
  66. pause
  67. :doors
  68. cls
  69. type .\global\doors.tgf
  70. echo.
  71. echo       Narrator: You see three doors in front of you:
  72. echo                 one says Bio Lab, another says Exit,
  73. echo                 and the third says Armory.
  74. echo.
  75. choice /c:123
  76. if errorlevel 3 goto armory
  77. if errorlevel 2 goto exit2
  78. if errorlevel 1 goto biolab
  79.  
  80. :doors2
  81. cls
  82. type .\global\doors.tgf
  83. echo.
  84. echo       Narrator: You see three doors in front of you:
  85. echo                 one says Bio Lab, another says Exit,
  86. echo                 and the third says Armory.
  87. echo.
  88. choice /c:123
  89. if errorlevel 3 goto armory
  90. if errorlevel 2 goto exit
  91. if errorlevel 1 goto biolab
  92.  
  93. :exit2
  94. cls
  95. echo.
  96. echo       Narrator: You did it! You made it out of the base 
  97. echo                 safe and sound... or did you? On the
  98. echo                 way out you find a red access card!        
  99. type .\global\rac.tgf
  100. echo.
  101. pause
  102. goto goon
  103.  
  104.  
  105. :biolab
  106. cls
  107. type .\global\rac.tgf
  108. echo.  
  109. echo       Narrator: You find a red access card!
  110. echo.
  111. echo       Narrator: You look around but don't
  112. echo                 see anything of interest.
  113. echo.
  114. pause
  115. goto doors2
  116.  
  117. :armory
  118. cls
  119. echo.
  120. echo       Narrator: As you enter the room something attacks you!
  121. type .\global\alien.tgf
  122. echo.
  123. pause
  124. goto mainmenu
  125.  
  126. :exit
  127. cls
  128. echo.
  129. echo       Narrator: You did it! You made it out of the base
  130. echo                 Safe and sound... or did you?
  131. echo.
  132. pause
  133. goto goon
  134.  
  135. :goon
  136. cls
  137. type .\global\scum.tgf
  138. echo.
  139. echo       Narrator: There is a building in front of you.
  140. echo                 It says "ScumCo Labs".
  141. echo.
  142. pause
  143. goto choose1
  144.  
  145. :choose1
  146. cls
  147. echo.
  148. echo       1 = Open the door
  149. echo.
  150. choice /c:1
  151. if errorlevel 1 goto open
  152.  
  153. :open
  154. cls
  155. echo.
  156. echo       Narrator: You try to open the door but the door
  157. echo                 is locked!
  158. echo.
  159. pause
  160. goto choose2
  161.  
  162. :choose2
  163. cls
  164. echo.
  165. echo       1 = Open the door
  166. echo       2 = Use red access card
  167. echo.
  168. choice /c:12
  169. if errorlevel 2 goto redopen
  170. if errorlevel 1 goto open
  171.  
  172. :redopen
  173. cls
  174. echo.
  175. echo       Narrator: You use the red access card on the door
  176. echo                 and the door opens!
  177. echo.
  178. pause
  179. goto scum
  180.  
  181. :scum
  182. cls
  183. echo.
  184. echo       Narrator: You see a microscope with a slide in it
  185. echo                 labeled "ALIEN DNA SAMPLE". You decide
  186. echo                 to look at it.
  187. echo.
  188. pause
  189. goto dna
  190.  
  191. :dna
  192. cls
  193. type .\global\molecule.tgf
  194. echo.
  195. echo      Pryvate Jones: This alien DNA is multiplying way
  196. echo                     too fast! At this rate the aliens
  197. echo                     will be huge beasts by sunset!
  198. echo.
  199. pause
  200. echo.
  201. echo      Narrator: You know now that there may be nothing that
  202. echo                you can do to save the world...
  203. echo.
  204. pause
  205. goto mainmenu
  206.  
  207. :help
  208. cls
  209. echo.
  210. echo    Select one of the numbers indicated
  211. echo.   on the choice menu.      
  212. echo.
  213. pause
  214. goto mainmenu
  215.  
  216. :credits
  217. cls
  218. echo.
  219. echo    Programming - James Simmons
  220. echo    Design - James Simmons
  221. echo    Graphics - James Simmons
  222. echo    Story - James Simmons
  223. echo    Created by - James Simmons
  224. echo.
  225. echo    (c) 1999 Sim Software
  226. echo.
  227. pause
  228. goto mainmenu
  229.  
  230. :end
  231. cls
  232. echo.
  233. echo    Thanks for playing END OF THE WORLD!
  234.  
  235.  
  236.