<mamecheat version="1">

  <cheat desc="Select Starting Round">
    <parameter min="1" max="99" step="1"/>
    <script state="run">
      <action condition="(maincpu.pb@40C23F==00)">maincpu.pb@40C23F=(param-1)</action>
    </script>
  </cheat>

  <cheat desc="Select 'Power-Up' Mode"> <comment>Fast feet, fast bubbles etc. Same as 'Up,Right,Down,Left,Up,Right,Down,Left' on Title Screen</comment>
    <parameter>
      <item value="0xFF">Enabled</item>
      <item value="0x00">Disabled</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@4080A5=param</action>
    </script>
  </cheat>

  <cheat desc="Select 'Super' Mode"> <comment>Activate this ON THE TITLE SCREEN to access to the FULL level set, and to be able to see the REAL ending (a red text w. sound will appear if done correctly). Same as 'Left, Start, Fire, Jump, Up, Down, Start, Right' on Title Screen</comment>
    <parameter>
      <item value="0x08">Enabled</item>
      <item value="0x00">Disabled</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@40C269=param</action>
    </script>
  </cheat>

  <cheat desc="Bubble The Guardian Now!">
    <script state="on">
      <action>maincpu.pw@40FC62=0000</action>
    </script>
  </cheat>

  <cheat desc="Always Have All 7 Magic Potions"> <comment>Will affect the ending (if not in Super Mode!!!)</comment>
    <script state="run">
      <action>maincpu.pb@40F0BF=7F</action>
    </script>
  </cheat>

  <cheat desc="Select 'Freeze' Mode"> <comment>Associate this with an activation key for the best effect. Freeze doesn't allow you to beat bosses directly. So freeze boss, attack him then un-freeze.</comment>
    <parameter>
      <item value="0xFF">Enabled</item>
      <item value="0x00">Disabled</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@408093=param</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Lives PL1">
    <script state="run">
      <action>maincpu.pb@40821A=07</action>
    </script>
  </cheat>

  <cheat desc="Invincibility PL1">
    <script state="run">
      <action>maincpu.pb@408216=02</action>
    </script>
  </cheat>

  <cheat desc="Always have Fast Bubbles PL1">
    <script state="run">
      <action>maincpu.pb@4081F6=01</action>
    </script>
  </cheat>

  <cheat desc="Always have Fast Shoes PL1">
    <script state="run">
      <action>maincpu.pb@40820E=02</action>
    </script>
  </cheat>

  <cheat desc="Select Bubble Type PL1"> <comment>Note That ONLY Normal Bubbles Capture Enemies Directly! And Some Enemies Require a Particular Type of Bubble.</comment>
    <parameter>
      <item value="0x00">Normal</item>
      <item value="0x01">Lightning</item>
      <item value="0x02">Water</item>
      <item value="0x03">Fire</item>
      <item value="0x04">Rainbow</item>
      <item value="0x05">Whirlwind</item>
      <item value="0x06">Musical</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@406475=param</action>
    </script>
  </cheat>

  <cheat desc="Select Shoot Distance PL1">
    <parameter>
      <item value="0x00">Normal</item>
      <item value="0x03">Far</item>
      <item value="0x09">Very Far</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@408206=param</action>
    </script>
  </cheat>

  <cheat desc="Select Costume PL1"> <comment>Working ONLY in single rounds</comment>
    <parameter>
      <item value="0x94">Blue</item>
      <item value="0x95">Green</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@406416=param</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Lives PL2">
    <script state="run">
      <action>maincpu.pb@40821B=07</action>
    </script>
  </cheat>

  <cheat desc="Invincibility PL2">
    <script state="run">
      <action>maincpu.pb@408217=02</action>
    </script>
  </cheat>

  <cheat desc="Always have Fast Bubbles PL2">
    <script state="run">
      <action>maincpu.pb@4081F7=01</action>
    </script>
  </cheat>

  <cheat desc="Always have Fast Shoes PL2">
    <script state="run">
      <action>maincpu.pb@40820F=02</action>
    </script>
  </cheat>

  <cheat desc="Select Bubble Type PL2"> <comment>Note That ONLY Normal Bubbles Capture Enemies Directly! And Some Enemies Require a Particular Type of Bubble.</comment>
    <parameter>
      <item value="0x00">Normal</item>
      <item value="0x01">Lightning</item>
      <item value="0x02">Water</item>
      <item value="0x03">Fire</item>
      <item value="0x04">Rainbow</item>
      <item value="0x05">Whirlwind</item>
      <item value="0x06">Musical</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@4064F5=param</action>
    </script>
  </cheat>

  <cheat desc="Select Shoot Distance PL2">
    <parameter>
      <item value="0x00">Normal</item>
      <item value="0x03">Far</item>
      <item value="0x09">Very Far</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@408207=param</action>
    </script>
  </cheat>

  <cheat desc="Select Costume PL2"> <comment>Working ONLY in single rounds</comment>
    <parameter>
      <item value="0x94">Green</item>
      <item value="0x95">Blue</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@406496=param</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Select Region"> <comment>After you enable this cheat to see any effect you will have to reset the game (with F3). Then you may have to turn the Test Mode ON (with F2), wait for Test Mode to appear and reset again (with F3).</comment>
    <parameter>
      <item value="0x01">Japan</item>
      <item value="0x02">US</item>
      <item value="0x03">World</item>
    </parameter>
    <script state="on">
      <action>temp0 =maincpu.mb@0FFFFF</action>
    </script>
    <script state="run">
      <action>maincpu.mb@0FFFFF=param</action>
    </script>
    <script state="off">
      <action>maincpu.mb@0FFFFF=temp0 </action>
    </script>
  </cheat>

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