If you appreciate the work done within the wiki, please consider supporting The Cutting Room Floor on Patreon. Thanks for all your support!
This article has a talk page!

Five Nights at Freddy's 4 (Windows)

From The Cutting Room Floor
Jump to navigation Jump to search

Title Screen

Five Nights at Freddy's 4

Developer: Scott Cawthon
Publisher: Scott Cawthon
Platforms: Windows, iOS, Android
Released internationally: July 23, 2015


CodeIcon.png This game has unused code.
GraphicsIcon.png This game has unused graphics.
TextIcon.png This game has unused text.
DebugIcon.png This game has debugging material.
Carts.png This game has revisional differences.


PrereleaseIcon.png This game has a prerelease article

Five Nights at Freddy's 4 is the fourth game in the series and the final chapter of the series' overarching story (until it wasn't). Instead of taking place in a pizzeria like the other games, FNAF 4 takes place in a regular suburban house, where a young child has to fend off nightmarish versions of the animatronics using only a flashlight.

Sub-Page

Read about prerelease information and/or media for this game.
Prerelease Info

Unused Graphics

[Frame 2] titlescreen

Demo Leftover

FNAF4Demoleftover1.png

A leftover piece of text from the game's demo version of the main menu can be found in the files of the full version.

Star Animation

FNAF4staranim.gif

An animation, intended for the unlockable stars on the main menu. Curiously, these are intended as separate animation sequences, possibly meaning the regular stars could be converted into these at one point in development in some way. Despite this, no code is associated with them.

(Source: Original TCRF research)

[Frame 17] demo

Demo Leftover

FNAF4Demoleftover2.png

The end of demo screen can also be found in the full version's files as well.

Unused Code

[Frame 10] lockbox

Original 20/20/20/20 Mode Ending

After beating 20/20/20/20 mode, an ending was supposed to occur similar to Nightmare mode's ending, except the player could actually open the lockbox's locks (which would move downward and fade away upon doing so); however, the box still cannot open. While it IS technically used, this is completely inaccessible without modding due to 20/20/20/20 mode always sending the player to the title screen upon completion.

Event 4

* User clicks with left button on Active 2
+ Alterable Value A of Active 2 = 0
+ Night >= 8
	 Sound : Play sample unlock2 on channel #1
	Active 2 : Set Alterable Value A to 2
	Active 2 : Set Alterable Value B to 10

Event 13

* Alterable Value B of Active 2 > 0
	Active 2 : Sub 1 from Alterable Value B
	Active 2 : Set position at (0,3) from Active 2

Event 14

* Alterable Value B of Active 2 = 0
+ Alterable Value A of Active 2 = 2
	Active 2 : Destroy


(Source: GBAura-Recharged)

[Frame 13] Cutscenes

Nose Honk

A hitbox internally named honk can be found out of bounds in the cutscenes. It has functioning code, and behaves identically to the Freddy Plushie nose-honking easter egg on the bed in the main levels; clicking on it with the left button makes a honking noise. This leads to the possibility that you could originally honk the Fredbear plushie's nose. It is possible that this was scrapped due to the cutscenes always hiding the mouse cursor by default, thus making honking the nose impossible.

Event 198

* User clicks with left button on honk
	 Sound : Play sample PartyFavorraspyPart_AC01__3 on channel #10
(Source: Original TCRF research)

Unused Text

[Frame 7] intro to plushtrap

Unused Strings

Two unused pieces of text for Fun With Plushtrap's tutorial screen can be found out of bounds, and use a completely different font from the final game. They also reveal that beating the minigame would originally only skip one hour on your next night instead of two. Both unused strings read as follows:

Fun with Plushtrap
Hold Ctrl to use Flashlight. Use flashlight to stop Plushtrap on the "X" to skip 1 hour on your next night.
(Source: Original TCRF research)

[Frame 11] extras

Pre-Completion Nightmare

Before unlocking Nightmare in the extras menu, his animatronic name display text is supposed to read the following string, however it is normally invisible and cannot be viewed without modding.

???
(Source: Original TCRF research)

[Frame 13] Cutscenes

Chapter Text and Counter

FNAF4chaptertext.png

Some unused text that says "Chapter". It was intended to be designed for the minigames, however it is placed out of bounds and thus goes unused. Interestingly, a counter that was intended to be used alongside this text actually has code associated with it, but it too is placed out of bounds and its code does not work properly.

Debugging Material

[Frame 4] level

Test 2

A counter can be found off-screen at all times referred to internally as test 2. This counter always sets itself to Nightmare Fredbear's closet or bed kill timer. A game over is achieved if this value is greater or equal to 10.

(Source: Original TCRF research)

Test 3

Another off-screen counter can be found in the files named test 3. This counter shows an alterable value stored inside the map radar icon for the closet. This value will set itself to 1 if Bonnie or Chica are at the far ends of the hallways and the player shuts the door, causing them to go to your doorway immediately. This mechanic is presumably a punishment system for the player closing the door when they are not in danger yet.

(Source: Original TCRF research)

[Frame 8] plushtrap game

Test

A counter can be found off-screen named test. This counter is always set to an alterable value stored in the main background object. When the player is not using the light, the value is set to 0, but if the flashlight is used, this value is set to 1. If any of Plushtrap's animations (excluding when he lands on the X) play, this value is set to 3 until the animation sequence ends. Curiously, this value is set to an insanely large value of 98 when Plushtrap successfully lands on the X.

(Source: Original TCRF research)

Cheats and Debugging Codes

Key/Combination Effect
1 Brings up the sound test menu that would normally appear on your first playthrough if pressed on the warning screen.
= Skips the player straight to 6AM on any level. Introduced in v1.0 Patch 2. Removed in v1.0 Patch 3.
C Unlocks cheat mode if pressed on the warning screen. Introduced in v1.1.
S, C, 6 Skips the player straight to 6AM on any level if cheat mode was unlocked beforehand. Introduced in v1.1.
S, C, 4 Skips the player straight to 4AM on any level if cheat mode was unlocked beforehand. Likely made for testing Night 6 and Nightmare mode's enemy transitions. Introduced in v1.1.

Miscellaneous

Oddities

Nightmare Jumpscare

Prior to v1.1, Nightmare's killscreen would send you to the warning screen. However, as of v1.1, this was changed to jump to a deleted frame (which still jumps to the warning screen due to the way the engine handles deleted or missing frames). What this scene would have been is completely unknown.

Event 2 (Pre-v1.1)

* Timer equals 05''-00
	Sound : Stop any sample
	storyboard controls : Jump to frame "Frame 17" (1)

Event 2 (v1.1)

* Timer equals 05''-00
	Sound : Stop any sample
	storyboard controls : Jump to frame (deleted frame, please replace action)

Revisional Differences

v1.0

Patch 1

Released on July 23, 2015. Initial release.

Patch 2

Released on July 23, 2015.

  • A cheat code was added where pressing the = key instantly ends the night.

Patch 3

Released on July 23, 2015.

  • The cheat code introduced in the above patch was removed.

Patch 4

Released on July 24, 2015.

breathing1.wav (v1.0 Patch 3) breathing1.wav (v1.0 Patch 4)
  • Increases the volume of the breathing noises heard in the two hallways from 70% to 90%.
  • The game is now in proper fullscreen.
(Source: ItzTaken)

v1.01

Patch 1

Released on July 27, 2015.

  • All changes brought on by v1.0 Patch 4 were removed.

Patch 2

Released on July 27, 2015.

breathing1.wav (v1.01 Patch 1) breathing1.wav (v1.01 Patch 2)
  • All changes brought on by v1.0 Patch 4 were reinstated, however the breathing volume has been increased from 70% to 100%.

Patch 3

Released on July 27, 2015.

  • A graphical error where Nightmare Fredbear's jumpscare animation would not stay in place on the screen was fixed.
(Source: ItzTaken)

v1.02

Patch 1

Released on July 27, 2015.

  • Nightmare Freddy's AI level in 20/20/20/20 mode has been increased from 6 to 8.

Patch 2

Released on July 28, 2015.

  • Nightmare Freddy's AI level increase in 20/20/20/20 mode from the previous patch was reverted.
  • Nightmare will now properly have a chance to teleport to the closet or bed in 20/20/20/20 mode.
  • Nightmare now teleports 50% more frequently, however his teleportation opportunies are still limited to only two times per night.
  • Nightmare Fredbear's hallway kill timer has been increased from 14 to 15 seconds on Night 6.
  • Nightmare's hallway kill timer has been decreased from 13 to 10 seconds in Nightmare mode.
  • Nightmare's hallway kill timer has been decreased from 12 to 5 seconds in 20/20/20/20 mode.
(Source: ItzTaken)

v1.021

Patch 1

Released on July 28, 2015.

  • Nightmare's hallway kill timer has been increased from 5 to 8 seconds in 20/20/20/20 mode.
  • Fixed a bug where pressing 2 and 0 at the same time in the Extras menu after beating Nightmare mode would instantly unlock the 20/20/20/20 mode button.

Patch 2

Released on July 28, 2015.

  • Nightmare's bed and closet kill timers have been increased from 8 to 10 seconds in 20/20/20/20 mode.
(Source: ItzTaken)

v1.022

Released on July 28, 2015.

  • Nightmare's bed and closet kill timers have been increased from 10 to 11 seconds in 20/20/20/20 mode.
(Source: ItzTaken)

v1.1

Standard Edition Patch 1

Released on October 30, 2015 (Scott "isn't good with release dates").

  • Cheat mode has been added, and can be unlocked by pressing C on the warning screen.
    • Pressing SC6 in cheat mode will instantly end the night.
    • Pressing SC4 in cheat mode will skip the player straight to 4AM.
  • Added cheats and challenges in the Extras menu. 6 additional stars have also been added to the main menu, and are unlocked when properly completing the challenges.
  • Fun With Balloon Boy has been added to the Extras menu. This gamemode also introduces Nightmare Balloon Boy, a nightmarish counterpart of Balloon Boy from the second game.
  • The buttons for Nightmare mode and 20/20/20/20 mode now make a sound when pressed, and require the player to press a start button to enter the night as opposed to starting immediately.
  • Nightmare's killscreen now sends the player to a deleted frame afterwards (it still defaults to the warning screen, however).
  • The Fun With Plushtrap tutorial screen length has been decreased from 10 to 6 seconds.
  • Once 20/20/20/20 mode has been beaten once, it cannot be accessed again unless you reset all of your save data.

Halloween Edition Patch 1

Released on October 30, 2015. Initial release.

  • The main menu now has additional text reading Halloween Edition.
  • Nightmare Bonnie has been reskinned into Jack-O-Bonnie.
  • Nightmare Chica has been reskinned into Jack-O-Chica.
  • Nightmare Foxy has been reskinned into Nightmare Mangle, a nightmarish counterpart of Mangle from the second game.
  • Plushtrap has been replaced in the Extras menu with Nightmare Balloon Boy. Fun with Plushtrap and Fun with Balloon Boy are still accessible as separate minigames, however.
  • Nightmare has been reskinned into Nightmarionne, a nightmarish counterpart of the Puppet from the second game.
  • All instances of jump-cuts to Fun With Plushtrap after each cutscene now jump to Fun With Balloon Boy instead.
  • Halloween décor has been added to the cutscenes.

Standard & Halloween Edition Patch 2

Released on June 15, 2017.

  • Windowed mode has now been made borderless. The fullscreen mode was also improved.
(Source: ItzTaken)