As the title says, I would like to know the general method of creating cheat codes that make the player invincible. By invincible, I mean a cheat that completely avoids enemy attacks in action games like the Mario series or the Resident Evil series. It is not a cheat that makes damage zero. I have knowledge of disassembly.








