this is part of the code!
@echo off
color 0a
:menu
echo Can you survive in the House...
echo Will you enter the house?
echo y/n
set /p c=
if "%c%" == "y" goto enter
if "%c%" == "n" exit
goto menu
:enter
cls
echo You walk in and hear creepy stuff.
echo There are three doors, choose wisely.
echo 1,2,3
set /p c=
if "%c%" == "1" goto living
if "%c%" == "2" goto bath
if "%c%" == "3" goto stairs
goto enter
:living
cls
set p=living
echo As you walk in, the very air is sick.
echo But you notice something as you walk
echo in. You just nuged it off.
echo 1) go through the next door
echo 2) go back
echo 3) look around
if "%c%" == "1" goto kicthen
if "%c%" == "2" goto enter
if "%c%" == "3" goto rloot
:rloot
set /a loot=%random% %% 5-1
if "%loot%" == "1" do (
echo You have found five bullets!
set ammo=5
)
set /a loot=%random% %% 5-1
if "%loot%" == "2" do (
echo You have found a pistol
set pistol=true
)
set /a loot=%random% %% 5-1
if "%loot%" == "3" do (
echo You have found nothing!
)
set /a loot=%random% %% 5-1
if "%loot%" == "4" do (
echo You have found an axe!
set axe=true
)
set /a loot=%random% %% 5-1
if "%loot%" == "5" do (
echo You have found nothing! yay
)
pause
goto living room
:kicthen
set p=kicthen
echo As you walk you notice blood all over
echo the floor. You start to hear noise.
echo Two options up stair ,or back.
echo 1,2
set /p c=
if "%c%" == "1" goto stairs
if "%c%" == "2" goto living
goto kicthen
:stairs
set p=stairs
echo As you walk up the stairs, it makes
echo strange noises. But as soon you make
echo it up the stairs. You hear something
echo scream from the next room.
echo Back or go to the screaming room.
echo 1,2
set /p c=
if "%c%" == "1" goto kicthen
if "%c%" == "2" goto bed
:bed
set p=bed
echo As soon as you reach the door, something
echo srceams again. As you open the door, You
echo see something in the bed. When you
echo aproch it screams and flings out of the
echo bed and grabs you, throws you at the wall
echo and runs out of the room.
echo Follow it or run away.. or save
echo 1,2,3
set /p c=
if "%c%" == "1" goto k
if "%c%" == "2" goto enter
if "%c%" == "3" goto save
goto bed
:save
(echo set p=%p%) > test.txt
(echo set axe=%axe%) >> test.txt
(echo set pistol=%pistol%) >> test.txt
(echo set ammo=%ammo%) >> test.txt
echo Saved...
pause
goto menu
:load
if %p% == "stairs" goto stairs
if %p% == "bed" goto bed
if %p% == "kicthen" goto kicthen
echo loaded!
pause
i hope this helps