Debug Console

The Debug Console allows use of the console commands.

**WARNING: Improper use of the Console can and will delete the save file it is used in.**

It's recommended to have the debug console enabled while playing mods, due to issues mods can cause (for example getting stuck inside of walls).

## Enabling the Console

There are 2 ways to enable debug mode:

* Adding "-debug" to the launch options (right click game in library > properties > launch options)
* Editing the data.win. Search for “obj\_debugcontroller\_Create\_0” in the code tab and go to “Disassembly" tab to change "pushi.e 0" to "pushi.e 1" and save. (lmao dont open it in notepad, its gonna give you a ton of "mojibake")

While it is active, pressing F5 will open the console.

## Console Commands

* **alltoppins** - spawns 5 toppins right behind Peppino.
* **bossinv true/false** - disables the HP lost in boss battles. The hits taken don't count towards the Rankings or the Chef Tasks, you do not need to take any damage as of now, the "You hurt Peppino X Times." still appears and the hits will still count towards your 'damage' stat.
* **destroyice** - Destroys ice blocks in Refrigerator-Refrigerador-Freezerator. Same function as the Furnaces.
* **givekey** - Gives a normal level key.
* **hardmode true/false** - Enables the unused Hard Mode - the Heat meter will appear and Snick.exe will spawn and generate random enemies every once in a while. The enemies spawned will increase when the Heat meter is filled.
	+ Snick.exe can spawn:
		- Cheeseslimes
		- Forknights
		- Swedish Monkeys
		- Pencers
		- Flying Anchovys
		- Tribe Cheeses
		- Bandito Chickens
		- Pineacools
		- Noise Goblins
		- Pickles
		- Peppibots (only spawn as Shoulder Bash variant)
			* A possible reason of why peppibots only spawned as shoulder bash variant is because the shoulder bash was recycled from the knife attack because the hard mode was made likely before peppibot was reworked.
* **hidetiles true/false** - Hides the tile layer.
* **lockcam -** Locks the camera in place. Using the command again reverts the camera to normal.
* **noclip** - Allows flying through the level ignoring collision. Pressing the Grab or Jump key disables noclip and holding the Dash key increases flight speed. This will remove transformations and revert the player back to normal Peppino.
* **panic (time)** - Triggers Pizza Time. If time isn't specified, it lasts 5:31. If time is specified, every number is worth a tenth of a second. (for example, 10 would be 1 second) If Pizza Time was active and the command is activated, Pizza Time will end. This doesn't despawn Pizzaface Also, **If you execute this during the beginning cutscene and wait until the time is over, it will result with the 1st save file being deleted**
* **player\_room (room name) (door letter *[door 1 is door A]*)** - Teleports the player to a specific room and door. This is very case sensitive and will cause problems if used in unused or nonexistent rooms or doors. Here are some examples for rooms:

1. boss\_pepperman takes you to Pepperman's bossfight.
2. boss\_vigilante takes you to The Vigilante's bossfight.
3. boss\_noise takes you to The Noise's bossfight.
4. boss\_fakepep takes you to Fake Peppino's bossfight.
5. boss\_pizzaface takes you to Pizzaface's bossfight.
6. entrance\_1 takes you to John Gutter, medieval\_1 takes you to Pizzascape, and so on. (Check unlock\_toppins for all the levels)
7. tower\_1 takes you to the first floor, tower\_2 takes you to the second floor, and so on.

* **player\_set\_state** - Changes Peppino's transformation to one of five selectable states.
	1. states.normal - Normal Peppino.
	2. states.knightpep - Knight Peppino.
	3. states.firemouth - Firemouth Peppino.
	4. states.cheesepep - Sticky Cheese Peppino.
	5. states.ratmount - Gustavo, but he'll spawn without Brick.
		+ Brick can be regained when using the command in a secret room, including the Sound Test, however Brick will vanish once removed from Gustavo. This can be fixed in the Sound Test by taunting before removing Brick, as this makes the game think the player is *supposed* to be Gustavo.
		+ This also allows the player to leave the sound test and when entering any door as Peppino, the player will revert to Gustavo and Brick upon exiting the door, letting the player play through any level as Gustavo and Brick.
* **roomcheck** - Cycles rapidly through every playable hubworlds, levels, boss gates in the game to check if no rooms were to crash the game at any point. Once the check passes, the player will end up in the hub entrance during pizza time. If the player goes through the exit door, the game will be won and the completion will be 3% with the judgement being "You Suck!" regardless of time. **Once the command is executed, it will result in the saved data becoming impossible to delete.** The only way to fix it is to go into the savedata folder and delete the file yourself.
* **set\_combo (number) (time)** - Sets the Combo Meter to a value and the time it will last. If the combo is too high [1850+] (I think) you will not get any points for it.
* **showcollisions true/false (1/0)** - Makes the collisions Visible.
* **showhud true/false** - Toggles the HUD visibility.
* **show\_debug\_overlay** - Toggles Debug Overlay.
* **switch\_char** - Turns you into Pogo Noise. Does not toggle, if you want to switch back to Peppino you have to go back to the title screen. Added in the Halloween 2023 update.
* **unlock\_boss\_key 1-5** - Gives the boss key for the respected boss fight.
* **unlock\_toppins (level)** - Unlocks the 5 toppins of a level.
	+ **The following are the levels with their data name respectively.**
		- **John Gutter - entrance**
		- **Pizzascape - medieval**
		- **Ancient Cheese - ruin**
		- **Bloodsauce Dungeon - dungeon**
		- **Oregano Desert - badland**
		- **Fun Farm - farm**
		- **Wasteyard - graveyard**
		- **Fast Food Saloon - saloon**
		- **Crust Cove - plage**
		- **Gnome Forest - forest**
		- **Deep-Dish 9 - space**
		- **Golf - minigolf**
		- **The Pig City - street**
		- **Peppibot Factory - industrial**
		- **Oh Shit! - sewer**
		- **Refrigerator-Refrigerador-Freezerator - freezer**
		- **Pizzascare - chateau**
		- **Don't Make A Sound - kidsparty**
		- **WAR - war**
* **throwarc** - Unknown. Related to the variable "global.throwarc" which is only set to 1 in the player object
* **editor** - Teleports to the editor. It's disabled.
* **giveheat** - Adds Heat to the Heat Meter, Since the Heat Meter is unused, this is useless. (Doesn't work with 'hardmode' enabled.)
* **camera\_zoom (target) (speed)** - Zooms the camera on Peppino at a set speed.
* **loadtest** - It teleports you to a room that attempts to load the Final Boss third phase, but fails on some versions, crashing the game. On others it will take you to an unused room similar to the Tower Roof where the collisions are visible. It's not possible to leave without commands.
* **othertest** - Shows the Tricky Treat secret, also shows collision and makes you The Noise. On other versions, (notably the Halloween 2023 patch) using this command shows the old Final Judgement screen for around 5 seconds before crashing.

### Trivia

* The data names of the levels are the names for the levels in the eggplant build except for Pizzascare.