<mamecheat version="1">

  <cheat desc="Invincibility"> <comment>You can still be hurt by other players or by falling down holes</comment>
    <script state="on">
      <action>temp0 =maincpu.mb@00ADCA</action>
    </script>
    <script state="run">
      <action>maincpu.mb@00ADCA=60</action>
    </script>
    <script state="off">
      <action>maincpu.mb@00ADCA=temp0 </action>
    </script>
  </cheat>

  <cheat desc="Always have Red Dinosaur"> <comment>Do not enable before you can move your character on screen!!</comment>
    <script state="on">
      <action>temp0 =maincpu.mb@00DFEB</action>
      <action>temp1 =maincpu.mb@01192B</action>
      <action>temp2 =maincpu.mb@0150AD</action>
    </script>
    <script state="run">
      <action>maincpu.mb@00DFEB=02</action> <!-- Axe Battler -->
      <action>maincpu.mb@01192B=02</action> <!-- Tyris -->
      <action>maincpu.mb@0150AD=02</action> <!-- Gilius -->
    </script>
    <script state="off">
      <action>maincpu.mb@00DFEB=temp0 </action>
      <action>maincpu.mb@01192B=temp1 </action>
      <action>maincpu.mb@0150AD=temp2 </action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Lives PL1">
    <script state="run">
      <action>maincpu.pb@FFE018=05</action>
    </script>
  </cheat>

  <cheat desc="Infinite Energy PL1">
    <script state="run">
      <action>maincpu.pb@FFC070=30</action>
    </script>
  </cheat>

  <cheat desc="Select Infinite Magic PL1"> <comment>Select the appropriate character you want Infinite Energy for</comment>
    <parameter>
      <item value="0x04">Gilius Thunderhead (Green)</item>
      <item value="0x06">Axe Battler (Blue)</item>
      <item value="0x09">Tyris Flare (Red)</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FFE030=param</action>
    </script>
  </cheat>

  <cheat desc="Hit Anywhere PL1">
    <script state="on">
      <action>temp0 =maincpu.md@00AE20</action>
      <action>temp1 =maincpu.md@00AE24</action>
    </script>
    <script state="run">
      <action>maincpu.md@00AE20=4EB900FF</action> <!-- This ROM cheat was made by nolberto82 -->
      <action>maincpu.md@00AE24=FFC04E71</action>
      <action>maincpu.pd@FFFFC0=BDFCFFFF</action>
      <action>maincpu.pd@FFFFC4=C0006608</action>
      <action>maincpu.pd@FFFFC8=3F7CAE88</action>
      <action>maincpu.pd@FFFFCC=00024E75</action>
      <action>maincpu.pd@FFFFD0=322D0030</action>
      <action>maincpu.pd@FFFFD4=926E0030</action>
      <action>maincpu.pw@FFFFD8=4E75</action>
    </script>
    <script state="off">
      <action>maincpu.md@00AE20=temp0 </action>
      <action>maincpu.md@00AE24=temp1 </action>
    </script>
  </cheat>

  <cheat desc="One Hit Kills PL1">
    <script state="on">
      <action>temp0 =maincpu.mw@00C726</action>
      <action>temp1 =maincpu.md@00C728</action>
    </script>
    <script state="run">
      <action>maincpu.mw@00C726=4EB9</action> <!-- This ROM cheat was made by nolberto82 -->
      <action>maincpu.md@00C728=00FFFFE0</action>
      <action>maincpu.pd@FFFFE0=122E0070</action>
      <action>maincpu.pd@FFFFE4=9200BDFC</action>
      <action>maincpu.pd@FFFFE8=FFFFC000</action>
      <action>maincpu.pd@FFFFEC=67063F7C</action>
      <action>maincpu.pd@FFFFF0=C72E0002</action>
      <action>maincpu.pw@FFFFF4=4E75</action>
    </script>
    <script state="off">
      <action>maincpu.mw@00C726=temp0 </action>
      <action>maincpu.md@00C728=temp1 </action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Lives PL2">
    <script state="run">
      <action>maincpu.pb@FFE098=05</action>
    </script>
  </cheat>

  <cheat desc="Infinite Energy PL2">
    <script state="run">
      <action>maincpu.pb@FFC270=30</action>
    </script>
  </cheat>

  <cheat desc="Select Infinite Magic PL2"> <comment>Select the appropriate character you want Infinite Energy for</comment>
    <parameter>
      <item value="0x04">Gilius Thunderhead (Green)</item>
      <item value="0x06">Axe Battler (Blue)</item>
      <item value="0x09">Tyris Flare (Red)</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FFE0B0=param</action>
    </script>
  </cheat>

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