HTML Cheat code list for HTML games & short tutorial

Satori6

Game Developer
Aug 29, 2023
584
1,392
230
Cheating and/or editing variables may have unintended consequences: skipping scenes, failing to trigger events, or straight up breaking the game. Always create a back-up of your vanilla save before messing with variables.

First a couple of simple tutorials:
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
And now the cheat list. If it says "Direct SC access", it means that variables can be directly modified using the method on the first tutorial. You can also modify these with Yamrishatum's Twine cheat script.

If you enjoy a game and want its development to continue, please support the dev.
These cheats are mostly there to avoid the grind that is common to most HTML games, to help people catch up when they've lost their save files, or to try new things without spending a dozen hours farming some stat.

A Life Lived v0.88p (Link)
No SugarCube - Values in this game are mainly stored in $data. There's way too many variables to list them all, I'll add the main MC variables here. Feel free to request specific values.
You don't have permission to view the spoiler content. Log in or register now.
Example: If you want to set money to 100 through the console, you'd do $data[3][2]=100;
Amore v0.652 (Link)
Direct SC access
Codes: Enter hashStr=function(t){return 1246946123;} in the console and use any password.
Apocalyptic World v0.60a (Link)
Direct SC access
Codes: rupture
Back to Freedom v0.36 (Link)
Direct SC access
Codes:
You don't have permission to view the spoiler content. Log in or register now.
Becoming Prom Queen v0.3.1c (Link)
Direct SC access
Codes: To enable the character editor, simply enter the following on that screen: document.getElementsByClassName('bg-image-button')[0].disabled=false;
Become Someone 1.68 (Link) Last updated: Jun 25 2025
Direct SC access
Codes: These commands will emulate the different codes being entered:
You don't have permission to view the spoiler content. Log in or register now.
Become Taxi Driver v0.46 (Link)
Direct SC access
Codes: The uploaded version isn't the patreon one, so there's no way to access its features, but you can access the "Lite Cheats" menu. This code bypasses the need to get the code:SugarCube.Engine.play('cheats_lite');
And this one lets you use each cheat on the menu without limits:
Code:
var timer=setInterval(function(){Object.assign(SugarCube.State.variables.lite_cheats,{lya:0,mia:0,jasmine:0,
brittney:0,caroline:0,skylar:0,blue_ticket:0,intelligence:0,strenght:0,money:0})},200);
Just make sure to remove it after you exit the cheat menu to avoid affecting performance: clearInterval(timer);
Beef in the City v0.20 (Link)
Direct SC access* Some values (like confidence) are stored in 'metadata'. eg; SugarCube.State.metadata.set('**',1000);, feel free to request specific ones if you can't find them.
Codes: yzjsrujsr
Confined And Horny v0.21.3 (Link)
Direct SC access* This game uses "MegaCube" instead of "SugarCube". :rolleyes:
Codes: Enter MegaCube.setup.qypu8nT7spGMIYUA=()=>true; for the highest tier.
Crucial Investigation v1.71n (Link)
Direct SC access
Codes (safebox):
You don't have permission to view the spoiler content. Log in or register now.
Damned Road v0.4 (Link) Last updated - Jul 03 2025
Direct SC access
Codes: 1130426
Debasing Grounds v0.36 (Link)
Ugliest code ever.
You don't have permission to view the spoiler content. Log in or register now.
Demon Gods v0.53 (Link)
Direct SC access
Code to win all battles and unlimited energy:
Code:
timer=setInterval(function(){SugarCube.State.variables.energy=SugarCube.State.variables.maxenergy,
SugarCube.State.variables.p.hp=SugarCube.State.variables.p.maxhp,
SugarCube.State.variables.e.reshp=SugarCube.State.variables.e.hp=SugarCube.State.variables.e.res=1;},500);
Destroyer v1.28 (Link)
Direct SC access
Codes: bunker and is
Disruption v0.16 (Link)
DryadQuest v0.16.0 public (Link)
Codes: Ugly as fuck code. The simplest is to replace the file inside of the "data" folder (or resources>app>dist>data if using the non_html version) by . This will enable debug and slut mode on the menu.
Family Ties Remake v0.1 (Link)
Direct SC access
Codes: Run hashStr=function(){return -487172454}; on the console before entering any random word as the code.
Generic Porn Game 1 (Link) Last updated - Jul 03 2025
Direct SC access
Codes: no.april.fool.joke.from.me.this.time.or.really.anytime.24-4-2025
You don't have permission to view the spoiler content. Log in or register now.
GrowUp v0.09 (Link)
Direct SC access
Codes: It includes sha264 codes that are simple enough to get through, but the easiest is to use the console for direct access as follows:
You don't have permission to view the spoiler content. Log in or register now.
Homefront Bound v0.1.19 (Link) Last updated - Sep 13 2025
Direct SC access
Codes: Use hashStr=(s)=>-1130179655 before using any password to enable the cheats.
Inseminator v0.11.3 (Link)
Direct SC access
Codes: Enter hashStr=function(t){return '1838404045331441304326454043';} on the console and then use any password.
Just One More Chance v0.42 (Link)
Direct SC access
Codes: This will take you to the cheat menu: SugarCube.Engine.play('Debugroom')
My New Mansion v0.6 (Link)
Direct SC access
Codes: Enter sjcl.codec.hex.fromBits=(s)=>s;sjcl.hash.sha256.hash=(s)=>s; and use code fddfe546551a24f1dd715ae18ea457001e53d4a9c0650b09511bc64c75419a2b
Naughty House v0.14 (Link)
Direct SC access SugarCube.State.variables.actionsLeft=999
Codes: Use , then go to changelog and click v13.
Pattriarch 0.18 (Link)
Direct SC access
Code:
You don't have permission to view the spoiler content. Log in or register now.
Pornstars Blackjack v1.04 (Link)
Direct SC access After starting a match for the first time, you can enter the following code to win all games:
Code:
timer=setInterval(function(){a=SugarCube.State.variables.carddeck,b=-1;
while(++b<a.length){SugarCube.State.variables.carddeck[b][0]=0;}SugarCube.State.variables.points=21;},500);
Codes: Use hashStr=function(){return 523883159;} in the console, then enter any code.
Project Reeducation v1.35 (Link)Last updated: Jul 26 2025 || Thanks to Svartr564
Direct SC access
Codes: Use hashStr=function(){return 1542227040 }; in the console and then enter whatever code you want. This is to access the game and DLC.
hashStr=function(){return 2025798857;} for the advanced character creation options.
The following are the cheat codes:
You don't have permission to view the spoiler content. Log in or register now.
Ravenswood Infernum v0.15 (Link)
No SugarCube
You don't have permission to view the spoiler content. Log in or register now.
Secret Taboo 2.80.3 (Link)
Direct SC access
Codes : andor
Siren v0.2.3.2 (Link)
Direct SC access timer=setInterval(function(){SugarCube.State.variables.mia.ac_c=6;},1000); gives you unlimited energy.
Codes: Enter one of these codes in the console, and then use any in game code:
You don't have permission to view the spoiler content. Log in or register now.
Small Town 1.25 (Link) Last updated: Jun 30 2025 - Thanks to Svartr564!
Direct SC access
Codes:
You don't have permission to view the spoiler content. Log in or register now.
Slut mansion 0.17 (Link)
Direct SC access
Codes: Enter hashStr=function(t){return 296769939;} in the console and then use any password.
Society v1.10 (Link)
Direct SC access
Codes: Enter the following in the console and then enter any random code: hashStr=function(){return -84088703;}
The Bodyguard's Secret v0.3 (Link) Last updated: Jun 23 2025
Direct SC access
Codes: 8r3s9l
The Doormroom Conundrum (Link) Last updated: Jun 26 2025
Direct SC access
Codes: AAAAAAGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!
The Ghost Hunter v.0.3.5 (Link)
Direct SC access - SugarCube.State.variables.ghost.name will show you the answer.
Object.assign(SugarCube.State.variables.equipment,{emf:0,sb:0,gwb:0,glass:0,thermometer:0,uvl:0}) makes it so all investigative actions take one click.
The Fapocalypse v0.4.4 (Link) Last update: June 22 2025
Direct SC access*
Codes:
You don't have permission to view the spoiler content. Log in or register now.
Time Shifter v0.9.9.5 (Link)
Direct SC access
Codes:
You don't have permission to view the spoiler content. Log in or register now.
To Be Sigma v0.84 (Link)
Direct SC access
Codes:
You don't have permission to view the spoiler content. Log in or register now.
Viceburg v0.0.12 (Link)
Direct SC access
Codes:
You don't have permission to view the spoiler content. Log in or register now.
X Change Life 0.19 Mar 21 (Link)
Harlowe (SugarCube's twin brother that was dropped on his head as a baby).
Here's an example of how you'd go about editing the money. window.Harlowe.API_ACCESS.STATE.variables.character.set('money',1000)
Other variables can be edited just like that, you just need to find the variable name in window.Harlowe.API_ACCESS.STATE.variables.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.

If there are outdated codes or broken cheats, just let me know and I'll fix them.
Self-imposed fair play rule for requests: If the game is a cashgrab and/or the dev spends more time trying to prevent people from cheating than actually working on the game I'll glady crush their cheat protection and post codes as soon as a release is out.

On the other hand, if the game shows dedication and has easy to bypass codes, I'll give it a 10 days grace period from the release dat of the last update before updating its codes.

I'll always add the simplest way to do it. When the game has fugly code, sometimes it's simpler to edit the HTML file itself. In those cases I'll add a link.

Make sure to quote or mention me when making requests, as I don't get reply notifications.
If possible upload the HTML file (and relevant JS ones when applicable) when making a request - I don't need the pictures to break a code, and I don't like downloading 3GB of random porn just to get a line of code - this will result in quicker replies.
 
Last edited:

Kalad1

New Member
Mar 10, 2024
13
10
89
Hi Satori,
I tried to follow your tuto with Aphodisia ch 3.9.9.
I'm using brave browser
I can find all the data I want to change but the changes are not effective.
Same issue with Zara's School.
Am I'm missing something or do you have any tip?

1719160080815.png
 
  • Like
Reactions: Satori6

Satori6

Game Developer
Aug 29, 2023
584
1,392
230
Hi Satori,
I tried to follow your tuto with Aphodisia ch 3.9.9.
I'm using brave browser
I can find all the data I want to change but the changes are not effective.
Same issue with Zara's School.
Am I'm missing something or do you have any tip?

View attachment 3763000
Hi! If you enter the number by itself it won't change anything. Same if you just enter the variable name - it will just tell you its value, but it won't change it.

In order to modify it, you need to enter it like this: SugarCube.State.variables.player.money=99999; on a single command. That equal sign tells it to assign the variable the value after the =

1719175380743.png
 
  • Like
Reactions: @LonelyWolf

Satori6

Game Developer
Aug 29, 2023
584
1,392
230
hello Satori6 , Dryad Quest has a new update , v 0.9.0 .

is it possible to update or post which variables to change ?

thank you very much.
Hi! I just updated the post with a fix for v0.9.

Please let me know if it doesn't work - I caught a cold and coding right now is a bit challenging, but this should be simple enough for me to get it right.
 
  • Like
Reactions: @LonelyWolf

Ronin_Al

Newbie
May 6, 2018
15
10
109
hello@ Satori6 , Dryad Quest has a new update , v 0.10.0 .

is it possible to update or post which variables to change ?

thank you very much.
 
  • Like
Reactions: Satori6

Satori6

Game Developer
Aug 29, 2023
584
1,392
230
hello@ Satori6 , Dryad Quest has a new update , v 0.10.0 .

is it possible to update or post which variables to change ?

thank you very much.
I lost my old save when my disk died, so I can't give it a proper test, but I've updated the list with one that seemed to work.
 
  • Like
Reactions: @LonelyWolf

TwoLayerBoom

New Member
May 9, 2017
9
14
30
Satori6 Hello there! Could you write us a guide on how to debug for Patreon codes? The game Apocalyptic World is pretty interesting, I think it has some form of encryption to it, but I lack the programming knowledge to further investigate it :p

check it out:

You don't have permission to view the spoiler content. Log in or register now.
 
  • Like
Reactions: Satori6

Satori6

Game Developer
Aug 29, 2023
584
1,392
230
Satori6 Hello there! Could you write us a guide on how to debug for Patreon codes? The game Apocalyptic World is pretty interesting, I think it has some form of encryption to it, but I lack the programming knowledge to further investigate it :p

check it out:

You don't have permission to view the spoiler content. Log in or register now.

The way to debug depends on what kind of protection a game is using, but generally I don't bother cracking the encryption.

In this case, if you check what is being tested you'd find if _testcode == setup.decrypt($mcCache), and then you'd see that the variable is set to (State.variables.mcCache = 'tpncsb';.

Then you can use the decrypt function itself to get the value:

1726792668883.png

That said, when breaking an access code in a game, always look for the weakest point, which will usually be a boolean (true/false) statement.

For example, in this case you could simply replace if _testcode == setup.decrypt($mcCache) for if true, which would make any code work.

You could also overwrite the decrypt function from the console like SugarCube.setup.decrypt=function(){return 'a';}, which would set the correct passcode to the letter a.

There's usually a dozen ways to break each game. Always go with whatever is easiest/more comfortable to you.
 
Last edited:

Satori6

Game Developer
Aug 29, 2023
584
1,392
230
I have to say that I'm a big fan of HTML games, and I don't know exactly why, but I get the impression that they don't interest the adult gamers' community that much, or that they're probably undervalued... {❔}
Perhaps it's because of this fucking GRINDING's bad reputation?-:unsure:-?
When all you're doing is pressing the same buttons/links over and over until you get a different picture, what you're making isn't a game, but a porn gallery with extra steps.

While there are some excellent HTML games, a large amount of them look like something that was put together over a weekend.

And while many VNs or RPGM games are pretty bad, at least they tend to have some original art that people can enjoy.
That's where the bad reputation comes from - it doesn't require any coding, people just use random porn pictures that took them 5 minutes to collect, and in many cases there isn't a story, character development, or anything besides single liners full of typos and a big patreon logo.


P.S. / Concerning the game "Beef in the City" by Pig&Pug, I believe that the updated Patreon code for the new version (0.20) is: "yrhhroajo" and clearly NOT "yzjsrujsr" as mentioned by the bro Hitorigoto in the dedicated thread; right? \
Can you upload the HTML file? The thread says 0.20, but the download link is for 0.19 -at least the pixeldrain one-.
 
  • Wow
Reactions: @LonelyWolf

TwoLayerBoom

New Member
May 9, 2017
9
14
30
The way to debug depends on what kind of protection a game is using, but generally I don't bother cracking the encryption.

In this case, if you check what is being tested you'd find if _testcode == setup.decrypt($mcCache), and then you'd see that the variable is set to (State.variables.mcCache = 'tpncsb';.

Then you can use the decrypt function itself to get the value:

View attachment 4052041

That said, when breaking an access code in a game, always look for the weakest point, which will usually be a boolean (true/false) statement.

For example, in this case you could simply replace if _testcode == setup.decrypt($mcCache) for if true, which would make any code work.

You could also overwrite the decrypt function from the console like SugarCube.setup.decrypt=function(){return 'a';}, which would set the correct passcode to the letter a.

There's usually a dozen ways to break each game. Always go with whatever is easiest/more comfortable to you.
Thanks A LOT!!! you're the GOAT <3