Sly 1:Cheat codes

has nine cheat codes (or debug codes) that unlock hidden abilities and perform special functions.

Unlock All Levels
Instantly unlocks all worlds, all levels in map view, and set each hub to its final state (all keys unlocked). If you are in The Hideout, it will also automatically reload.

Once you save, this is permanent on your file.

Unlock All Pages
Instantly unlocks all thief moves from the Thievius Raccoonus. You can still open vaults, but they will be empty and will not get marked as completed on your file.

Once you save, this is permanent on your file. To manually unlock all pages using hacks, set the two bytes at memory offset 0x27DC10 to 0xFFFF

Collect Clue Bottles
Instantly collects all clue bottles in the current level. The bottles will disappear from the world and you will be able to open the vault immediately.

Once you save, this is permanent on your file.

Infinite Lucky Charms
Gives Sly infinite recovery from damage. Even if Sly does not have a lucky charm on his back, the game will behave as if he does. This is because the function that checks if Sly has a lucky charm when he takes damage also checks if this cheat is enabled.

This code will stay in effect until you use the Reload + Disable Cheats code, choose Save and Quit from the pause menu, or restart the game. To manually enable this cheat using hacks, set bit 1 at memory offset 0x262C64 to 1.

Slippery Objects
Also called "low friction objects", this code adds slippery physics to certain game objects. Currently, the only known effects are that clue bottles will slide down slopes, and barrels will slide on slopes or when pushed.

This code will stay in effect until you use the Reload + Disable Cheats code, choose Save and Quit from the pause menu, or restart the game. To manually enable this cheat using hacks, set bit 3 at memory offset 0x262C64 to 1.

Reload + Low Gravity Guards
Formerly called "Slippery Guards", this code reloads the current level and adds slippery physics to guards and Sly. It’s subtle, but you can observe it in action by doing generator skip, and the SGUARD|squid should fall off the roof with you. Some jumps and ledge grabs are more difficult with this code enabled.

This code will stay in effect until you use the Reload + Disable Cheats code, choose Save and Quit from the pause menu, or restart the game. To manually enable this cheat using hacks, set bit 2 at memory offset 0x262C64 to 1.

Reload + Disable Cheats
This code will reload the current level and disable the effects of the Infinite Lucky Charms, Slippery Objects, and Slippery Movement codes.

To manually disable these cheats using hacks, set bits 1, 2, and 3 at memory offset 0x262C64</tt> to 0</tt>.

Level Reload Code
This code will reload the current level. There is no other effect.

Chetkido
Entering this code under very specific conditions will cause a message to popup in the corner of the screen that reads "The password isː chetkido". The four conditions are:


 * 1) Have 100% on your save file
 * 2) Be in Perilous Ascent
 * 3) Have exactly 99 coins
 * 4) Have exactly 0 lives

Implementation
Each cheat code is represented by a global CHEAT</tt> struct. Every frame, the function  is called, which in turn calls   nine times (once for each code). The checks your button inputs against each code sequence, detects whether the full code has been entered, and calls the associated callback function if necessary.

History

 * August 15, 2019 - NiV-L-A discovers the "Reload + Slippery Movement" code, calling it the "Level Reload Code". At the time, it was believed that this was the only working code and that it's only effect was reloading the level.
 * June 5, 2020 - TheOnlyZac discovers the 8 remaining cheat codes. The community begins experimenting to figure out what they actually do.
 * Unknown - All cheat codes functions were identified except the "Chetkido" code. At the time it was called the "Square Square Square" code
 * Unknown - The callback function for the Chetkido cheat is reverse-engineered, revealing the secret conditions for the message to appear.