{
  "_notes": [
    "Generated by searching for opcode sequences in ROM images."
  ],
  "_fileformat": 0.8,
  "_metadata": {
    "version": 4,
    "copyright": [
      "Copyright (C) 2026 by Tom Collins <tom@scorbit.io>"
    ],
    "license": "GNU Lesser General Public License v3.0",
    "platform": "whitestar",
    "roms": [
      "hirol210",
      "hirol_gr"
    ]
  },
  "game_state": {
    "scores": [
      {
        "label": "Player 1",
        "encoding": "bcd",
        "length": 5,
        "start": "0x1801"
      },
      {
        "label": "Player 2",
        "encoding": "bcd",
        "length": 5,
        "start": "0x1806"
      },
      {
        "label": "Player 3",
        "encoding": "bcd",
        "length": 5,
        "start": "0x180B"
      },
      {
        "label": "Player 4",
        "encoding": "bcd",
        "length": 5,
        "start": "0x1810"
      }
    ],
    "credits": {
      "label": "Credits",
      "start": "0x17FB",
      "encoding": "bcd"
    },
    "free_play": {
      "label": "Free Play",
      "start": "0x1E03",
      "encoding": "bool"
    },
    "max_credits": {
      "label": "Max Credits",
      "start": "0x1E0D",
      "encoding": "bcd"
    },
    "player_count": {
      "label": "Player Count",
      "start": "0x0269",
      "encoding": "int"
    },
    "ball_count": {
      "label": "Ball Count",
      "start": "0x1E0B",
      "encoding": "bcd"
    },
    "current_player": {
      "label": "Player",
      "start": "0x0267",
      "encoding": "int"
    },
    "current_ball": {
      "label": "Ball",
      "start": "0x0268",
      "encoding": "int"
    },
    "game_over": {
      "_notes": "game is over if current player/ball is 0",
      "label": "Game Over",
      "start": "0x0267",
      "encoding": "bool",
      "invert": true
    }
  },
  "high_scores": [
    {
      "label": "First",
      "short_label": "#1",
      "initials": {
        "start": "0x17C9",
        "encoding": "ch",
        "length": 10
      },
      "score": {
        "encoding": "bcd",
        "length": 5,
        "start": "0x1790"
      }
    },
    {
      "label": "Second",
      "short_label": "#2",
      "initials": {
        "start": "0x17D3",
        "encoding": "ch",
        "length": 10
      },
      "score": {
        "encoding": "bcd",
        "length": 5,
        "start": "0x1795"
      }
    },
    {
      "label": "Third",
      "short_label": "#3",
      "initials": {
        "start": "0x17DD",
        "encoding": "ch",
        "length": 10
      },
      "score": {
        "encoding": "bcd",
        "length": 5,
        "start": "0x179A"
      }
    },
    {
      "label": "Fourth",
      "short_label": "#4",
      "initials": {
        "start": "0x17E7",
        "encoding": "ch",
        "length": 10
      },
      "score": {
        "encoding": "bcd",
        "length": 5,
        "start": "0x179F"
      }
    },
    {
      "label": "Fifth",
      "short_label": "#5",
      "initials": {
        "start": "0x17F1",
        "encoding": "ch",
        "length": 10
      },
      "score": {
        "encoding": "bcd",
        "length": 5,
        "start": "0x17A4"
      }
    }
  ]
}
