<mamecheat version="1">

  <cheat desc="Infinite Credits">
    <script state="run">
      <action>maincpu.pb@E109=63</action>
    </script>
  </cheat>

  <cheat desc="Finish this Round Now!">
    <script state="on">
      <action>maincpu.pb@E144=00</action>
    </script>
  </cheat>

  <cheat desc="Always Keep Ball in Play"> <comment>This bounces the ball along the play line until you hit it. but the Ball still occasionally goes out of play.</comment>
    <script state="run">
      <action condition="(maincpu.pb@E520 LT 00) OR (maincpu.pb@E520 GT C5)">maincpu.pb@E520=A8</action>
      <action condition="(maincpu.pb@E50B LT 00) OR (maincpu.pb@E50B GT C5)">maincpu.pb@E50B=A8</action> <!-- Part 1 for Normal PL1 ball + Part 2 for Normal PL2 ball or PL1 madball is 1P game -->
    </script>
  </cheat>

  <cheat desc="Auto Bouncing Balls"> <comment>This efectively makes sure all balls are hit back up the screen (no need to use the bat)</comment>
    <script state="on">
      <action>temp0 =maincpu.md@2C79</action>
      <action>temp1 =maincpu.md@2C7C</action>
      <action>temp2 =maincpu.mw@2C80</action>
      <action>temp3 =maincpu.md@2C82</action>
      <action>temp4 =maincpu.mw@2C85</action>
    </script>
    <script state="run">
      <action>maincpu.md@2C79=000C7EFD|(maincpu.md@2C79 BAND ~00FFFFFF)</action>
      <action>maincpu.md@2C7C=2828FFFE</action> <!-- 1st = ld a,(iy+$0C), 2nd = cp $FF / jr z,$2CA8 -->
      <action>maincpu.mw@2C80=44ED</action> <!-- neg -->
      <action>maincpu.md@2C82=000C77FD|(maincpu.md@2C82 BAND ~00FFFFFF)</action> <!-- ld (iy+$0C),a -->
      <action>maincpu.mw@2C85=2118</action> <!-- jr $2CA8 -->
    </script>
    <script state="off">
      <action>maincpu.md@2C79=temp0 </action>
      <action>maincpu.md@2C7C=temp1 </action>
      <action>maincpu.mw@2C80=temp2 </action>
      <action>maincpu.md@2C82=temp3 </action>
      <action>maincpu.mw@2C85=temp4 </action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Lives/Bats PL1">
    <script state="run">
      <action>maincpu.pb@E48F=63</action>
    </script>
  </cheat>

  <cheat desc="Infinite Duo Guns PL1">
    <script state="run">
      <action>maincpu.pw@E4B1=03E7</action>
    </script>
  </cheat>

  <cheat desc="Infinite Trio Guns PL1">
    <script state="run">
      <action>maincpu.pw@E4B3=03E7</action>
    </script>
  </cheat>

  <cheat desc="Infinite Mad Balls PL1">
    <script state="run">
      <action>maincpu.pb@E4BC=63</action>
    </script>
  </cheat>

  <cheat desc="Infinite Missiles PL1">
    <script state="run">
      <action>maincpu.pw@E4B5=03E7</action>
    </script>
  </cheat>

  <cheat desc="Always have Maximum Money PL1"> <comment>Allows you buy as many bats, guns, mad balls + missiles that you want - or just use the above infinite cheats!</comment>
    <script state="run">
      <action>maincpu.pd@E497=00999999|(maincpu.pd@E497 BAND ~00FFFFFF)</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Lives/Bats PL2">
    <script state="run">
      <action>maincpu.pb@E4BE=63</action>
    </script>
  </cheat>

  <cheat desc="Infinite Duo Guns PL2">
    <script state="run">
      <action>maincpu.pw@E4E0=03E7</action>
    </script>
  </cheat>

  <cheat desc="Infinite Trio Guns PL2">
    <script state="run">
      <action>maincpu.pw@E4E2=03E7</action>
    </script>
  </cheat>

  <cheat desc="Infinite Mad Balls PL2">
    <script state="run">
      <action>maincpu.pb@E4EB=63</action>
    </script>
  </cheat>

  <cheat desc="Infinite Missiles PL2">
    <script state="run">
      <action>maincpu.pw@E4E4=03E7</action>
    </script>
  </cheat>

  <cheat desc="Always have Maximum Money PL2"> <comment>Allows you buy as many bats, guns, mad balls + missiles that you want - or just use the above infinite cheats!</comment>
    <script state="run">
      <action>maincpu.pd@E4C6=00999999|(maincpu.pd@E4C6 BAND ~00FFFFFF)</action>
    </script>
  </cheat>

</mamecheat>
<!-- Cheat file downloaded from http://www.mamecheat.co.uk, see cheat.txt for list of contributors. -->
