Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- cls
- goto misc
- :misc
- set /a health+=10
- set healthdisplay=[][][][][][][][][][]
- set warning=Health is fine!
- goto health
- :health
- cls
- echo %warning%
- echo %healthdisplay%
- echo Press D to take health.
- echo Type exit to exit.
- set /p take=
- if %take% equ D goto s
- if %take% equ exit exit
- :s
- set /a health-=1
- goto check
- :check
- if %health%==9 set healthdisplay=[][][][][][][][][]
- if %health%==8 set healthdisplay=[][][][][][][][]
- if %health%==7 set healthdisplay=[][][][][][][]
- if %health%==6 set healthdisplay=[][][][][][]
- if %health%==5 set healthdisplay=[][][][][]
- if %health%==4 set healthdisplay=[][][][]
- if %health%==3 set healthdisplay=[][][]
- if %health%==2 set healthdisplay=[][]
- if %health%==1 set healthdisplay=[]
- if %health%==0 goto 0
- goto health
- :0
- set healthdisplay=0
- set warning=Health has depleted!
- goto health
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement