{
  "schemaVersion": 1,
  "profile": "live-a-live-agtp-100b-story-v1",
  "sourceRomSha256": "39e7db8d08e05c0a3ab2b45195e96de063dad827ff707d8b7c8ce542b44c672a",
  "milestones": 37,
  "sourceBasedAutomatic": 36,
  "manualOnly": 1,
  "sources": [
    {
      "url": "https://wikiwiki.jp/lalsfc/シナリオ進行フラグ",
      "role": "Original reverse-engineering notes: chapter-specific event flags/counters; fresh chapter scope required."
    },
    {
      "url": "https://wikiwiki.jp/lalsfc/メモリアドレス/RAM",
      "role": "Original RAM research: current chapter, demo marker, event storage."
    },
    {
      "url": "https://wikiwiki.jp/lalsfc/サウンド/LISTENING%20ROOM",
      "role": "Original code analysis: chapter IDs and completion-order list at 0AB6–0ABD; avoids conflicting descriptions of clear-byte bit order."
    }
  ],
  "chapters": [
    {
      "id": 1,
      "key": "prehistory",
      "title": "Prehistory · Pogo",
      "steps": [
        [
          "wake",
          "Wake Pogo",
          {
            "kind": "counter",
            "address": 4592,
            "min": 11
          }
        ],
        [
          "hunt",
          "Finish the first hunt",
          {
            "kind": "counter",
            "address": 4592,
            "min": 18
          }
        ],
        [
          "beru",
          "Shelter Beru",
          {
            "kind": "counter",
            "address": 4592,
            "min": 40
          }
        ],
        [
          "kuu",
          "Reach the Kuu tribe",
          {
            "kind": "counter",
            "address": 4592,
            "min": 104
          }
        ],
        [
          "clear",
          "Complete Prehistory",
          {
            "kind": "chapter-clear"
          }
        ]
      ]
    },
    {
      "id": 2,
      "key": "future",
      "title": "Distant Future · Cube",
      "steps": [
        [
          "name",
          "Name Cube",
          {
            "kind": "counter",
            "address": 4593,
            "min": 5
          }
        ],
        [
          "crew",
          "Wake the crew",
          {
            "kind": "counter",
            "address": 4593,
            "min": 10
          }
        ],
        [
          "antenna",
          "Investigate the antenna",
          {
            "kind": "counter",
            "address": 4593,
            "min": 15
          }
        ],
        [
          "computer",
          "Confront the computer",
          {
            "kind": "flag",
            "address": 4608
          }
        ],
        [
          "clear",
          "Complete Distant Future",
          {
            "kind": "chapter-clear"
          }
        ]
      ]
    },
    {
      "id": 3,
      "key": "kungfu",
      "title": "Imperial China · The Shifu",
      "steps": [
        [
          "pupils",
          "Recruit three pupils",
          {
            "kind": "flag",
            "address": 4621
          }
        ],
        [
          "training",
          "Finish the training",
          {
            "kind": "flag",
            "address": 4622
          }
        ],
        [
          "school",
          "Enter the rival school",
          {
            "kind": "flag",
            "address": 4639
          }
        ],
        [
          "clear",
          "Complete Imperial China",
          {
            "kind": "chapter-clear"
          }
        ]
      ]
    },
    {
      "id": 4,
      "key": "west",
      "title": "Wild West · Sundown",
      "steps": [
        [
          "saloon",
          "Enter the saloon",
          {
            "kind": "flag",
            "address": 4608
          }
        ],
        [
          "partner",
          "Join Mad Dog",
          {
            "kind": "flag",
            "address": 4609
          }
        ],
        [
          "clear",
          "Complete Wild West",
          {
            "kind": "chapter-clear"
          }
        ]
      ]
    },
    {
      "id": 5,
      "key": "present",
      "title": "Present Day · Masaru",
      "steps": [
        [
          "one",
          "Win one match",
          {
            "kind": "counter",
            "address": 1727,
            "min": 1
          }
        ],
        [
          "three",
          "Win three matches",
          {
            "kind": "counter",
            "address": 1727,
            "min": 3
          }
        ],
        [
          "six",
          "Defeat six challengers",
          {
            "kind": "counter",
            "address": 1727,
            "min": 6
          }
        ],
        [
          "clear",
          "Complete Present Day",
          {
            "kind": "chapter-clear"
          }
        ]
      ]
    },
    {
      "id": 6,
      "key": "near",
      "title": "Near Future · Akira",
      "steps": [
        [
          "home",
          "Reach the orphanage",
          {
            "kind": "flag",
            "address": 4611
          }
        ],
        [
          "robot",
          "Activate Taro",
          {
            "kind": "flag",
            "address": 4623
          }
        ],
        [
          "clear",
          "Complete Near Future",
          {
            "kind": "chapter-clear"
          }
        ]
      ]
    },
    {
      "id": 7,
      "key": "ninja",
      "title": "Twilight of Edo · Oboromaru",
      "steps": [
        [
          "ode",
          "Defeat Ode Iou",
          {
            "kind": "flag",
            "address": 4630
          }
        ],
        [
          "clear",
          "Complete Twilight of Edo",
          {
            "kind": "chapter-clear"
          }
        ]
      ]
    },
    {
      "id": 0,
      "key": "medieval",
      "title": "Middle Ages · Oersted",
      "steps": [
        [
          "tournament",
          "Win the tournament",
          {
            "kind": "flag",
            "address": 4654
          }
        ],
        [
          "uranus",
          "Recruit Uranus",
          {
            "kind": "flag",
            "address": 4612
          }
        ],
        [
          "brion",
          "Reclaim Brion",
          {
            "kind": "flag",
            "address": 4614
          }
        ],
        [
          "mountain",
          "Open the mountain",
          {
            "kind": "flag",
            "address": 4615
          }
        ],
        [
          "prison",
          "Escape the prison",
          {
            "kind": "flag",
            "address": 4634
          }
        ],
        [
          "clear",
          "Complete Middle Ages",
          {
            "kind": "chapter-clear"
          }
        ]
      ]
    },
    {
      "id": 8,
      "key": "final",
      "title": "Final Chapter",
      "steps": [
        [
          "leader",
          "Choose your final leader",
          {
            "kind": "scenario"
          }
        ],
        [
          "brion",
          "Reclaim Brion",
          {
            "kind": "flag",
            "address": 4609
          }
        ],
        [
          "odio",
          "Defeat Pure Odio",
          {
            "kind": "flag",
            "address": 4654
          }
        ],
        [
          "reunion",
          "Rejoin the other heroes",
          {
            "kind": "flag",
            "address": 4659
          }
        ],
        [
          "ending",
          "Watch your ending",
          null
        ]
      ]
    }
  ],
  "objectives": [
    {
      "id": "prehistory-wake",
      "title": "Wake Pogo",
      "rule": {
        "kind": "counter",
        "address": 4592,
        "min": 11
      },
      "chapter": 1,
      "chapterKey": "prehistory"
    },
    {
      "id": "prehistory-hunt",
      "title": "Finish the first hunt",
      "rule": {
        "kind": "counter",
        "address": 4592,
        "min": 18
      },
      "chapter": 1,
      "chapterKey": "prehistory"
    },
    {
      "id": "prehistory-beru",
      "title": "Shelter Beru",
      "rule": {
        "kind": "counter",
        "address": 4592,
        "min": 40
      },
      "chapter": 1,
      "chapterKey": "prehistory"
    },
    {
      "id": "prehistory-kuu",
      "title": "Reach the Kuu tribe",
      "rule": {
        "kind": "counter",
        "address": 4592,
        "min": 104
      },
      "chapter": 1,
      "chapterKey": "prehistory"
    },
    {
      "id": "prehistory-clear",
      "title": "Complete Prehistory",
      "rule": {
        "kind": "chapter-clear"
      },
      "chapter": 1,
      "chapterKey": "prehistory"
    },
    {
      "id": "future-name",
      "title": "Name Cube",
      "rule": {
        "kind": "counter",
        "address": 4593,
        "min": 5
      },
      "chapter": 2,
      "chapterKey": "future"
    },
    {
      "id": "future-crew",
      "title": "Wake the crew",
      "rule": {
        "kind": "counter",
        "address": 4593,
        "min": 10
      },
      "chapter": 2,
      "chapterKey": "future"
    },
    {
      "id": "future-antenna",
      "title": "Investigate the antenna",
      "rule": {
        "kind": "counter",
        "address": 4593,
        "min": 15
      },
      "chapter": 2,
      "chapterKey": "future"
    },
    {
      "id": "future-computer",
      "title": "Confront the computer",
      "rule": {
        "kind": "flag",
        "address": 4608
      },
      "chapter": 2,
      "chapterKey": "future"
    },
    {
      "id": "future-clear",
      "title": "Complete Distant Future",
      "rule": {
        "kind": "chapter-clear"
      },
      "chapter": 2,
      "chapterKey": "future"
    },
    {
      "id": "kungfu-pupils",
      "title": "Recruit three pupils",
      "rule": {
        "kind": "flag",
        "address": 4621
      },
      "chapter": 3,
      "chapterKey": "kungfu"
    },
    {
      "id": "kungfu-training",
      "title": "Finish the training",
      "rule": {
        "kind": "flag",
        "address": 4622
      },
      "chapter": 3,
      "chapterKey": "kungfu"
    },
    {
      "id": "kungfu-school",
      "title": "Enter the rival school",
      "rule": {
        "kind": "flag",
        "address": 4639
      },
      "chapter": 3,
      "chapterKey": "kungfu"
    },
    {
      "id": "kungfu-clear",
      "title": "Complete Imperial China",
      "rule": {
        "kind": "chapter-clear"
      },
      "chapter": 3,
      "chapterKey": "kungfu"
    },
    {
      "id": "west-saloon",
      "title": "Enter the saloon",
      "rule": {
        "kind": "flag",
        "address": 4608
      },
      "chapter": 4,
      "chapterKey": "west"
    },
    {
      "id": "west-partner",
      "title": "Join Mad Dog",
      "rule": {
        "kind": "flag",
        "address": 4609
      },
      "chapter": 4,
      "chapterKey": "west"
    },
    {
      "id": "west-clear",
      "title": "Complete Wild West",
      "rule": {
        "kind": "chapter-clear"
      },
      "chapter": 4,
      "chapterKey": "west"
    },
    {
      "id": "present-one",
      "title": "Win one match",
      "rule": {
        "kind": "counter",
        "address": 1727,
        "min": 1
      },
      "chapter": 5,
      "chapterKey": "present"
    },
    {
      "id": "present-three",
      "title": "Win three matches",
      "rule": {
        "kind": "counter",
        "address": 1727,
        "min": 3
      },
      "chapter": 5,
      "chapterKey": "present"
    },
    {
      "id": "present-six",
      "title": "Defeat six challengers",
      "rule": {
        "kind": "counter",
        "address": 1727,
        "min": 6
      },
      "chapter": 5,
      "chapterKey": "present"
    },
    {
      "id": "present-clear",
      "title": "Complete Present Day",
      "rule": {
        "kind": "chapter-clear"
      },
      "chapter": 5,
      "chapterKey": "present"
    },
    {
      "id": "near-home",
      "title": "Reach the orphanage",
      "rule": {
        "kind": "flag",
        "address": 4611
      },
      "chapter": 6,
      "chapterKey": "near"
    },
    {
      "id": "near-robot",
      "title": "Activate Taro",
      "rule": {
        "kind": "flag",
        "address": 4623
      },
      "chapter": 6,
      "chapterKey": "near"
    },
    {
      "id": "near-clear",
      "title": "Complete Near Future",
      "rule": {
        "kind": "chapter-clear"
      },
      "chapter": 6,
      "chapterKey": "near"
    },
    {
      "id": "ninja-ode",
      "title": "Defeat Ode Iou",
      "rule": {
        "kind": "flag",
        "address": 4630
      },
      "chapter": 7,
      "chapterKey": "ninja"
    },
    {
      "id": "ninja-clear",
      "title": "Complete Twilight of Edo",
      "rule": {
        "kind": "chapter-clear"
      },
      "chapter": 7,
      "chapterKey": "ninja"
    },
    {
      "id": "medieval-tournament",
      "title": "Win the tournament",
      "rule": {
        "kind": "flag",
        "address": 4654
      },
      "chapter": 0,
      "chapterKey": "medieval"
    },
    {
      "id": "medieval-uranus",
      "title": "Recruit Uranus",
      "rule": {
        "kind": "flag",
        "address": 4612
      },
      "chapter": 0,
      "chapterKey": "medieval"
    },
    {
      "id": "medieval-brion",
      "title": "Reclaim Brion",
      "rule": {
        "kind": "flag",
        "address": 4614
      },
      "chapter": 0,
      "chapterKey": "medieval"
    },
    {
      "id": "medieval-mountain",
      "title": "Open the mountain",
      "rule": {
        "kind": "flag",
        "address": 4615
      },
      "chapter": 0,
      "chapterKey": "medieval"
    },
    {
      "id": "medieval-prison",
      "title": "Escape the prison",
      "rule": {
        "kind": "flag",
        "address": 4634
      },
      "chapter": 0,
      "chapterKey": "medieval"
    },
    {
      "id": "medieval-clear",
      "title": "Complete Middle Ages",
      "rule": {
        "kind": "chapter-clear"
      },
      "chapter": 0,
      "chapterKey": "medieval"
    },
    {
      "id": "final-leader",
      "title": "Choose your final leader",
      "rule": {
        "kind": "scenario"
      },
      "chapter": 8,
      "chapterKey": "final"
    },
    {
      "id": "final-brion",
      "title": "Reclaim Brion",
      "rule": {
        "kind": "flag",
        "address": 4609
      },
      "chapter": 8,
      "chapterKey": "final"
    },
    {
      "id": "final-odio",
      "title": "Defeat Pure Odio",
      "rule": {
        "kind": "flag",
        "address": 4654
      },
      "chapter": 8,
      "chapterKey": "final"
    },
    {
      "id": "final-reunion",
      "title": "Rejoin the other heroes",
      "rule": {
        "kind": "flag",
        "address": 4659
      },
      "chapter": 8,
      "chapterKey": "final"
    },
    {
      "id": "final-ending",
      "title": "Watch your ending",
      "rule": null,
      "chapter": 8,
      "chapterKey": "final"
    }
  ],
  "limits": [
    "Source-based automatic rules are not a completed campaign playthrough.",
    "Tracker reads copied complete snapshots and never writes original RAM.",
    "Chapter completion implies only the mandatory story milestones in that chapter, not optional objectives or collectibles.",
    "The ending remains manually confirmed. Cartridge-global best-ending flags are not used as proof for this specific session.",
    "Manual true and false override game checks. Loading an earlier session replaces the automatic set and restores only that file’s hash-bound manual choices.",
    "Unavailable, paused, title/attract and invalid observations preserve displayed cached progress.",
    "No human saves, generated save fixtures, RAM or emulator states are published."
  ]
}
