{
  "schemaVersion": 1,
  "version": "1.0.0",
  "preparedDate": "2026-10-28",
  "gameId": "monster-world-iv-genesis-original",
  "rom": {
    "bytes": 2097152,
    "sha256": "57b2acaa86881710cb1fd5d78d00f8853c95e5b12fc216707b4a4126dcf89c10",
    "crc32": "5b27a700",
    "storedChecksum": "77ae",
    "calculatedChecksum": "34aa",
    "edition": "Supplied English-modified cartridge; exact translation revision unresolved"
  },
  "runtime": {
    "core": "Genesis Plus GX 1.7.6 retained EmulatorJS legacy build",
    "wasmSha256": "cfec0e5915c4b3d03336482e990a7809f16b37909992f94631c2cad8e92b5aae",
    "generatedJsSha256": "d0d72a80de344c110f2611a609c23fea81bba6a1c2048b398b3fdb5a406b07a5"
  },
  "cheats": {
    "health": {
      "label": "Infinite HP",
      "targets": [
        {
          "offset": "0111AC",
          "expected": "4A78",
          "replacement": "6000"
        },
        {
          "offset": "0111AE",
          "expected": "DA76",
          "replacement": "002C"
        }
      ],
      "behavior": "Skips all ordinary combat HP deductions while retaining the original hit reaction and knockback."
    },
    "invincibility": {
      "label": "Invincibility: no enemy hit contact",
      "targets": [
        {
          "offset": "00213A",
          "expected": "11C0",
          "replacement": "4E75"
        },
        {
          "offset": "017AF8",
          "expected": "0038",
          "replacement": "4E75"
        },
        {
          "offset": "017996",
          "expected": "0038",
          "replacement": "4E75"
        }
      ],
      "behavior": "Returns before the shared enemy hit-contact accumulator and two dedicated contact-hazard writes. This prevents the hit flags from reaching the damage and hit-response routines. Ordinary terrain, doors, pickups and sword attack code is unchanged."
    },
    "gold": {
      "buttons": [
        5000,
        50000,
        100000
      ],
      "limit": 999999,
      "address": "FFDA7E",
      "widthBits": 32,
      "behavior": "Adds once to the current game through a verified snapshot restore. The original save loader rejects totals of 1,000,000 or higher."
    }
  },
  "checks": {
    "passed": true,
    "actualNativeInstructionToggleConfigurations": 4,
    "actualNativeContactHelperCases": 3,
    "actualNativeHpDamageCases": 4,
    "actualNativeOpeningMovementCases": 3,
    "actualNativeGoldAdditionCases": 5,
    "nativeFullSnapshotReloadExact": true,
    "sourceRomUnchanged": true,
    "nativeSramWriterAndChecksumsTested": true,
    "genuineNativeSageAndJarInputs": true,
    "nativeRestartAndContinue": true,
    "sameOriginalSlotSavedTwice": true,
    "bothOriginalSlotsLoadedIndependently": true,
    "cancelLeavesSramUnchanged": true
  },
  "verificationScope": "Actual retained Genesis WASM. A naturally reached opening field snapshot supplies normal movement/terrain controls. Contact and damage routines use explicit private CPU/register/RAM fixtures and a private return loop; these tests invoke the exact native instructions and prove the skipped contact writers and retained HP behavior. They are not a whole-campaign or all-enemy gameplay test. The return-loop patch and fixtures are not public assets.",
  "limits": [
    "A natural enemy encounter was not replayed for these tests; exact native contact routines used explicit private input fixtures.",
    "Opening movement and terrain were compared through ordinary controls. The entire campaign and every hazard were not replayed.",
    "Scripted falls, forced story transitions and special losses retain their original rules. Disable damage-prevention assists for the second Queen encounter.",
    "The game has no spendable magic meter or experience-level system; no invented magic or level-gain switch is supplied.",
    "Native Save Sage dialogue, both original save jars, restart and Continue were also tested with real original-game button inputs after a controlled debug-warp fixture. This is not a natural playthrough to Rapadagna or a browser file-picker test."
  ],
  "references": [
    {
      "title": "Author-published Monster World IV (Japan) cheat codes",
      "url": "https://gamehacking.org/game/15512",
      "use": "Candidate contact hooks; independently decoded and inspected against the supplied different ROM checksum."
    },
    {
      "title": "Genesis Plus GX cheat decoding implementation",
      "url": "https://github.com/ekeeke/Genesis-Plus-GX/blob/master/gx/gui/cheats.c",
      "use": "Game Genie bit mapping and in-memory patch semantics."
    },
    {
      "title": "Adrien Plazas: Monster World IV disassembly and code analysis",
      "url": "https://adrienplazas.com/blog/2026/04/14/monster-world-iv-disassembly-and-code-analysis.html",
      "use": "Independent 2008-revision analysis used as a research aid; exact supplied-ROM instructions remain authoritative."
    }
  ]
}
