Game Trainer allowed the player to "find new cheat codes" by comparing actively running code with recent changes in the game state. For instance, a player would turn on the Game Trainer saving the current game state much like a Snapshot. If Mario were to then take damage from an enemy, a HEX value would change in the game code causing Mario to shrink or die. The player would then have the Game Trainer search for all the HEX changes (sometimes in the 100s depending on the game complexity) since Mario took damage. Through trial and error this list can be further reduced until the specific HEX value for Mario's damage state is found. A "cheat code" could then be saved that keeps Mario's health state from changing, thus preventing him from taking damage.