{
  "_notes": [
    "Waterworld [Gottlieb, 1995]",
    "Based on map from Freddy: A Nightmare on Elm Street (freddy.map.json).",
    "Audits/Adjustments stored in triplicate at 0xD00, 0xE00, 0xF00"
  ],
  "_fileformat": 0.7,
  "_metadata": {
    "version": 2,
    "copyright": [
      "Copyright (C) 2025 by Tom Collins <tom@scorbit.io>"
    ],
    "license": "GNU Lesser General Public License v3.0",
    "platform": "gottlieb-system3",
    "roms": [
      "waterwl2",
      "waterwl5",
      "waterwld"
    ]
  },
  "game_state": {
    "scores": [
      {
        "label": "Player 1",
        "encoding": "bcd",
        "length": 5,
        "start": "0x001"
      },
      {
        "label": "Player 2",
        "encoding": "bcd",
        "length": 5,
        "start": "0x006"
      },
      {
        "label": "Player 3",
        "encoding": "bcd",
        "length": 5,
        "start": "0x00B"
      },
      {
        "label": "Player 4",
        "encoding": "bcd",
        "length": 5,
        "start": "0x010"
      }
    ],
    "credits": {
      "_notes": "mirrored to 0x16, 0xAF5, and 0xBF2 as well",
      "label": "Credits",
      "start": "0x8FC",
      "encoding": "bcd"
    },
    "max_credits": {
      "label": "Max Credits",
      "start": "0xD5D",
      "encoding": "bcd"
    },
    "current_ball": {
      "_notes": "set to 0 when game over",
      "label": "Ball",
      "start": "0x15",
      "encoding": "bcd"
    },
    "ball_count": {
      "label": "Ball Count",
      "start": "0xD5F",
      "encoding": "bcd"
    },
    "current_player": {
      "_notes": "0-3; bit 7 (0x80) sometimes set?",
      "label": "Current Player",
      "short_label": "P#",
      "start": "0x200",
      "encoding": "int",
      "mask": "0x0F",
      "offset": 1
    },
    "player_count": {
      "_notes": "set to 0 when game over",
      "label": "Player Count",
      "short_label": "Players",
      "start": "0x201",
      "encoding": "int"
    },
    "game_over": {
      "label": "Game Over",
      "start": "0x201",
      "encoding": "bool",
      "invert": true
    }
  },
  "high_scores": [
    {
      "label": "First",
      "short_label": "#1",
      "initials": {
        "start": "0xD0C",
        "encoding": "ch",
        "length": 3
      },
      "score": {
        "encoding": "bcd",
        "length": 5,
        "start": "0xD25"
      }
    },
    {
      "label": "Second",
      "short_label": "#2",
      "initials": {
        "start": "0xD11",
        "encoding": "ch",
        "length": 3
      },
      "score": {
        "encoding": "bcd",
        "length": 5,
        "start": "0xD2A"
      }
    },
    {
      "label": "Third",
      "short_label": "#3",
      "initials": {
        "start": "0xD16",
        "encoding": "ch",
        "length": 3
      },
      "score": {
        "encoding": "bcd",
        "length": 5,
        "start": "0xD2F"
      }
    },
    {
      "label": "Fourth",
      "short_label": "#4",
      "initials": {
        "start": "0xD1B",
        "encoding": "ch",
        "length": 3
      },
      "score": {
        "encoding": "bcd",
        "length": 5,
        "start": "0xD34"
      }
    },
    {
      "label": "Fifth",
      "short_label": "#5",
      "initials": {
        "start": "0xD20",
        "encoding": "ch",
        "length": 3
      },
      "score": {
        "encoding": "bcd",
        "length": 5,
        "start": "0xD39"
      }
    }
  ],
  "mode_champions": [
    {
      "label": "Icthy Freak",
      "initials": {
        "start": "0x650",
        "encoding": "ch",
        "length": 3
      },
      "score": {
        "start": "0xD84",
        "encoding": "int",
        "suffix": " Jackpots"
      }
    }
  ]
}
