We have upgraded to the latest version of MediaWiki and now support TLS1.2 and transcoding!
Please contact us via Discord or Twitter if you experience any problems.

Undertale/Debug Mode

From The Cutting Room Floor
Jump to navigation Jump to search
This page contains changes which are not marked for translation.
Other languages:
English • ‎한국어

This is a sub-page of Undertale.

Hmmm...
To do:


A debug mode can be activated by using a hex editor, like HxD. Change 00725B24 (in version 1.0), 00725D8C (in version 1.001) or 00725DDC (in version 1.001 Linux) to 01 in data.win (Windows versions) game.unx (Linux) or game.ios (Mac OS X). As of 8/21/17, UNDERTALE updated to version 1.08, (1.06 for Non-Steam applications.). To activate Debug Mode, find 007748C4, change to 01. This works for both versions.

data.win can be extracted from UNDERTALE.exe by any decent archiving tool like 7-Zip or WinRAR. It's actually a self-extracting .cab containing all the game's resources along with the real executable, which can be run normally from wherever you extract the files to. game.ios can be found in the OS X version by browsing into the Undertale application using "Show Package Contents".

(Note: If you are playing the Steam version, you should extract every file except steam_api.dll, or the debug mode won't be activated.)


(Source: mirrawrs)

Fun Events

When debug mode is enabled, all Gaster follower encounters will be triggered.

Keyboard Shortcuts

Key Effect
G Opens dimensional box.
G (in shop) Sets gold to 5000.
O Opens a normally unused dialog to take items out of a dimensional box.
I Same as above, but to put away.
S Opens the save dialog.
L Instantly loads your save file.
M Increase murder level by 1.
F Sets game speed to double normal speed, and FPS to 60, for the duration of a room. Does not affect sound.
P Toggle room speed between fast and normal.
R When pressed seven times in quick succession, restarts the game.
U Toggles Undyne phone calls. Turns the player blue if enabled, yellow if disabled.
V Shows room collision boxes.
W Slows game down to 10 FPS.
5 Increase battle group by 5. Does not roll over to 0 after 256.
Backspace Increases walk speed when held down.
Pg Up Increase "steps" by 100.
Pg Down Sets attack in the STAT menu to 989. Appears to be cosmetic only.
End Plays the next monster (Flowey if in a genocide run) dialogue from New Home.
Home Starts a battle with the current battle group. Default is 140 (So Sorry) in version 1.0 and 80 (Mettaton) in version 1.001. In later updates the battle group default is 57. Set 009F553C (in version 1.0), 009EB414 (in version 1.001), 009EB918 (in version 1.001 Linux) or 00BD8200 (in version 1.06) in data.win, game.unx or game.ios to change. List of battle groups here. If the battle group is invalid, the last dialogue script is shown in the battle box under the YOU WON! text. The battle ends if you spare, flee, try to use an item, or act. The game crashes if you try to fight.(NOTE:To put the number you want you will need to convert the number you want to hex.)
Insert Teleport to the next room in the room list. Places you in a specific position.
Del Teleport to the previous room.
F3 Places a file system_information_962 in your save folder. After game restart, puts you at the black screen after a genocide run.
F7 Adds 500 gold.
F9 Stops all sounds and music currently playing.
F10 Toggle collision with walls.
F11 Teleport to the room after Papyrus's boss fight (room_water1/idː82).
F12 Restart room.
R + 6 Teleport to Ruins tile puzzle room (room_ruins2/id:7).
T + 6 Teleport to outside of Ruins exit (room_tundra1/id:44).
W + 6 Same as F11.
F + 6 Teleport to Hotlands water cooler room (room_fire2/id:138).
E + 6 Teleport to New Home entrance (room_castle_front/id:219).
Y + 6 Teleport to True Lab entrance (room_truelab_elevator/id:244).

Battle Shortcuts

Key Effect
1 Halves game speed. Cannot go below 1 FPS, or game crashes.
2 Doubles game speed. Cannot go past 2x normal game speed. Crashes game if pressed too many times.
8 Shortens current enemy turn.
9 Extends current enemy turn.
F Sets game speed to double normal speed.
W Slows game down to 10 FPS.
Delete Sets HP to 999 for current fight.
F6 Sets mercy to 0 and attack to 9999.
O + P Sets mercy to 9999, enabling the spare option instantly. Some enemies that cannot be normally spared turn into Aaron.


(Source: pcy.ulyssis.be)

Debug Flags

Hmmm...
To do:
Which dialogue?
Flag Line in savefile Description
4 5 If set to 1, before Undyne's fight, her monologue will act as if you've killed no monsters, even if you've killed some.
26 57 Overrides murder level when set to a non-zero value.
28 59 If set to 1, holding C in dialogues will skip through them quickly.
69 100 If set to 1, changes Burgerpants' dialogue slightly.


(Source: pcy.ulyssis.be)

Area Specific

First Sans Encounter

Press J to zoom in on Sans, make a rimshot sound, and crash the game.

Alternate Reflection

Toby Fox messing with us.

The reflections of yourself in the puddles in Waterfall are replaced with a sprite of an unknown character when Space is pressed. According to the game files, the character seems to be Chara, but they also look like Kris from Deltarune.

Monster Kid Climb

Maybe next time, we'll try a relaxing shade of green.

Two numbers will appear over the player's head, starting at -1 and 0. The first number indicates the value an alarm is at (which alarm is determined by the second number), while the second number changes the first one and indicates Monster Kid's state.

Fight Specific

Lesser Dog

Key Effect
J Increases head height.

Papyrus

Key Effect
Spacebar Sets Papyrus's next attack and dialogue to "THE KING WILL TRIM A HEDGE IN THE SHAPE OF MY SMILE!!!"
O If pressed when you are blue, Papyrus will not attack you, and will say "..." if you try to spare or attack him.

Shyren

Key Effect
3 Increases the emotion variable, used during the fight to affect her status.


(Source: /u/mirrawrs)

Mad Dummy

Fools?

A red number starting from 300 appears attached to the right of the Mad Dummy, indicating its health. Pressing A will set the number to 180, make the dummy float around, and make his next attack his "FINAL ATTACK!"

Undyne

Note: Undyne cannot be spared with the key combination O+P.

Key Effect
7 Sets HP to 999.
A Decreases turn counter by 1.

Asgore

I think it's a metaphor for his impatience.

A turn counter counts up from 0 in the top left corner of the screen. The higher the counter is, the harder Asgore's attacks are and the less defense Asgore has. Press A to decrease, press S to increase. If above 20, it is set back to 20 each time Asgore does his orange-blue attack. If set manually to above 22 or below 1, crashes the game when Asgore attacks.

Flowey

I think he's enjoying it.

The text "debug" in yellow comes down on the right side of the screen alongside Flowey. The intro and game over screens are skipped after the first death.

Key Effect
F3 Creates system_information_962 in the save folder.
Home Attack Flowey instantly. Does 6000 damage if all soul indicators are darkened.
Pg Up Darkens the soul indicators in order, increasing damage and affecting the next soul battle. Disables darkening when all are darkened, and the next time a soul battle occurs, the game will crash.
Right Shift, Left Shift, X Darkens the soul indicators in order, increasing damage and affecting the next soul battle.
Q Starts the battle instantly during the intro. Does not stop the intro, so you cannot move and the attacks miss you until Flowey is closer.
W Slows game down to 10 FPS. If used in Flowey's death state, starts the attack after Flowey's health is restored.
E One burst of three stars from each eye.
R One burst of seven stars from each eye.
I Makes Flowey laugh and restart his attacks, including in a soul battle.
O Purple Soul fight (books)
P Green Soul fight (frying pan)
A Toggle flamethrower
S Saves battle state. Shows "FILE 2 SAVED" at bottom left corner.
F Doubles game speed. Lock on pellet attack.
G Orange Soul fight (glove)
H One hand-gun attack
J Yellow Soul fight (gun)
K Aqua Soul fight (knives)
L Loads battle state. Shows "FILE 2 LOADED" at bottom left corner. If there is no save, crashes game.
C Toggles Flowey's mouth flap waving around.
V Single vine attack.
N Single F-Bomb.
M Ball of teeth/dentata attack.
Shift Deactivates souls one at a time.


(Source: /u/Nox13last)

Asriel

Key Effect
C Toggles Asriel's floating around and staying still above the middle of the screen.
Space Same as above, but closer to the top. Asriel must be still for any of the below keys to work. Attacks stack and start instantly.
G Chaos Buster/Chaos Blaster
B Shocker Breaker/Shocker Breaker II
W Chaos Saber/Chaos Slicer, slows the game down to 10 FPS
S Star Blazing/Galacta Blazing
H H Y P E R G O N E R

Undyne the Undying

Note: Undyne cannot be spared with the key combination O+P.

Key Effect
7 Sets HP to 999.
A Decreases turn counter by 1.

Sans

Key Effect
E Sets Sans' next attack to his special attack.
Q Sets Sans' next attack to the part where he spares you.


(Source: /u/sheik999)