God mode cheat:
1. make a backup copy of Resources\data\project.json (just to be safe)
2. look into the file. If it starts with the three bytes "enc" (version 2024_03 and up), then run the decrypter first:
https://f95zone.to/threads/pixel-game-maker-mv-extractor.105950/page-4#post-13822428
3. open Resources\data\project.json with a text editor and replace all occurrences of
"assignVariableObjectId": 1,
"assignVariableQualifierId": -1,
"assignVariableId": 2,
with
"assignVariableObjectId": 1,
"assignVariableQualifierId": -1,
"assignVariableId": 3,
IMPORTANT: lots of objects have a variable with id 2, so only do this in blocks where "assignVariableObjectId" being
1 !!! What this patch does, is replacing your "current HP" with your "maximum HP" in calculations as if you had full HP all the time, so effectively you won't take any damage at all.
Also note that certain objectCommands in the json suggests that some enemies have an "instant kill" action (which does not involve your current HP in any way, kills you no matter), so you still must avoid those special attacks (not sure which enemies and what attacks, but my guess is bosses have such special moves). I haven't figured out yet how to nullify those.