<mamecheat version="1">

  <cheat desc="No more level gain"> <comment>Survival game only</comment>
    <script state="run">
      <action>maincpu.pb@100626=00</action>
    </script>
  </cheat>

  <cheat desc="Unlock Secret Characters"> <comment>Wait for 2 seconds to be able to select Hanged Man, Moon, Hermit, Temperance, Tower and Fortune</comment>
    <script state="run">
      <action>maincpu.pw@100112=0303</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Always have Quota=001 PL1"> <comment>Battle game only</comment>
    <script state="run">
      <action condition="(frame % 60 == 0)">maincpu.pb@100611=01</action>
    </script>
  </cheat>

  <cheat desc="Always have Quota=200 PL1"> <comment>Battle game only</comment>
    <script state="run">
      <action>maincpu.pb@100611=C8</action>
    </script>
  </cheat>

  <cheat desc="Select Card PL1">
    <parameter>
      <item value="0x00">Fool</item>
      <item value="0x01">Magician</item>
      <item value="0x02">High Priestess</item>
      <item value="0x03">Empress</item>
      <item value="0x04">Emperor</item>
      <item value="0x05">Hierophant</item>
      <item value="0x06">Lovers</item>
      <item value="0x07">Chariot</item>
      <item value="0x08">Strength</item>
      <item value="0x09">#Hermit#</item>
      <item value="0x0A">#Fortune#</item>
      <item value="0x0B">Justice</item>
      <item value="0x0C">#Hanged Man#</item>
      <item value="0x0D">Death</item>
      <item value="0x0E">#Temperance#</item>
      <item value="0x0F">Devil</item>
      <item value="0x10">#Tower#</item>
      <item value="0x11">Star</item>
      <item value="0x12">#Moon#</item>
      <item value="0x13">Sun</item>
      <item value="0x14">Judgment</item>
      <item value="0x15">World</item>
      <item value="0x16">#Black Pierrot#</item>
      <item value="0x17">#Strength's Father#</item>
      <item value="0x80">Fool (CPU)</item>
      <item value="0x81">Magician (CPU)</item>
      <item value="0x82">High Priestess (CPU)</item>
      <item value="0x83">Empress (CPU)</item>
      <item value="0x84">Emperor (CPU)</item>
      <item value="0x85">Hierophant (CPU)</item>
      <item value="0x86">Lovers (CPU)</item>
      <item value="0x87">Chariot (CPU)</item>
      <item value="0x88">Strength (CPU)</item>
      <item value="0x89">#Hermit (CPU)#</item>
      <item value="0x8A">#Fortune (CPU)#</item>
      <item value="0x8B">Justice (CPU)</item>
      <item value="0x8C">#Hanged Man (CPU)#</item>
      <item value="0x8D">Death (CPU)</item>
      <item value="0x8E">#Temperance (CPU)#</item>
      <item value="0x8F">Devil (CPU)</item>
      <item value="0x90">#Tower (CPU)#</item>
      <item value="0x91">Star (CPU)</item>
      <item value="0x92">#Moon (CPU)#</item>
      <item value="0x93">Sun (CPU)</item>
      <item value="0x94">Judgment (CPU)</item>
      <item value="0x95">World (CPU)</item>
      <item value="0x96">#Black Pierrot (CPU)#</item>
      <item value="0x97">#Strength's Father (CPU)#</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@1000FA=param</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Always have Quota=001 PL2"> <comment>Battle game only</comment>
    <script state="run">
      <action condition="(frame % 60 == 0)">maincpu.pb@100651=01</action>
    </script>
  </cheat>

  <cheat desc="Always have Quota=200 PL2"> <comment>Battle game only</comment>
    <script state="run">
      <action>maincpu.pb@100651=C8</action>
    </script>
  </cheat>

  <cheat desc="Select Card PL2">
    <parameter>
      <item value="0x00">Fool</item>
      <item value="0x01">Magician</item>
      <item value="0x02">High Priestess</item>
      <item value="0x03">Empress</item>
      <item value="0x04">Emperor</item>
      <item value="0x05">Hierophant</item>
      <item value="0x06">Lovers</item>
      <item value="0x07">Chariot</item>
      <item value="0x08">Strength</item>
      <item value="0x09">#Hermit#</item>
      <item value="0x0A">#Fortune#</item>
      <item value="0x0B">Justice</item>
      <item value="0x0C">#Hanged Man#</item>
      <item value="0x0D">Death</item>
      <item value="0x0E">#Temperance#</item>
      <item value="0x0F">Devil</item>
      <item value="0x10">#Tower#</item>
      <item value="0x11">Star</item>
      <item value="0x12">#Moon#</item>
      <item value="0x13">Sun</item>
      <item value="0x14">Judgment</item>
      <item value="0x15">World</item>
      <item value="0x16">#Black Pierrot#</item>
      <item value="0x17">#Strength's Father#</item>
      <item value="0x80">Fool (CPU)</item>
      <item value="0x81">Magician (CPU)</item>
      <item value="0x82">High Priestess (CPU)</item>
      <item value="0x83">Empress (CPU)</item>
      <item value="0x84">Emperor (CPU)</item>
      <item value="0x85">Hierophant (CPU)</item>
      <item value="0x86">Lovers (CPU)</item>
      <item value="0x87">Chariot (CPU)</item>
      <item value="0x88">Strength (CPU)</item>
      <item value="0x89">#Hermit (CPU)#</item>
      <item value="0x8A">#Fortune (CPU)#</item>
      <item value="0x8B">Justice (CPU)</item>
      <item value="0x8C">#Hanged Man (CPU)#</item>
      <item value="0x8D">Death (CPU)</item>
      <item value="0x8E">#Temperance (CPU)#</item>
      <item value="0x8F">Devil (CPU)</item>
      <item value="0x90">#Tower (CPU)#</item>
      <item value="0x91">Star (CPU)</item>
      <item value="0x92">#Moon (CPU)#</item>
      <item value="0x93">Sun (CPU)</item>
      <item value="0x94">Judgment (CPU)</item>
      <item value="0x95">World (CPU)</item>
      <item value="0x96">#Black Pierrot (CPU)#</item>
      <item value="0x97">#Strength's Father (CPU)#</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@1000FB=param</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Select Cartridge/NeoGeo Type"> <comment>Use in conjuction with the 'Skip RAM/ROM Checks' cheat for the best effect, then enable it and reset. The Home (NEOGEO) setting may open up other aspects of the game or it may even make the game unplayable.</comment>
    <parameter>
      <item value="0x80">Arcade (MVS)</item>
      <item value="0x00">Home (NEOGEO)</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@10FD82=param</action>
    </script>
  </cheat>

  <cheat desc="Skip RAM/ROM Checks"> <comment>Also allows a quicker start-up without the green screens. It's better to use together with Pre-Enable.</comment>
    <script state="on">
      <action>temp0 =maincpu.rd@C1315C</action>
      <action>temp1 =maincpu.rd@C1314E</action>
      <action>temp2 =maincpu.rd@C131E8</action>
      <action>temp3 =maincpu.rd@C13184</action>
      <action>temp4 =maincpu.rd@C1212E</action>
      <action>temp5 =maincpu.rd@C134FA</action>
    </script>
    <script state="run">
      <action condition="(maincpu.rd@C1315C==51CFFFF2)">maincpu.rd@C1315C=6000EB08</action> <!-- Euro + Japan-S2 BIOSs -->
      <action condition="(maincpu.rd@C1314E==51CFFFF2)">maincpu.rd@C1314E=6000EB16</action> <!-- Euro-S1 + Japan-S1 BIOSs -->
      <action condition="(maincpu.rd@C131E8==51CFFFF2)">maincpu.rd@C131E8=6000EA52</action> <!-- US BIOS -->
      <action condition="(maincpu.rd@C13184==51CFFFF2)">maincpu.rd@C13184=6000EAB6</action> <!-- US-E BIOS -->
      <action condition="(maincpu.rd@C1212E==51CFFFF2)">maincpu.rd@C1212E=6000EB36</action> <!-- Asia BIOS -->
      <action condition="(maincpu.rd@C134FA==51CFFFF2)">maincpu.rd@C134FA=6000E892</action> <!-- Japan BIOS -->
    </script>
    <script state="off">
      <action>maincpu.rd@C1315C=temp0 </action>
      <action>maincpu.rd@C1314E=temp1 </action>
      <action>maincpu.rd@C131E8=temp2 </action>
      <action>maincpu.rd@C13184=temp3 </action>
      <action>maincpu.rd@C1212E=temp4 </action>
      <action>maincpu.rd@C134FA=temp5 </action>
    </script>
  </cheat>

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