<mamecheat version="1">

  <cheat desc="Infinite Credits">
    <script state="run">
      <action>maincpu.pb@1913C=09</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Select Perm Ball 1 Colour PL1"> <!-- Use with both activation keys for the best effect (ideally set the activation keys the same for Ball 2 and Ball 3 for the best effect) -->
    <parameter>
      <item value="0x01">Green</item>
      <item value="0x02">Red</item>
      <item value="0x03">Yellow</item>
      <item value="0x04">Blue</item>
      <item value="0x05">Pink</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@0F020=01</action>
      <action condition="(param==01)">maincpu.pb@0F048=00</action>
      <action condition="(param==02)">maincpu.pb@0F020=02</action>
      <action condition="(param==02)">maincpu.pb@0F048=01</action>
      <action condition="(param==03)">maincpu.pb@0F020=03</action>
      <action condition="(param==03)">maincpu.pb@0F048=02</action>
      <action condition="(param==04)">maincpu.pb@0F020=04</action>
      <action condition="(param==04)">maincpu.pb@0F048=03</action>
      <action condition="(param==05)">maincpu.pb@0F020=05</action>
      <action condition="(param==05)">maincpu.pb@0F048=04</action>
    </script>
  </cheat>

  <cheat desc="Select Perm Ball 2 Colour PL1">
    <parameter>
      <item value="0x01">Green</item>
      <item value="0x02">Red</item>
      <item value="0x03">Yellow</item>
      <item value="0x04">Blue</item>
      <item value="0x05">Pink</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@0F09C=01</action>
      <action condition="(param==01)">maincpu.pb@0F0C4=00</action>
      <action condition="(param==02)">maincpu.pb@0F09C=02</action>
      <action condition="(param==02)">maincpu.pb@0F0C4=01</action>
      <action condition="(param==03)">maincpu.pb@0F09C=03</action>
      <action condition="(param==03)">maincpu.pb@0F0C4=02</action>
      <action condition="(param==04)">maincpu.pb@0F09C=04</action>
      <action condition="(param==04)">maincpu.pb@0F0C4=03</action>
      <action condition="(param==05)">maincpu.pb@0F09C=05</action>
      <action condition="(param==05)">maincpu.pb@0F0C4=04</action>
    </script>
  </cheat>

  <cheat desc="Select Perm Ball 3 Colour PL1">
    <parameter>
      <item value="0x01">Green</item>
      <item value="0x02">Red</item>
      <item value="0x03">Yellow</item>
      <item value="0x04">Blue</item>
      <item value="0x05">Pink</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@0F118=01</action>
      <action condition="(param==01)">maincpu.pb@0F140=00</action>
      <action condition="(param==02)">maincpu.pb@0F118=02</action>
      <action condition="(param==02)">maincpu.pb@0F140=01</action>
      <action condition="(param==03)">maincpu.pb@0F118=03</action>
      <action condition="(param==03)">maincpu.pb@0F140=02</action>
      <action condition="(param==04)">maincpu.pb@0F118=04</action>
      <action condition="(param==04)">maincpu.pb@0F140=03</action>
      <action condition="(param==05)">maincpu.pb@0F118=05</action>
      <action condition="(param==05)">maincpu.pb@0F140=04</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Select Perm Ball 1 Colour PL2"> <!-- Use with both activation keys for the best effect (ideally set the activation keys the same for Ball 2 and Ball 3 for the best effect) -->
    <parameter>
      <item value="0x01">Green</item>
      <item value="0x02">Red</item>
      <item value="0x03">Yellow</item>
      <item value="0x04">Blue</item>
      <item value="0x05">Pink</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@0F9D0=01</action>
      <action condition="(param==01)">maincpu.pb@0F9F8=00</action>
      <action condition="(param==02)">maincpu.pb@0F9D0=02</action>
      <action condition="(param==02)">maincpu.pb@0F9F8=01</action>
      <action condition="(param==03)">maincpu.pb@0F9D0=03</action>
      <action condition="(param==03)">maincpu.pb@0F9F8=02</action>
      <action condition="(param==04)">maincpu.pb@0F9D0=04</action>
      <action condition="(param==04)">maincpu.pb@0F9F8=03</action>
      <action condition="(param==05)">maincpu.pb@0F9D0=05</action>
      <action condition="(param==05)">maincpu.pb@0F9F8=04</action>
    </script>
  </cheat>

  <cheat desc="Select Perm Ball 2 Colour PL2">
    <parameter>
      <item value="0x01">Green</item>
      <item value="0x02">Red</item>
      <item value="0x03">Yellow</item>
      <item value="0x04">Blue</item>
      <item value="0x05">Pink</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@0FA4C=01</action>
      <action condition="(param==01)">maincpu.pb@0FA74=00</action>
      <action condition="(param==02)">maincpu.pb@0FA4C=02</action>
      <action condition="(param==02)">maincpu.pb@0FA74=01</action>
      <action condition="(param==03)">maincpu.pb@0FA4C=03</action>
      <action condition="(param==03)">maincpu.pb@0FA74=02</action>
      <action condition="(param==04)">maincpu.pb@0FA4C=04</action>
      <action condition="(param==04)">maincpu.pb@0FA74=03</action>
      <action condition="(param==05)">maincpu.pb@0FA4C=05</action>
      <action condition="(param==05)">maincpu.pb@0FA74=04</action>
    </script>
  </cheat>

  <cheat desc="Select Perm Ball 3 Colour PL2">
    <parameter>
      <item value="0x01">Green</item>
      <item value="0x02">Red</item>
      <item value="0x03">Yellow</item>
      <item value="0x04">Blue</item>
      <item value="0x05">Pink</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@0FAC8=01</action>
      <action condition="(param==01)">maincpu.pb@0FAF0=00</action>
      <action condition="(param==02)">maincpu.pb@0FAC8=02</action>
      <action condition="(param==02)">maincpu.pb@0FAF0=01</action>
      <action condition="(param==03)">maincpu.pb@0FAC8=03</action>
      <action condition="(param==03)">maincpu.pb@0FAF0=02</action>
      <action condition="(param==04)">maincpu.pb@0FAC8=04</action>
      <action condition="(param==04)">maincpu.pb@0FAF0=03</action>
      <action condition="(param==05)">maincpu.pb@0FAC8=05</action>
      <action condition="(param==05)">maincpu.pb@0FAF0=04</action>
    </script>
  </cheat>

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