Skip to content

Commit

Permalink
add 2 random sounds, outage add steps sfx
Browse files Browse the repository at this point in the history
  • Loading branch information
136MasterNR committed Feb 19, 2024
1 parent 9cc4070 commit 693a38b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
Binary file added audio/circus.mp3
Binary file not shown.
Binary file added audio/pirate_song2.mp3
Binary file not shown.
7 changes: 7 additions & 0 deletions events.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,13 @@ IF !TIMER! GEQ 534 (
EXIT 0
)

:: Random Sounds
SET /A RND_SFX=%RANDOM% %% 350 +1
IF !RND_SFX! EQU 1 START /B "" CMD /C CALL ".\audiomanager.cmd" START circus.mp3 sfx False 14 ^& EXIT >NUL 2>&1
SET /A RND_SFX=%RANDOM% %% 175 +1
IF !RND_SFX! EQU 1 START /B "" CMD /C CALL ".\audiomanager.cmd" START pirate_song2.mp3 sfx False 18 ^& EXIT >NUL 2>&1


:: Timers
SET /A TIMER+=1
SET /A TIMER_FOXY+=1
Expand Down
8 changes: 6 additions & 2 deletions main.bat
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,11 @@ START /B "" CMD /C CALL ".\audiomanager.cmd" STOP ambience ^& EXIT >NUL
START /B "" CMD /C CALL ".\audiomanager.cmd" STOP voiceover ^& EXIT >NUL
START /B "" CMD /C CALL ".\audiomanager.cmd" STOP oven ^& EXIT >NUL
START /B "" CMD /C CALL ".\audiomanager.cmd" STOP golden ^& EXIT >NUL
TIMEOUT /T 14 /NOBREAK >NUL
TIMEOUT /T 7 /NOBREAK >NUL
START /B "" CMD /C CALL ".\audiomanager.cmd" START deepsteps.mp3 sfx False 22 ^& EXIT >NUL 2>&1
TIMEOUT /T 7 /NOBREAK >NUL
START /B "" CMD /C CALL ".\audiomanager.cmd" START deepsteps.mp3 sfx False 22 ^& EXIT >NUL 2>&1
TIMEOUT /T 6 /NOBREAK >NUL
CALL ".\audiomanager.cmd" START musicbox.mp3 musicbox False 90

(
Expand Down Expand Up @@ -556,7 +560,7 @@ DEL /Q ".\temp\outagefreddy.cmd" >NUL 2>&1
DEL /Q ".\temp\STOP" >NUL 2>&1
CALL ".\audiomanager.cmd" STOP musicbox
TYPE ".\assets\office_outage.ans" > CON
TIMEOUT /T 13 /NOBREAK >NUL
TIMEOUT /T 12 /NOBREAK >NUL
SET JUMPSCARE=_freddy
GOTO :GAMEOVER
EXIT /B 0
Expand Down

0 comments on commit 693a38b

Please sign in to comment.