<mamecheat version="1">

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

  <cheat desc="Infinite Time">
    <script state="run">
      <action>maincpu.pd@28DED4=0000270F</action> <!-- Will display upto 7FFFFFFF -->
    </script>
  </cheat>

  <cheat desc="Infinite Energy PL1">
    <script state="run">
      <action>maincpu.pw@29ECEA=04EC</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Always have Maximum Power PL1">
    <script state="run">
      <action>maincpu.pb@29ECF3=64</action>
    </script>
  </cheat>

  <cheat desc="Infinite Money PL1">
    <script state="run">
      <action>maincpu.pb@29ED0F=C8</action>
    </script>
  </cheat>

  <cheat desc="Infinite Magic PL1">
    <script state="run">
      <action>maincpu.pb@29F55F=05</action>
      <action>maincpu.pb@29F563=05</action>
      <action>maincpu.pb@29F567=05</action>
      <action>maincpu.pb@29F56B=05</action>
      <action>maincpu.pb@29F56F=05</action>
      <action>maincpu.pb@29F573=05</action>
      <action>maincpu.pb@29F577=05</action>
      <action>maincpu.pb@29F57B=05</action>
    </script>
  </cheat>

  <cheat desc="Infinite 8 Magic PL1">
    <script state="run">
      <action>maincpu.pb@29F4FB=08</action>
    </script>
  </cheat>

  <cheat desc="Select Chamuku Magic PL1">
    <parameter>
      <item value="0x01">FIRE</item>
      <item value="0x02">TWISTER</item>
      <item value="0x03">THUNDER</item>
      <item value="0x04">DEVIL??</item>
      <item value="0x05">FIREWALL</item>
      <item value="0x06">VITAL</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==01)">maincpu.pb@29F59F=00</action>
      <action condition="(param==02)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==02)">maincpu.pb@29F59F=01</action>
      <action condition="(param==03)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==03)">maincpu.pb@29F59F=02</action>
      <action condition="(param==04)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==04)">maincpu.pb@29F59F=10</action>
      <action condition="(param==05)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==05)">maincpu.pb@29F59F=11</action>
      <action condition="(param==06)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==06)">maincpu.pb@29F59F=12</action>
    </script>
  </cheat>

  <cheat desc="Select Kai Magic PL1">
    <parameter>
      <item value="0x01">FIRE</item>
      <item value="0x02">TWISTER</item>
      <item value="0x03">THUNDERBOLT</item>
      <item value="0x04">MAGICARROWS</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==01)">maincpu.pb@29F59F=00</action>
      <action condition="(param==02)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==02)">maincpu.pb@29F59F=01</action>
      <action condition="(param==03)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==03)">maincpu.pb@29F59F=02</action>
      <action condition="(param==04)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==04)">maincpu.pb@29F59F=10</action>
    </script>
  </cheat>

  <cheat desc="Select Shue Magic PL1">
    <parameter>
      <item value="0x01">FIRE</item>
      <item value="0x02">TWISTER</item>
      <item value="0x03">THUNDERBOLT</item>
      <item value="0x04">FIREBOMB</item>
      <item value="0x05">FORMCHANGE</item>
      <item value="0x06">STRONG?????</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==01)">maincpu.pb@29F59F=00</action>
      <action condition="(param==02)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==02)">maincpu.pb@29F59F=01</action>
      <action condition="(param==03)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==03)">maincpu.pb@29F59F=02</action>
      <action condition="(param==04)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==04)">maincpu.pb@29F59F=10</action>
      <action condition="(param==05)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==05)">maincpu.pb@29F59F=11</action>
      <action condition="(param==06)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==06)">maincpu.pb@29F59F=12</action>
    </script>
  </cheat>

  <cheat desc="Select Shenmue Magic PL1">
    <parameter>
      <item value="0x01">FIRE</item>
      <item value="0x02">TWISTER</item>
      <item value="0x03">THUNDERBOLT</item>
      <item value="0x04">ENERGYBALL</item>
      <item value="0x05">SHINNINGLIGHT</item>
      <item value="0x06">SHADOWATTACK</item>
      <item value="0x07">ROPEATTACK</item>
      <item value="0x08">ICESTORM</item>
      <item value="0x09">CIRCLE-OF-FIRE</item>
      <item value="0x10">GOLDDRAGON</item>
      <item value="0x11">OAX-ATTACK</item>
      <item value="0x12">LOG-ATTACK</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==01)">maincpu.pb@29F59F=00</action>
      <action condition="(param==02)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==02)">maincpu.pb@29F59F=01</action>
      <action condition="(param==03)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==03)">maincpu.pb@29F59F=02</action>
      <action condition="(param==04)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==04)">maincpu.pb@29F59F=10</action>
      <action condition="(param==05)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==05)">maincpu.pb@29F59F=11</action>
      <action condition="(param==06)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==06)">maincpu.pb@29F59F=12</action>
      <action condition="(param==07)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==07)">maincpu.pb@29F59F=13</action>
      <action condition="(param==08)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==08)">maincpu.pb@29F59F=14</action>
      <action condition="(param==09)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==09)">maincpu.pb@29F59F=15</action>
      <action condition="(param==10)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==10)">maincpu.pb@29F59F=16</action>
      <action condition="(param==11)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==11)">maincpu.pb@29F59F=32</action>
      <action condition="(param==12)">maincpu.pb@29F4F7=06</action>
      <action condition="(param==12)">maincpu.pb@29F59F=33</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Energy PL2">
    <script state="run">
      <action>maincpu.pw@29F7FE=04EC</action>
    </script>
  </cheat>

  <cheat desc="Always have Maximum Power PL2">
    <script state="run">
      <action>maincpu.pb@29F807=64</action>
    </script>
  </cheat>

  <cheat desc="Infinite Money PL2">
    <script state="run">
      <action>maincpu.pb@29F823=C8</action>
    </script>
  </cheat>

  <cheat desc="Infinite Magic PL2">
    <script state="run">
      <action>maincpu.pb@2A0073=05</action>
      <action>maincpu.pb@2A0077=05</action>
      <action>maincpu.pb@2A007B=05</action>
      <action>maincpu.pb@2A007F=05</action>
      <action>maincpu.pb@2A0083=05</action>
      <action>maincpu.pb@2A0087=05</action>
      <action>maincpu.pb@2A008B=05</action>
      <action>maincpu.pb@2A008F=05</action>
    </script>
  </cheat>

  <cheat desc="Infinite 8 Magic PL2">
    <script state="run">
      <action>maincpu.pb@2A000F=08</action>
    </script>
  </cheat>

  <cheat desc="Select Chamuku Magic PL2">
    <parameter>
      <item value="0x01">FIRE</item>
      <item value="0x02">TWISTER</item>
      <item value="0x03">THUNDER</item>
      <item value="0x04">DEVIL??</item>
      <item value="0x05">FIREWALL</item>
      <item value="0x06">VITAL</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@2A000B=06</action>
      <action condition="(param==01)">maincpu.pb@2A00B3=00</action>
      <action condition="(param==02)">maincpu.pb@2A000B=06</action>
      <action condition="(param==02)">maincpu.pb@2A00B3=01</action>
      <action condition="(param==03)">maincpu.pb@2A000B=06</action>
      <action condition="(param==03)">maincpu.pb@2A00B3=02</action>
      <action condition="(param==04)">maincpu.pb@2A000B=06</action>
      <action condition="(param==04)">maincpu.pb@2A00B3=10</action>
      <action condition="(param==05)">maincpu.pb@2A000B=06</action>
      <action condition="(param==05)">maincpu.pb@2A00B3=11</action>
      <action condition="(param==06)">maincpu.pb@2A000B=06</action>
      <action condition="(param==06)">maincpu.pb@2A00B3=12</action>
    </script>
  </cheat>

  <cheat desc="Select Kai Magic PL2">
    <parameter>
      <item value="0x01">FIRE</item>
      <item value="0x02">TWISTER</item>
      <item value="0x03">THUNDERBOLT</item>
      <item value="0x04">MAGICARROWS</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@2A000B=06</action>
      <action condition="(param==01)">maincpu.pb@2A00B3=00</action>
      <action condition="(param==02)">maincpu.pb@2A000B=06</action>
      <action condition="(param==02)">maincpu.pb@2A00B3=01</action>
      <action condition="(param==03)">maincpu.pb@2A000B=06</action>
      <action condition="(param==03)">maincpu.pb@2A00B3=02</action>
      <action condition="(param==04)">maincpu.pb@2A000B=06</action>
      <action condition="(param==04)">maincpu.pb@2A00B3=10</action>
    </script>
  </cheat>

  <cheat desc="Select Shue Magic PL2">
    <parameter>
      <item value="0x01">FIRE</item>
      <item value="0x02">TWISTER</item>
      <item value="0x03">THUNDERBOLT</item>
      <item value="0x04">FIREBOMB</item>
      <item value="0x05">FORMCHANGE</item>
      <item value="0x06">STRONG?????</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@2A000B=06</action>
      <action condition="(param==01)">maincpu.pb@2A00B3=00</action>
      <action condition="(param==02)">maincpu.pb@2A000B=06</action>
      <action condition="(param==02)">maincpu.pb@2A00B3=01</action>
      <action condition="(param==03)">maincpu.pb@2A000B=06</action>
      <action condition="(param==03)">maincpu.pb@2A00B3=02</action>
      <action condition="(param==04)">maincpu.pb@2A000B=06</action>
      <action condition="(param==04)">maincpu.pb@2A00B3=10</action>
      <action condition="(param==05)">maincpu.pb@2A000B=06</action>
      <action condition="(param==05)">maincpu.pb@2A00B3=11</action>
      <action condition="(param==06)">maincpu.pb@2A000B=06</action>
      <action condition="(param==06)">maincpu.pb@2A00B3=12</action>
    </script>
  </cheat>

  <cheat desc="Select Shenmue Magic PL2">
    <parameter>
      <item value="0x01">FIRE</item>
      <item value="0x02">TWISTER</item>
      <item value="0x03">THUNDERBOLT</item>
      <item value="0x04">ENERGYBALL</item>
      <item value="0x05">SHINNINGLIGHT</item>
      <item value="0x06">SHADOWATTACK</item>
      <item value="0x07">ROPEATTACK</item>
      <item value="0x08">ICESTORM</item>
      <item value="0x09">CIRCLE-OF-FIRE</item>
      <item value="0x10">GOLDDRAGON</item>
      <item value="0x11">OAX-ATTACK</item>
      <item value="0x12">LOG-ATTACK</item>
    </parameter>
    <script state="run">
      <action condition="(param==01)">maincpu.pb@2A000B=06</action>
      <action condition="(param==01)">maincpu.pb@2A00B3=00</action>
      <action condition="(param==02)">maincpu.pb@2A000B=06</action>
      <action condition="(param==02)">maincpu.pb@2A00B3=01</action>
      <action condition="(param==03)">maincpu.pb@2A000B=06</action>
      <action condition="(param==03)">maincpu.pb@2A00B3=02</action>
      <action condition="(param==04)">maincpu.pb@2A000B=06</action>
      <action condition="(param==04)">maincpu.pb@2A00B3=10</action>
      <action condition="(param==05)">maincpu.pb@2A000B=06</action>
      <action condition="(param==05)">maincpu.pb@2A00B3=11</action>
      <action condition="(param==06)">maincpu.pb@2A000B=06</action>
      <action condition="(param==06)">maincpu.pb@2A00B3=12</action>
      <action condition="(param==07)">maincpu.pb@2A000B=06</action>
      <action condition="(param==07)">maincpu.pb@2A00B3=13</action>
      <action condition="(param==08)">maincpu.pb@2A000B=06</action>
      <action condition="(param==08)">maincpu.pb@2A00B3=14</action>
      <action condition="(param==09)">maincpu.pb@2A000B=06</action>
      <action condition="(param==09)">maincpu.pb@2A00B3=15</action>
      <action condition="(param==10)">maincpu.pb@2A000B=06</action>
      <action condition="(param==10)">maincpu.pb@2A00B3=16</action>
      <action condition="(param==11)">maincpu.pb@2A000B=06</action>
      <action condition="(param==11)">maincpu.pb@2A00B3=32</action>
      <action condition="(param==12)">maincpu.pb@2A000B=06</action>
      <action condition="(param==12)">maincpu.pb@2A00B3=33</action>
    </script>
  </cheat>

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