Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- TITLE Adventure
- :startup
- cls
- echo What would you like to do?
- echo.
- echo 1. Start the game!
- echo 2. Exit the game :(
- echo.
- set /p input0=Enter:
- If %input0% equ 1 goto begin
- If %input0% equ 2 exit
- goto startup
- :begin
- cls
- set hp=100
- set gold=0
- set dmg=1
- set armor=10
- goto naming
- :naming
- echo Hello...
- echo.
- echo What is your name?
- echo.
- set /p input1=Enter:
- goto welcome
- :welcome
- cls
- echo Welcome to the game!
- echo Here are your stats right now...
- echo Health = %hp%
- echo Gold = %gold%
- echo Attack Power = %dmg%
- echo Armor Class = %armor%
- echo.
- echo Press any key to continue...
- pause >nul
- goto home
- :home
- echo Hello, %name%!
- echo ------------
- echo Stats
- echo.
- echo Health = %hp% Gold = %gold%
- echo Attack Power = %dmg% Armor Class = %armor%
- echo Press any key to continue...
- pause >nul
- Exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement