Undertale/调试模式
This is a sub-page of Undertale/Debug Mode.
To do:
|
调试模式可以使用16进制编辑器激活。将data.win(Windows版本)game.unx (Linux版本) 或 game.ios (Mac OS X版本)中的00725B24 (1.0版本), 00725D8C (1.001版) 或 00725DDC (1.001 Linux版)改为01。
“data.win” 文件可以用任何压缩工具(如 7-Zip、WinRar)从“UNDERTALE.exe”中解压出来。该 exe 文件实质上是一个自解压的 .cab 压缩包,里面包含着所有的游戏资源,包括“真正的”可执行文件。不管你解压到哪里,这个“真正的”可执行文件总是能正常运行。用“Show Package Contents”浏览 Undertale 应用程序的内部就能够在 OS X 版本里找到 “game.ios” 。
(注意:如果你玩的是 Steam 版本,你应该解压除了“steam_api.dll”以外所有的文件,否则调试模式无法激活。)
Contents
Fun 事件
调试模式启用时,所有 Gaster 追随者的遭遇战都会被触发。
快捷键
按键 | 作用 |
---|---|
G | 打开次元箱。 |
G (仅在商店中时) | 将金钱设置为 5000。 |
O | 打开一个正常情况下未使用的对话框来把物品带出次元箱。 |
I | 同上,但是是放入次元箱。 |
S | 打开存档对话框。 |
L | 立即加载存档文件。 |
M | 增加一个屠杀等级。 |
F | 设置游戏速度为二倍速,FPS 为 60。音效不受影响。Sets game speed to double normal speed, and FPS to 60, for the duration of a room. Does not affect sound. |
P | 在房间速度快速与正常之间切换。 |
R | 连续快速按七次可重启游戏。 |
U | Toggles Undyne phone calls. Turns the player blue if enabled, yellow if disabled. |
V | 显示房间碰撞盒。 |
W | 使游戏减速至 10 FPS。 |
5 | Increase battle group by 5. Does not roll over to 0 after 256. |
Backspace | 按住可以加快步行速度。 |
Pg Up | Increase "steps" by 100. |
Pg Down | 将“状态”菜单里的攻击设置为 989,但无实际效果。 |
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. Set 009F553C (in version 1.0), 009EB414 (in version 1.001) or 009EB918 (in version 1.001 Linux) 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 | 传送至房间列表里的下一个房间,并将你置于指定位置。 |
Del | 传送至上一个房间。 |
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 | 增加 500 金。 |
F9 | 停止当前播放的所有音效和音乐。 |
F10 | Toggle collision with walls. |
F11 | Teleport to the room after Papyrus's boss fight (room_water1/idː82). |
F12 | 重启房间。 |
R + 6 | Teleport to Ruins tile puzzle room (room_ruins2/id:7). |
T + 6 | 传送至遗迹出口(room_tundra1/id:44)。 |
W + 6 | 同 F11。 |
F + 6 | 传送至热地水冷房间(room_fire2/id:138)。 |
E + 6 | 传送至新家入口(room_castle_front/id:219)。 |
Y + 6 | 传送至真实验室入口(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. |
Debug Flags
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. |
Area Specific
First Sans Encounter
Press J to zoom in on Sans, make a rimshot sound, and crash the game.
Chara's Reflection
The reflections of yourself in the puddles in Waterfall are replaced with an unknown character (presumed to be Chara) when spacebar is pressed.
Monster Kid Climb
To do: What do the numbers mean, Mason? |
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. |
Mad Dummy
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
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
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. |
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 | HYPER GONER |
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. |