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, but you need to take atleast 1 hit to use it, 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 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 hundredth of a second. (for example, 100 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.
* **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.
* **showcollisions true/false (1/0)** - Makes the collisions Visible.
* **showhud true/false** - Toggles the HUD visibility.
* **show\_debug\_overlay** - Toggles Debug Overlay.
* **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.