{
  "schema": 1,
  "game": "X2",
  "actor": "Slidame",
  "eventId": "04",
  "romSha1": "637079014421563283CDED6AEAA0604597B2E33C",
  "sourcePacket": "x2/04-slidame",
  "spans": [
    {
      "address": "01AD40",
      "length": 80,
      "sha256": "7FCDE6363F628D99DCF888D70DC6B71A8122BF50CB644A7FE4048CF8EB5B0393",
      "purpose": "Body dispatch and damaged-body explosion/fragment requests"
    },
    {
      "address": "01AE16",
      "length": 293,
      "sha256": "F0E59761F785EEC8DFBF09736235B034ED6322DDC724E4586F3D82B49B21C557",
      "purpose": "Body state table, initialization, paired small-object allocation, and proximity gate"
    },
    {
      "address": "01AF41",
      "length": 272,
      "sha256": "DC999E3EA0F1B0461CA58A943048A532B310C364A91ED89D9DA19DA6A84B3D2F",
      "purpose": "Approach, post-arrival handshake, cue consumption, and exit velocity"
    },
    {
      "address": "01B051",
      "length": 215,
      "sha256": "91CA3E80B0ECC215EF9809783CC6E3AF09F537A76EE2EFDAF466AE5764B18EC6",
      "purpose": "Off-camera stage helper and native aim/anchor tolerance"
    },
    {
      "address": "01B158",
      "length": 134,
      "sha256": "64E88BFAB0817639A54F134311D787BD696988BC9511F6E2087F473395238CD2",
      "purpose": "Moving side-device lifecycle and shared explosion on teardown"
    },
    {
      "address": "01B1DE",
      "length": 402,
      "sha256": "0A819949615575AB1E823FF7A13D1C8602812A45F3558BBD6ECA69C8B6E25CCA",
      "purpose": "Side positioning, emitter allocation, synchronized states and periodic cue selection"
    },
    {
      "address": "01B39B",
      "length": 130,
      "sha256": "193156DAC59E10A3313BF84C4B0B603C7ECEE6079211F86C49F85D0B279C577E",
      "purpose": "Side-device emission and both owner pointers"
    },
    {
      "address": "01D696",
      "length": 396,
      "sha256": "0C0B3CFC7C79682542BED8AB88633B997C04F665F38698362B1560BF9A99CF81",
      "purpose": "Emitted large effect update, stop conditions and side bits reported to the body"
    },
    {
      "address": "01E6BE",
      "length": 106,
      "sha256": "7F73F75DD26997F78BFD38C442219E359E4D32E6B242AB1B5070EA00C218F831",
      "purpose": "Small object 03 follows the living body"
    },
    {
      "address": "01E812",
      "length": 301,
      "sha256": "37857B0D88724BCF7D322DD8518FBFF0E1ECDE2777D3D697D09EDEFE708F5086",
      "purpose": "Small object 05 allocates the two large enemy 06 side devices"
    },
    {
      "address": "01E940",
      "length": 239,
      "sha256": "7D962ACA89FA68F47A6FD434FC03405A1879D490A26672FF1766477C2EC3323C",
      "purpose": "Small object 07 follows a side device and has its own teardown cue"
    },
    {
      "address": "06BB59",
      "length": 64,
      "sha256": "ECD6419A62689A9AAF3F8B3342C1754452961DB427640D461F1DD813370E87A5",
      "purpose": "Sixteen signed 8.8 approach and drift vectors with upward-positive Y"
    },
    {
      "address": "06BEF5",
      "length": 72,
      "sha256": "79A9C89B89D7115DEF12AFB84939B1DBB11AC625A1CE5A16E2B2F10B8D720293",
      "purpose": "Subtype anchors and side-device speed and offset tables"
    },
    {
      "address": "08DD85",
      "length": 113,
      "sha256": "3833C8926EE1762802FABE34BC21921E21518E0C4B9F6A2A41C7CDB38AF72F6D",
      "purpose": "Quantized 32-direction aiming invoked before the body folds to 16 sectors"
    },
    {
      "address": "08E0F0",
      "length": 27,
      "sha256": "BD6739ABF174D3AF7AB46D7E69CF22995BF5E9A78ABE585439B1095FE36FA834",
      "purpose": "Shared Common 23 explosion helper"
    },
    {
      "address": "06BF3D",
      "length": 300,
      "sha256": "BB33B7CFDD3AB78CBE1FF06165196474A69ABB40017E829E1A07BBECDAB965C5",
      "purpose": "Side field placement tables"
    },
    {
      "address": "2FA647",
      "length": 157,
      "sha256": "0E1F53EDA57665AED82C068EBA0C46EB921110C2343067DDBF104454B838EC12",
      "purpose": "Slidame attachment, side-device and trail animation table"
    },
    {
      "address": "06E2B4",
      "length": 46,
      "sha256": "5A8871E6DD037C414682AEFCB3C15B4D7977E7A72A4DC58741AE2E5EEF9C5122",
      "purpose": "Per-field vertical recipe origin"
    },
    {
      "address": "06E336",
      "length": 23,
      "sha256": "6B833067D9BEC7FD5623D985BD9136E549ED30A518B7CCEFCEF7F170C46D5FA4",
      "purpose": "Field subtype to stage map recipe selector"
    },
    {
      "address": "2AA824",
      "length": 203,
      "sha256": "54086F2A621B125D6A1905412AD9FDCD03D87D6D1509E2E63C294154796CC39E",
      "purpose": "Stage selection, map strip decoding and WRAM map write"
    },
    {
      "address": "00D834",
      "length": 37,
      "sha256": "90D823A21D10F8A56DFF35E5CEA2D2405CF8D941F8B4D1A452CC5703872302F5",
      "purpose": "Field draw and next-update contact window"
    },
    {
      "address": "01AD90",
      "length": 99,
      "sha256": "87742886D724F6478226D32547454A688E2BDA44F14DE90389FD1DCCDE1FBDC3",
      "purpose": "Player contact mask, ladder and paired-stop gates, direct crush damage"
    },
    {
      "address": "01D822",
      "length": 200,
      "sha256": "6AD11377128A4F215099E520DE9D84B869B3D2831BD48A1FDE0F1C57252CE0A0",
      "purpose": "Field collision callback and bounded integer displacement"
    },
    {
      "address": "06E2E2",
      "length": 60,
      "sha256": "5E2A8DCE87D6CF628EC5246ACF2E09916AC3E359F0074B6EC6D82DE2284F0E1A",
      "purpose": "Field-type hitbox pointers and referenced radius data"
    },
    {
      "address": "08D865",
      "length": 249,
      "sha256": "797FB6CF110D5581A6A5232E8A1B8F24A64CCF524A0CE6B9D476972E9EE402F8",
      "purpose": "Original integer inclusive overlap and sign outputs"
    },
    {
      "address": "08DA15",
      "length": 19,
      "sha256": "672B95F6DF2A127532C53FB1C952507FA6436859F329561DD23C8E816C30FBD8",
      "purpose": "Body equipment damage adjustment"
    },
    {
      "address": "08DBE4",
      "length": 75,
      "sha256": "EC28C24302383C3A79B390B502F4E20B558C1A43D2E54EC692B62407E022E79A",
      "purpose": "Direct damage service and lethal path"
    },
    {
      "address": "01B12B",
      "length": 30,
      "sha256": "6F5181643D8D97EC071F94D851CD653C25E6CB720E9F88A792D1968FFC00463B",
      "purpose": "Body small-debris allocator and instance initialization"
    },
    {
      "address": "06EB50",
      "length": 8,
      "sha256": "B39067982C32884E6E9E1860662F29F01A7E1AEFFFA283A3FA09441D412CA4EE",
      "purpose": "Subtype 06/07 debris selects Slidame animation group 02 and frames 0A/0B"
    },
    {
      "address": "01B01B",
      "length": 54,
      "sha256": "20D8BC209A34F2FFCE9C2D89C86B63E5B404F69463E58253CCAD5260E93739EC",
      "purpose": "Encounter leave gate transition, reset index and movement state"
    },
    {
      "address": "06BB99",
      "length": 860,
      "sha256": "CBA9586F8DBEBF02E93C6AF9694BD7859F0EE6F4656E2C3DF7E1B1BEF9745417",
      "purpose": "Five subtype offsets and ordered encounter map reset commands"
    },
    {
      "address": "2AA811",
      "length": 19,
      "sha256": "09B5E89D2F0F1FEC7D118D85B9F6949F18FF1216861394DEB39C8F3D54FF8AAC",
      "purpose": "Map recipe entry preserving the bank and selecting stage tables"
    },
    {
      "address": "01B370",
      "length": 43,
      "sha256": "34D3E4D6608AA2671D8FD188B3F4458AE270CFF66E43961429609072CB2BE307",
      "purpose": "Ruined emitter cleanup checks the active body and its reset phase"
    }
  ],
  "placements": [
    {
      "stage": 0,
      "subtype": 0,
      "origin": [
        6528,
        688
      ],
      "anchor": [
        6528,
        410
      ],
      "movementUpdates": 105
    },
    {
      "stage": 9,
      "subtype": 1,
      "origin": [
        1408,
        3744
      ],
      "anchor": [
        1408,
        3338
      ],
      "movementUpdates": 154
    },
    {
      "stage": 9,
      "subtype": 2,
      "origin": [
        896,
        2928
      ],
      "anchor": [
        896,
        2466
      ],
      "movementUpdates": 175
    },
    {
      "stage": 9,
      "subtype": 3,
      "origin": [
        640,
        1904
      ],
      "anchor": [
        640,
        1442
      ],
      "movementUpdates": 175
    },
    {
      "stage": 9,
      "subtype": 4,
      "origin": [
        1920,
        816
      ],
      "anchor": [
        1920,
        258
      ],
      "movementUpdates": 212
    }
  ],
  "observed": [
    {
      "command": "5D",
      "context": "Common",
      "queueCall": "01AF8E",
      "queueTarget": "00851E",
      "gate": "Only body phase 06 consumes C0 at DP+1E. The large effect 03 exit path at 01D80F..01D81C ORs either 40 or 80 into the body based on the effect facing, then the body clears the byte after its request."
    },
    {
      "command": "71",
      "context": "Song-19",
      "queueCall": "01B31A",
      "queueTarget": "00851E",
      "gate": "Side device 06 in phase 06, DP+37 bit 0 clear, update byte 09CC divisible by 16, and stage index 1FAD zero.",
      "pcmSha256": "21B11B9AC0E08F844EA6363F07922321DC69E17276E216C1EA8362543558FB20"
    },
    {
      "command": "72",
      "context": "Song-29",
      "queueCall": "01B322",
      "queueTarget": "00851E",
      "gate": "Same side-device gate as 71 with a nonzero stage index.",
      "pcmSha256": "21B11B9AC0E08F844EA6363F07922321DC69E17276E216C1EA8362543558FB20"
    },
    {
      "command": "23",
      "context": "Common",
      "queueCall": "01E95D",
      "queueTarget": "00851E",
      "gate": "Small object 07 owner remains alive and the owner's teardown counter matches the small object's generation byte. Side and body have additional calls to the shared 08E0F0 helper."
    }
  ],
  "adapter": "The five variants rise to their relative anchors. The two side devices lay independent trail segments, stop at collision 3B and wait until both devices are ready. On retract the moving fields report closure to the body. Audio uses the prepared original game banks. Body drift starts on the update after both devices finish. The native field columns reuse prepared placed terrain for the revision-pinned X2 Intro and stage 09 packages. Moving fields resolve integer pushback and paired crushing during the encounter while retaining player coordinate fractions. Debug no-clip bypasses the encounter's player contact.",
  "pending": [
    "Body attachments 03/05 and stage singleton behavior.",
    "Field-specific auxiliary vertical flags and carry behavior.",
    "Original encounter pool ordering, live comparison of stage 09 subtypes 1, 3 and 4.",
    "Acoustic comparison to original SPC mixing."
  ],
  "runtimeObservation": {
    "emulator": "BizHawk 2.11 / BSNESv115+",
    "emulatorSha256": "B2D4BE5E2A766A5161CC26F3AF2A90753C39D64C91C54A9884171AED09E21DF3",
    "harness": "tools/bizhawk/MMX2_Slidame_Capture.lua",
    "harnessLfSha256": "09F1C1A08EDA8B6D3D4CC46143AA62B8140E133FD0AD150477481E6CE2C6CDA2",
    "actorTraceLfSha256": "0042130856642BFCE6D9C8A061B34E948A7376AD781A0A221D8C00ABBE82A101",
    "queueTraceLfSha256": "B7CB71A517EEBB3BE175D7293F15F8E8F818AA362970A95FE1E6FDA895F92629",
    "setup": "Boot to stage 00, reload checkpoint 1, move X to the encounter and hold X at (6455,688) before each sample update. Leave enemy updates and banks under original control. Sound output is muted.",
    "coordinates": "Positions are 24-bit integers with eight fractional bits. Original signed 8.8 VY is upward-positive.",
    "body": {
      "slot": "0D18",
      "activationFrame": 1877,
      "anchorFrame": 1982,
      "verifiedRisingSteps": 105,
      "anchorRaw": [
        1671168,
        104960
      ],
      "retainedUpwardSpeedRaw": 672,
      "departureSelectedFrame": 2196
    },
    "sideDeviceTransitions": {
      "0D58": [
        {
          "frame": 1982,
          "phase": "00",
          "xRaw": 1667072,
          "yRaw": 106240
        },
        {
          "frame": 1983,
          "phase": "02",
          "xRaw": 1666560,
          "yRaw": 106240
        },
        {
          "frame": 2016,
          "phase": "04",
          "xRaw": 1650176,
          "yRaw": 106240
        },
        {
          "frame": 2056,
          "phase": "06",
          "xRaw": 1650176,
          "yRaw": 106240
        },
        {
          "frame": 2195,
          "phase": "08",
          "xRaw": 1667200,
          "yRaw": 106240
        },
        {
          "frame": 2196,
          "phase": "0C",
          "xRaw": 1667200,
          "yRaw": 106240
        }
      ],
      "0D98": [
        {
          "frame": 1982,
          "phase": "00",
          "xRaw": 1674752,
          "yRaw": 106240
        },
        {
          "frame": 1983,
          "phase": "02",
          "xRaw": 1675264,
          "yRaw": 106240
        },
        {
          "frame": 2016,
          "phase": "04",
          "xRaw": 1691648,
          "yRaw": 106240
        },
        {
          "frame": 2056,
          "phase": "06",
          "xRaw": 1691648,
          "yRaw": 106240
        },
        {
          "frame": 2195,
          "phase": "08",
          "xRaw": 1674624,
          "yRaw": 106240
        },
        {
          "frame": 2196,
          "phase": "0C",
          "xRaw": 1674624,
          "yRaw": 106240
        }
      ]
    },
    "sideCue71": {
      "queueSite": "01B31A",
      "requests": 16,
      "frames": [
        2067,
        2083,
        2101,
        2117,
        2134,
        2150,
        2167,
        2183
      ],
      "updates": [
        240,
        0,
        16,
        32,
        48,
        64,
        80,
        96
      ],
      "requestsPerFrame": 2
    },
    "bodyCue5D": {
      "queueSite": "01AF8E",
      "requests": 8,
      "firstFrame": 2189,
      "lastFrame": 2196
    },
    "limits": "Private Intro trace with forced player positioning. Queue observation only; no evidence for emitted PCM or stage 09 runtime.",
    "nativeFieldSlots": [
      "1518",
      "1548",
      "1578",
      "15A8",
      "15D8",
      "1608"
    ],
    "mapTrace": {
      "traceLfSha256": "E5AEE200F13B0ABC332F69F0CE682273DFFE8E8A528013848D1254AE863773EC",
      "writes": 459,
      "scope": "Foreground map writes emitted by the controlled Intro encounter.",
      "writeSite": "2AA8C4",
      "finalCells": 244,
      "relativeCellsSha256": "72825CAC007E86760CDB269582487A35FBABF90A8E40ECCE0F988294E3B991A4",
      "canonicalCells": "Last write per (y / 16, (x - 6272) / 16), sorted by row and column, serialized as newline-separated row,column,map without a trailing newline."
    },
    "harnessRevision": "ac5f850"
  },
  "fieldMapColumns": {
    "dispatcher": "2AA811",
    "recipeOffsetTable": "04DE24",
    "retailStages": [
      0,
      9
    ],
    "geometry": "Columns advance on a 16-pixel lattice. Native field initialization and pixel X & 15 == 8 while moving trigger the recipe. Positions designate existing foreground map IDs.",
    "recipes": [
      {
        "stage": 0,
        "fieldType": 0,
        "selector": 0,
        "headerAddress": "04DF86",
        "verticalOffset": 64,
        "strips": [
          {
            "address": "04DF8F",
            "mapIds": [
              1,
              2,
              3,
              4,
              5,
              2,
              3,
              4,
              5
            ]
          }
        ]
      },
      {
        "stage": 0,
        "fieldType": 1,
        "selector": 1,
        "headerAddress": "04DFA1",
        "verticalOffset": 64,
        "strips": [
          {
            "address": "04DFAA",
            "mapIds": [
              5,
              2,
              3,
              4,
              5,
              2,
              3,
              4,
              5
            ]
          }
        ]
      },
      {
        "stage": 0,
        "fieldType": 2,
        "selector": 2,
        "headerAddress": "04DFBC",
        "verticalOffset": 64,
        "strips": [
          {
            "address": "04DFC5",
            "mapIds": [
              2,
              3,
              4,
              5,
              3,
              4,
              5,
              3,
              4
            ]
          }
        ]
      },
      {
        "stage": 9,
        "fieldType": 3,
        "selector": 9,
        "headerAddress": "04EAB9",
        "verticalOffset": 16,
        "strips": [
          {
            "address": "04E9D1",
            "mapIds": [
              11,
              13,
              14,
              15
            ]
          }
        ]
      },
      {
        "stage": 9,
        "fieldType": 4,
        "selector": 10,
        "headerAddress": "04EAC2",
        "verticalOffset": 48,
        "strips": [
          {
            "address": "04E9D1",
            "mapIds": [
              11,
              13,
              14,
              15
            ]
          },
          {
            "address": "04E9D9",
            "mapIds": [
              13,
              13,
              14,
              15
            ]
          }
        ]
      },
      {
        "stage": 9,
        "fieldType": 5,
        "selector": 11,
        "headerAddress": "04EAD2",
        "verticalOffset": 48,
        "strips": [
          {
            "address": "04E9D9",
            "mapIds": [
              13,
              13,
              14,
              15
            ]
          },
          {
            "address": "04E9D9",
            "mapIds": [
              13,
              13,
              14,
              15
            ]
          }
        ]
      },
      {
        "stage": 9,
        "fieldType": 6,
        "selector": 34,
        "headerAddress": "04EC49",
        "verticalOffset": 48,
        "strips": [
          {
            "address": "04E9E1",
            "mapIds": [
              14,
              15,
              13,
              13
            ]
          },
          {
            "address": "04E9E1",
            "mapIds": [
              14,
              15,
              13,
              13
            ]
          }
        ]
      },
      {
        "stage": 9,
        "fieldType": 7,
        "selector": 9,
        "headerAddress": "04EAB9",
        "verticalOffset": 16,
        "strips": [
          {
            "address": "04E9D1",
            "mapIds": [
              11,
              13,
              14,
              15
            ]
          }
        ]
      },
      {
        "stage": 9,
        "fieldType": 8,
        "selector": 10,
        "headerAddress": "04EAC2",
        "verticalOffset": 48,
        "strips": [
          {
            "address": "04E9D1",
            "mapIds": [
              11,
              13,
              14,
              15
            ]
          },
          {
            "address": "04E9D9",
            "mapIds": [
              13,
              13,
              14,
              15
            ]
          }
        ]
      },
      {
        "stage": 9,
        "fieldType": 9,
        "selector": 41,
        "headerAddress": "04ECB2",
        "verticalOffset": 16,
        "strips": [
          {
            "address": "04EA31",
            "mapIds": [
              13,
              13,
              13,
              12
            ]
          }
        ]
      },
      {
        "stage": 9,
        "fieldType": 10,
        "selector": 28,
        "headerAddress": "04EBF0",
        "verticalOffset": 48,
        "strips": [
          {
            "address": "04E9D9",
            "mapIds": [
              13,
              13,
              14,
              15
            ]
          },
          {
            "address": "04E9E9",
            "mapIds": [
              14,
              15,
              13,
              12
            ]
          }
        ]
      },
      {
        "stage": 9,
        "fieldType": 11,
        "selector": 26,
        "headerAddress": "04EBD7",
        "verticalOffset": 48,
        "strips": [
          {
            "address": "04E9D1",
            "mapIds": [
              11,
              13,
              14,
              15
            ]
          },
          {
            "address": "04EA31",
            "mapIds": [
              13,
              13,
              13,
              12
            ]
          }
        ]
      },
      {
        "stage": 9,
        "fieldType": 12,
        "selector": 42,
        "headerAddress": "04ECBB",
        "verticalOffset": 16,
        "strips": [
          {
            "address": "04EA79",
            "mapIds": [
              13,
              13,
              13,
              13
            ]
          }
        ]
      },
      {
        "stage": 9,
        "fieldType": 13,
        "selector": 30,
        "headerAddress": "04EC09",
        "verticalOffset": 48,
        "strips": [
          {
            "address": "04E9D1",
            "mapIds": [
              11,
              13,
              14,
              15
            ]
          },
          {
            "address": "04E9E9",
            "mapIds": [
              14,
              15,
              13,
              12
            ]
          }
        ]
      },
      {
        "stage": 9,
        "fieldType": 16,
        "selector": 12,
        "headerAddress": "04EAE2",
        "verticalOffset": 48,
        "strips": [
          {
            "address": "04E9E1",
            "mapIds": [
              14,
              15,
              13,
              13
            ]
          },
          {
            "address": "04E9E9",
            "mapIds": [
              14,
              15,
              13,
              12
            ]
          }
        ]
      },
      {
        "stage": 9,
        "fieldType": 17,
        "selector": 36,
        "headerAddress": "04EC69",
        "verticalOffset": 48,
        "strips": [
          {
            "address": "04EA59",
            "mapIds": [
              14,
              15,
              14,
              15
            ]
          },
          {
            "address": "04E9D9",
            "mapIds": [
              13,
              13,
              14,
              15
            ]
          }
        ]
      },
      {
        "stage": 9,
        "fieldType": 18,
        "selector": 29,
        "headerAddress": "04EC00",
        "verticalOffset": 16,
        "strips": [
          {
            "address": "04E9E1",
            "mapIds": [
              14,
              15,
              13,
              13
            ]
          }
        ]
      },
      {
        "stage": 9,
        "fieldType": 19,
        "selector": 35,
        "headerAddress": "04EC59",
        "verticalOffset": 48,
        "strips": [
          {
            "address": "04E9D1",
            "mapIds": [
              11,
              13,
              14,
              15
            ]
          },
          {
            "address": "04E9E1",
            "mapIds": [
              14,
              15,
              13,
              13
            ]
          }
        ]
      },
      {
        "stage": 9,
        "fieldType": 20,
        "selector": 27,
        "headerAddress": "04EBE7",
        "verticalOffset": 16,
        "strips": [
          {
            "address": "04EA39",
            "mapIds": [
              11,
              13,
              13,
              12
            ]
          }
        ]
      },
      {
        "stage": 9,
        "fieldType": 21,
        "selector": 46,
        "headerAddress": "04ECED",
        "verticalOffset": 16,
        "strips": [
          {
            "address": "04EA89",
            "mapIds": [
              11,
              13,
              13,
              13
            ]
          }
        ]
      },
      {
        "stage": 9,
        "fieldType": 22,
        "selector": 39,
        "headerAddress": "04EC99",
        "verticalOffset": 16,
        "strips": [
          {
            "address": "04E9E9",
            "mapIds": [
              14,
              15,
              13,
              12
            ]
          }
        ]
      }
    ]
  },
  "contactObservation": {
    "emulator": "BizHawk 2.11 / BSNESv115+ with pinned X2 USA ROM",
    "harness": "tools/bizhawk/MMX2_Slidame_Capture.lua",
    "harnessLfSha256": "D9E91A14FC253A8041ECD755914550D3262C94A92A3A89328DD6DCDB8EE95B1B",
    "probe": {
      "mode": "contact",
      "fixture": "XSharp.Tests/Fixtures/X2/slidame-field-contact.csv",
      "fixtureLfSha256": "04E1A043CB60FD417528796A1B7E1CCA580E5D2C6EE36F455BC0076E7D9F4416",
      "cases": 32,
      "fieldSlots": [
        "1548",
        "15D8"
      ],
      "playerBox": "A153",
      "scope": "One player-position injection per frame before 01D822 and one sample on return. Standing player box, both directions, above/below, edge and no-contact cases."
    },
    "crush": {
      "mode": "crush",
      "frame": 2178,
      "fieldCentersX": [
        6514,
        6542
      ],
      "before": [
        6528,
        551
      ],
      "after": [
        6527,
        551
      ],
      "horizontalContacts": 3,
      "rawContactByte": 131,
      "damage": 50,
      "hpBefore": 16,
      "hpAfter": 0
    },
    "rules": [
      "Field radius X is 11. Radius Y is 75, 67 or 35 according to the 06:E2E2 pointer table.",
      "The field uses its prior draw/contact window, resolves contact before movement and preserves the player's fractional position bytes.",
      "Overlap X of at least eight permits vertical correction. The top edge suppresses horizontal correction inside five pixels of the top alignment point.",
      "Two horizontal push flags, or either flag in native ladder states 26, 28 or 2A, cause direct 50-point damage unless both devices have stopped. The body part reduces that value to 48."
    ],
    "limits": "Controlled original Intro probes and engine tests. The engine reuses the current player hitbox and its terrain collision state. Auxiliary vertical contact flags and the startup carry helper are not direct mappings. Stage 09 is not observed in this fixture."
  },
  "destructionObservation": {
    "emulator": "BizHawk 2.11 / BSNESv115+ with pinned X2 USA ROM",
    "harness": "tools/bizhawk/MMX2_Slidame_Capture.lua",
    "harnessRevision": "be35c82",
    "harnessLfSha256": "1CBA00B08505B1A16D281F417E2AA6E70265654E6C8A36E5F2B099331DE676D8",
    "method": "At 01:AD4E, a synthetic active weapon uses a free 10D8 slot and overlaps the body using shape A153. The capture forces the draw gate and lets the original 08:D79A scan and 01:AD5E teardown run. It records control flow after an overlap.",
    "fragmentColumns": [
      "subtype",
      "x",
      "y",
      "vx88Signed",
      "vy88Up",
      "seedAfter"
    ],
    "scenarios": [
      {
        "mode": "damage-rising",
        "bodyHitFrame": 1899,
        "bodyHitLogicTick": 73,
        "normalizedTraceSha256": {
          "boot.txt": "D684ED6DADFD14C0701C4EB195D14ADDD3723AE848FF3F04C20B6589D1E17F3C",
          "queues.csv": "0B25B8541CF733A6FC8338A37FFDD8383143099CB006A14902A61EBDDCFE957C",
          "frames.csv": "FE3EEE30F6510F663774F0475F442079C828892F3DC42FDCE94E8AE43547F791"
        },
        "fragmentBatches": [
          {
            "frame": 1899,
            "seedBefore": 27942,
            "fragments": [
              [
                6,
                6528,
                630,
                256,
                1024,
                54851
              ],
              [
                6,
                6528,
                630,
                128,
                1280,
                34893
              ],
              [
                6,
                6528,
                630,
                128,
                512,
                51887
              ],
              [
                7,
                6528,
                630,
                512,
                512,
                8239
              ],
              [
                7,
                6528,
                630,
                512,
                768,
                8624
              ]
            ]
          }
        ],
        "common23": {
          "sharedExplosionFrames": [
            1899
          ],
          "trailFrameRange": null,
          "trailRequestsPerUpdate": 0
        }
      },
      {
        "mode": "damage-fields",
        "bodyHitFrame": 2071,
        "bodyHitLogicTick": 244,
        "normalizedTraceSha256": {
          "boot.txt": "09060419E191867BB4607BA77497A591B5DF5E86EF87F493CF81AFBB0511217E",
          "queues.csv": "FB63ED6BB7660509A0D2B8BA2B3E74168A7C95CC47FFF4AE8DAB6CA07B6F9E89",
          "frames.csv": "CDE58009DB221609C7BC77302F13F4B52EDA213F0C049E90733701E4B7C7FEE6"
        },
        "fragmentBatches": [
          {
            "frame": 2071,
            "seedBefore": 8800,
            "fragments": [
              [
                6,
                6528,
                410,
                384,
                512,
                14334
              ],
              [
                6,
                6528,
                410,
                128,
                1152,
                63131
              ],
              [
                6,
                6528,
                410,
                512,
                896,
                43560
              ]
            ]
          },
          {
            "frame": 2106,
            "seedBefore": 22685,
            "fragments": [
              [
                7,
                6453,
                415,
                384,
                1024,
                7362
              ],
              [
                7,
                6601,
                415,
                -640,
                1152,
                538
              ]
            ]
          }
        ],
        "common23": {
          "sharedExplosionFrames": [
            2071,
            2106,
            2106
          ],
          "trailFrameRange": [
            2074,
            2105
          ],
          "trailRequestsPerUpdate": 2
        }
      }
    ],
    "rules": [
      "01:AD5E requests Common 23 at 08:E0F3 before the small pool allocations. Three subtype 06 fragments always follow. Phase other than 06 adds two subtype 07 fragments.",
      "Each initialized fragment consumes two 08:CB42 draws. The seeds at batch start are inferred by inverting the pinned generator from the observed per-fragment outputs.",
      "01:B15E dispatches the currently active side routine on the hit update before checking the owner phase. 01:B194 then increments the side teardown index every fourth update.",
      "A trail at the indexed generation runs 01:E95D on each update and refreshes animation 0C. 01:B1AA requests the shared Common 23 and one subtype 07 fragment for each side on the fourth update after the last trail generation.",
      "The destroyed body remains invisible in phase 0A and retains its encounter state until the cleanup path. The derived leave gate uses the anchor versus camera X and the player Y offsets in 06:BF09."
    ],
    "limits": "Controlled Intro weapon overlaps. The XSharp regressions compare request cadence and fragment launch state at observed seeds. See damagedFieldObservation for the near-target follow-up. Live stage 09, exit map restoration, natural-input overlap and SPC arbitration remain unverified."
  },
  "damagedFieldObservation": {
    "emulator": "BizHawk 2.11 / BSNESv115+ with pinned X2 USA ROM",
    "harness": "tools/bizhawk/MMX2_Slidame_Capture.lua",
    "harnessLfSha256": "BED3471EA45D1E0320539B21AC2A4BA3ADFE07AC70F30553F1EEE7A0B3F7DFB7",
    "fieldObserverPc": [
      "01D71A",
      "01D7D7",
      "01D821"
    ],
    "fieldSlotOrder": [
      "1518",
      "1548",
      "1578",
      "15A8",
      "15D8",
      "1608"
    ],
    "deviceTargetX": 6528,
    "far": {
      "mode": "damage-fields",
      "hitFrame": 2071,
      "damagedFieldTraceLfSha256": "26FBE9959DBC8D2FD663AB008BE87CEC9B7C46E51B784A234238D6F67077C561",
      "firstStationaryFrame": 2073,
      "sideExplosionFrame": 2106,
      "trailRequestCount": 64
    },
    "near": {
      "mode": "damage-near-target",
      "hitFrame": 2180,
      "hitLogicTick": 93,
      "trialScope": "One synthetic weapon overlap at 01:AD4E with the original intro fields already moving toward the anchor.",
      "normalizedTraceSha256": {
        "boot.txt": "5131C1C2FEB86030F9072B9BBDC43D8C72CF27C4599C250C91D0BF8AA8788461",
        "frames.csv": "6E5E96837E606DF581E4F18932BED62BE49D870D78F8F529FD94F1BA99376788",
        "queues.csv": "FBBBA1DAFE8A94DEE1097B60DCD3300F70D42F113966B5116AA18A223C1ECF0D",
        "maps.csv": "5CF67A76FD915DC2C3EA5A484CA463A8E90A7970A6C57659A472F3D6333AAE26",
        "damaged-fields.csv": "1DE61B5DB5123D3423BD072B45273C5829973EE2B8292DDD92DBD0AB181EA86B"
      },
      "trailFrames": [
        2181,
        2182
      ],
      "trailRequestsPerUpdate": 2,
      "sideExplosionFrame": 2183,
      "firstStationaryFrame": 2190,
      "postExplosionMapColumns": [
        [
          2188,
          6536
        ],
        [
          2189,
          6520
        ]
      ],
      "finalFieldXRaw": [
        1664768,
        1669120,
        1668992,
        1677696,
        1673344,
        1673472
      ]
    },
    "rules": [
      "The two emitter flags are distinct. Bit 7 requests stop and bit 0 prevents movement. On a far hit, the first field sets bit 7. Later fields move on that update before the side latches bit 0 at 01:B361.",
      "When the damage timer is nonzero and a field is strictly within 24 integer pixels of the unshifted side target, 01:D71A clears bit 7 and sets the shared damage timer to FF. The side increments it modulo 256. This makes the next generation check occur on the same update.",
      "The individual field stop line is device target plus its signed eight-pixel initial offset. At arrival, the field clears its velocity and latches both stop bits. The field path still allows motion when the side timer has bit 7 set after the side explodes.",
      "The first trail update can retain its half-pixel retract when the damage timer wraps to zero before the small-object routine. The trail then queues Common 23 on every update with the matching destruction generation."
    ],
    "limits": "The comparisons cover Intro field positions, cue cadence and the observed post-explosion column writes. Stage 09 runtime and encounter exit map restoration remain open.",
    "harnessRevision": "1fc6030"
  },
  "exitObservation": {
    "emulator": "BizHawk 2.11 / BSNESv115+ with pinned X2 USA ROM",
    "harness": "tools/bizhawk/MMX2_Slidame_Capture.lua",
    "harnessLfSha256": "7EF46984B485B77510FBCC4E931FC2477F6B16953B64E09AF0B7DC747CFABA3A",
    "commandTable": "06BB99",
    "recipeTable": "04DE24",
    "mapWriter": "2AA811",
    "groupWritesCanonical": "Each line is zero-based group,x,y,mapId in original order, LF-separated, no trailing LF.",
    "staticVariants": [
      {
        "stage": 0,
        "variant": 0,
        "groupStart": "06BBA3",
        "groups": 16,
        "writes": 288,
        "uniqueCells": 278,
        "groupWritesSha256": "89C7D4AEC79F20434FCFDC8D8E341772B0249347466FBEB03841C829E5031ECD",
        "mapIds": [
          0,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21
        ]
      },
      {
        "stage": 9,
        "variant": 1,
        "groupStart": "06BBF4",
        "groups": 33,
        "writes": 432,
        "uniqueCells": 336,
        "groupWritesSha256": "671996E2C6538B1BE952CBF226037AC723DBAE09C2E5D9E206D87316EA81350E",
        "mapIds": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          70,
          79,
          137
        ]
      },
      {
        "stage": 9,
        "variant": 2,
        "groupStart": "06BC9A",
        "groups": 40,
        "writes": 512,
        "uniqueCells": 376,
        "groupWritesSha256": "27C38D4EEE6C12E48CA909B3908BEDD2BA6EAF2D91CC75DD694D7D1A4E89C752",
        "mapIds": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          70,
          79,
          137
        ]
      },
      {
        "stage": 9,
        "variant": 3,
        "groupStart": "06BD63",
        "groups": 40,
        "writes": 456,
        "uniqueCells": 328,
        "groupWritesSha256": "254C11463633682C8A64C9D0930F376FDFD6A586816E1B1D88943BBCD11859DF",
        "mapIds": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          70,
          79,
          137
        ]
      },
      {
        "stage": 9,
        "variant": 4,
        "groupStart": "06BE2C",
        "groups": 40,
        "writes": 512,
        "uniqueCells": 384,
        "groupWritesSha256": "589BF09E7B959619A70CD2218B54C692DF79D6EBA31A25AE7171930E4E16E9F0",
        "mapIds": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          70,
          79,
          137
        ]
      }
    ],
    "introProbes": [
      {
        "mode": "exit",
        "gateFrame": 2234,
        "gateCameraX": 6143,
        "gateTick": 147,
        "firstWriteFrame": 2235,
        "lastWriteFrame": 2250,
        "terminatorFrame": 2251,
        "removalFrame": 2252,
        "writes": 288,
        "uniqueCells": 278,
        "normalizedTraceSha256": {
          "boot.txt": "FD43DC6893C4D6AC1A0477B4B0BEAB105C7BA7E935D80689EF56FA5BF58EE4A7",
          "exit.csv": "B1345026BD9C402FF7FE2F072EEF44740EA7B7E2FA9C70C4A698A66CCC08F36F",
          "maps.csv": "69684CDD6E239E2C5C70FC83F3A034B9EADB59D94DC85217F1FB998D9ACAA664",
          "frames.csv": "46C277EFA4A9270CC462FC8B009D5A6534EFBAED5C87AF83C389D04D3473969D"
        }
      },
      {
        "mode": "exit-after-damage",
        "gateFrame": 2234,
        "gateCameraX": 6142,
        "gateTick": 151,
        "firstWriteFrame": 2235,
        "lastWriteFrame": 2250,
        "terminatorFrame": 2251,
        "removalFrame": 2252,
        "writes": 288,
        "uniqueCells": 278,
        "normalizedTraceSha256": {
          "boot.txt": "D37D3C92BFFBE5E3E106A0180F050E3B84A9A3BE5A4A061CCC29C4F0A7485C94",
          "exit.csv": "E3EC40289A902D0DEF8AFD64970CA1E900752881C66196E34D10FDB819C07422",
          "maps.csv": "2699B087E16CF4668C538149F4374F9990067F7451DD00195E0E2BCFDC78DEF4",
          "frames.csv": "5AB130533EF1B470D4A1115219A733AEE006CD97E27024F5D28B6B6E476BF6D4"
        }
      }
    ],
    "rules": [
      "01:B01B first runs the unsigned anchor/camera-X and anchor/player-Y gate at 01:B0F8. It enters phase 0C and sets the reset cursor to zero on the gate update. It increments 1F5D and can choose an exit velocity if both stored velocity high bytes are zero.",
      "The body is retained in the invisible phase 0A after leaving the narrower draw/motion window. Defeating it also takes it to 0A with its stored velocity. Both cases use the same stage-proximity gate and reset table.",
      "Bank 06:BB99 indexes a five-byte sequence per variant. Each record is selector byte and absolute X and Y words. Phase 0C at 01:B051 executes one command per update via 2A:A811, advances the cursor five bytes, and moves the body. Selector FF enters 0E.",
      "Stage 04:DE24 provides a stage offset and a selector pointer. The selected headers are foreground recipes. Each seven-byte strip descriptor has a control byte, X/Y offsets and a map-data offset relative to the header. The low bit selects vertical stepping, and bits 1-6 give cell count. A zero low-seven-bit control ends the list.",
      "Recipe-offset additions wrap within data bank 04. The Intro's second strip for selector 04 uses an offset of FFEE into a prior zero-filled strip. Carrying the sum into bank 05 would read unrelated data.",
      "01:B09E tests the narrower removal window after the FF terminator. 01:B0AD removes the body and resets 1F5E."
    ],
    "engine": {
      "decoder": "MegaEDXCore/MegaEDX/Mmx2SlidameExitMaps.cs",
      "asset": "XSharp.Enemies.X2/Assets/Enemies/Slidame.exit.json",
      "runtimeGate": "Pinned package revision, matching stage, subtype and original placement, with the required map IDs in the atlas.",
      "smoke": "tests/XSharp.LevelSmoke/SlidameEncounterSmoke.cs",
      "coverage": "The imported Intro replays both exit paths with a stationary test camera. The smoke checks each of 16 groups, stored motion, the terminator and removal updates, an unrelated cell and save-state restoration after group eight. The stage 09 smoke reuses the check for all 40 groups of subtype 2 and checks the cadence of 72 and 5D."
    },
    "limits": "The controlled Intro and stage 09 subtype 2 exits match the decoder's ordered map writes. The other stage 09 variants have decoded data. Whole-scene parity, original pool layout and SPC arbitration remain open.",
    "harnessRevision": "c54973f",
    "stage09Probe": {
      "mode": "stage09-exit",
      "harnessLfSha256": "FE408081F47C76EA2411BF862473DE9CA982BAFF811606BFC6AECA532B090AB1",
      "scope": "Controlled checkpoint 0 reload, debug camera bounds, player positioning near subtype 2 and retreat after natural closure.",
      "variant": 2,
      "gateFrame": 2703,
      "firstWriteFrame": 2704,
      "lastWriteFrame": 2743,
      "terminatorFrame": 2744,
      "removalFrame": 2745,
      "groups": 40,
      "writes": 512,
      "uniqueCells": 376,
      "movementCue": {
        "context": "Song-29",
        "command": "72",
        "logicTicks": [
          112,
          112,
          128,
          128,
          144,
          144,
          160,
          160,
          176,
          176,
          192,
          192,
          208,
          208,
          224,
          224
        ]
      },
      "closureCue": {
        "context": "Common",
        "command": "5D",
        "logicTicks": [
          236,
          237,
          238,
          239,
          240,
          241,
          242,
          243
        ]
      },
      "normalizedTraceSha256": {
        "boot.txt": "828C54455290C032CE4D0A3C25F430A7B20394AEF91F8C26C8B62F8FCBDE1157",
        "exit.csv": "0080210DEFA8DDC702E868298433DDC8FF05A99152795FF5F56EDBE2460A2C44",
        "maps.csv": "16C0B8075775EBE13BC0C25C3D12DEBFD81E1BBA0E741A0B7EE39708A6163E87",
        "frames.csv": "9BD104D9BF3EC29377AA764569CAE1BBC7B3A6EE49271820061673FE72C03F2F",
        "queues.csv": "1F1D80A7F1919CEFC9737923BD3B9324B21FD089D163746A511AF4418B957A49"
      },
      "harnessRevision": "dda83ab"
    }
  },
  "interruptedExitObservation": {
    "harness": "tools/bizhawk/MMX2_Slidame_Capture.lua",
    "harnessLfSha256": "FF033E3DC5A35AF357CFB72571DB50D6BE4F55B50C379D29307CCED5BDCED476",
    "scope": "Controlled retreat during the native Intro inward motion. The player position is supplied for the probe and the original camera and actor code advance normally.",
    "probes": [
      {
        "mode": "exit-active-fields",
        "gateFrame": 2101,
        "gateLogicTick": 16,
        "bodyRemovalOffset": 18,
        "lastFieldOffset": 0,
        "movementRequests": 2,
        "trailRequestRange": [
          3,
          26
        ],
        "trailRequests": 48,
        "deviceExplosionOffsets": [
          27,
          27
        ],
        "mapGroups": 16,
        "mapWrites": 288,
        "normalizedTraceSha256": {
          "boot.txt": "FD43DC6893C4D6AC1A0477B4B0BEAB105C7BA7E935D80689EF56FA5BF58EE4A7",
          "exit.csv": "E35506EB0D40EBB91B70AF1D6B046D8A591A06439A42966ABC207B63424F4FC6",
          "frames.csv": "2511CDE87C8AB4673762C98525E9BAC14E8B76169E613CC10D3A69EE304ECB9B",
          "maps.csv": "D39C733E9D8814C49B6D444D7F68C8105C308B8F0E27AA615DCA175791DBA1AB",
          "queues.csv": "B90B849AEAD0211FAC4E93D1AFB8854F312DB26BF4FA8CAFA7771B3BCA43EB60"
        }
      },
      {
        "mode": "exit-near-target",
        "gateFrame": 2182,
        "gateLogicTick": 94,
        "bodyRemovalOffset": 18,
        "lastFieldOffset": 0,
        "movementRequests": 0,
        "trailRequestRange": [
          1,
          4
        ],
        "trailRequests": 8,
        "deviceExplosionOffsets": [
          5,
          5
        ],
        "mapGroups": 16,
        "mapWrites": 288,
        "normalizedTraceSha256": {
          "boot.txt": "FD43DC6893C4D6AC1A0477B4B0BEAB105C7BA7E935D80689EF56FA5BF58EE4A7",
          "exit.csv": "0BF405BB11FD20DFB68F71DF31B980EC8FE55E5AEF2E3D972A5217E7745D6B9A",
          "frames.csv": "CD6F9595567AB095B93C3619ECD958C6C1B5BA283F2FAF128AB29D7375ED5213",
          "maps.csv": "AA6B612874360772F191F26A88275F720DB86CF2376EF65BBF135054D4302B5A",
          "queues.csv": "5D69E41FEB1610F562A1F0721EF81DB0A447E09E7F368B7156B552F86A598A45"
        }
      }
    ],
    "rules": [
      "The exit gate runs after the fields' regular active update. On that frame 01:B15E runs one last inward step before trying the 01:B194 teardown.",
      "On the first reset update, the field dispatch at 01:D698 runs once more. Its near-target timer and stop flags still apply. The wrapper at 01:D69B then sees 1F5D and releases the field before the body writes its first reset group.",
      "After entering phase 0A, the devices own their remaining trail generations. They keep updating if the body slot is freed and emit both bursts before checking the owner again in phase 0C at 01:B370.",
      "No shared body explosion is requested by the exit gate. In both samples the map recipes are identical to the previously measured exits."
    ],
    "engineSmoke": "The DX9 fixture pairs the devices' pre-gate coordinates and pulse clock to each native sample. It checks the final inward step, field removal, body lifetime, trail and explosion cadence and restores a save taken after the body was removed while the devices were still dismantling."
  }
}
