<mamecheat version="1">

  <cheat desc="Infinite Main Time">
    <script state="run">
      <action>maincpu.pw@80D2=9999</action>
    </script>
  </cheat>

  <cheat desc="Infinite Shields">
    <script state="run">
      <action>cart.pb@0046=05</action>
    </script>
  </cheat>

  <cheat desc="Invincibility">
    <script state="on">
      <action>temp0 =cart.mb@C124</action>
      <action>temp1 =cart.mw@C1ED</action>
      <action>temp2 =cart.mw@C229</action>
      <action>temp3 =cart.mw@C268</action>
    </script>
    <script state="run">
      <action>cart.mb@C124=00</action>
      <action>cart.mw@C1ED=1090</action> <!-- 1st = Enemy, 2nd = Fire -->
      <action>cart.mw@C229=1090</action> <!-- Tentacle in Stage 5 -->
      <action>cart.mw@C268=C26A</action> <!-- Scenery -->
    </script>
    <script state="off">
      <action>cart.mb@C124=temp0 </action>
      <action>cart.mw@C1ED=temp1 </action>
      <action>cart.mw@C229=temp2 </action>
      <action>cart.mw@C268=temp3 </action>
    </script>
  </cheat>

  <cheat desc="Hit Anywhere"> <comment>Use with Invincibility for the best effect</comment>
    <script state="on">
      <action>temp0 =cart.mb@BFC5</action>
      <action>temp1 =cart.mb@BFD2</action>
    </script>
    <script state="run">
      <action>cart.mb@BFC5=00</action> <!-- This ROM cheat was made by nolberto82 -->
      <action>cart.mb@BFD2=00</action>
    </script>
    <script state="off">
      <action>cart.mb@BFC5=temp0 </action>
      <action>cart.mb@BFD2=temp1 </action>
    </script>
  </cheat>

  <cheat desc="Always Have Penetrable Shot">
    <script state="on">
      <action>temp0 =cart.mb@C05D</action>
      <action>temp1 =cart.mb@C291</action>
    </script>
    <script state="run">
      <action>cart.mb@C05D=60</action>
      <action>cart.mb@C291=6C</action>
    </script>
    <script state="off">
      <action>cart.mb@C05D=temp0 </action>
      <action>cart.mb@C291=temp1 </action>
    </script>
  </cheat>

  <cheat desc="Select Speed Up Speed"> <comment>Don't go too high!</comment>
    <parameter min="0" max="255" step="1"/>
    <script state="change">
      <action>cart.pb@0040=(param)</action>
    </script>
  </cheat>

  <cheat desc="Auto Secret Items Open" tempvariables="10"> <comment>5000 pts + 1UP appears automatically</comment>
    <script state="on">
      <action>temp0 =cart.md@C0C2</action>
      <action>temp1 =cart.mb@C0ED</action>
      <action>temp2 =cart.mw@FFD1</action>
      <action>temp3 =cart.mw@FFD3</action>
      <action>temp4 =cart.md@FFD5</action>
      <action>temp5 =cart.mw@FFD8</action>
      <action>temp6 =cart.mw@FFDA</action>
      <action>temp7 =cart.md@FFDC</action>
      <action>temp8 =cart.md@FFDF</action>
      <action>temp9 =cart.md@FFE2</action>
    </script>
    <script state="run">
      <action>cart.md@C0C2=00FFD14C|(cart.md@C0C2 BAND ~00FFFFFF)</action>
      <action>cart.mb@C0ED=00</action> <!-- 1st = jmp $FFD1, 2nd = bcs $C0DC - bcs $C0EE -->
      <action>cart.mw@FFD1=27C9</action> <!-- cmp #$27 -->
      <action>cart.mw@FFD3=03D0</action> <!-- bne $FFD8 -->
      <action>cart.md@FFD5=00C0E34C|(cart.md@FFD5 BAND ~00FFFFFF)</action> <!-- jmp $C0E3 -->
      <action>cart.mw@FFD8=29C9</action> <!-- cmp #$29 -->
      <action>cart.mw@FFDA=03D0</action> <!-- bne $FFDF -->
      <action>cart.md@FFDC=00C0FF4C|(cart.md@FFDC BAND ~00FFFFFF)</action> <!-- jmp $C0FF -->
      <action>cart.md@FFDF=000460BE|(cart.md@FFDF BAND ~00FFFFFF)</action> <!-- ldx $0460,y -->
      <action>cart.md@FFE2=00C0C54C|(cart.md@FFE2 BAND ~00FFFFFF)</action> <!-- jmp $C0C5 -->
    </script>
    <script state="off">
      <action>cart.md@C0C2=temp0 </action>
      <action>cart.mb@C0ED=temp1 </action>
      <action>cart.mw@FFD1=temp2 </action>
      <action>cart.mw@FFD3=temp3 </action>
      <action>cart.md@FFD5=temp4 </action>
      <action>cart.mw@FFD8=temp5 </action>
      <action>cart.mw@FFDA=temp6 </action>
      <action>cart.md@FFDC=temp7 </action>
      <action>cart.md@FFDF=temp8 </action>
      <action>cart.md@FFE2=temp9 </action>
    </script>
  </cheat>

  <cheat desc="Rapid Fire">
    <script state="run">
      <action>cart.pd@03A6=00000000|(cart.pd@03A6 BAND ~00FFFFFF)</action>
    </script>
  </cheat>

  <cheat desc="Always have a Good Speed Up">
    <script state="run">
      <action>cart.pb@0040=0A</action>
    </script>
  </cheat>

  <cheat desc="Always have Full Options">
    <script state="run">
      <action>cart.pb@0045=02</action>
    </script>
  </cheat>

  <cheat desc="Always have Missile">
    <script state="run">
      <action>cart.pb@0041=01</action>
    </script>
  </cheat>

  <cheat desc="Always have Laser"> <comment>You can't have Double then</comment>
    <script state="run">
      <action>cart.pb@0044=01</action>
    </script>
  </cheat>

  <cheat desc="Always have Double"> <comment>You can't have Laser then</comment>
    <script state="run">
      <action>cart.pb@0044=02</action>
    </script>
  </cheat>

  <cheat desc="Get a Good Speed Up Now!">
    <script state="on">
      <action>cart.pb@0040=0A</action>
    </script>
  </cheat>

  <cheat desc="Get Full Options Now!">
    <script state="on">
      <action>cart.pb@0045=02</action>
    </script>
  </cheat>

  <cheat desc="Get Missile Now!">
    <script state="on">
      <action>cart.pb@0041=01</action>
    </script>
  </cheat>

  <cheat desc="Get Laser Now!"> <comment>You can't have Double then</comment>
    <script state="on">
      <action>cart.pb@0044=01</action>
    </script>
  </cheat>

  <cheat desc="Get Double Now!"> <comment>You can't have Laser then</comment>
    <script state="on">
      <action>cart.pb@0044=02</action>
    </script>
  </cheat>

  <cheat desc="Lose missiles Now!">
    <script state="on">
      <action>cart.pb@0041=00</action>
    </script>
  </cheat>

  <cheat desc="Lose double/laser Now!">
    <script state="on">
      <action>cart.pb@0044=00</action>
    </script>
  </cheat>

  <cheat desc="Light Up Speed Button Now!">
    <script state="on">
      <action>cart.pb@0042=01</action>
    </script>
  </cheat>

  <cheat desc="Light Up Missile Button Now!">
    <script state="on">
      <action>cart.pb@0042=02</action>
    </script>
  </cheat>

  <cheat desc="Light Up Double Button Now!">
    <script state="on">
      <action>cart.pb@0042=03</action>
    </script>
  </cheat>

  <cheat desc="Light Up Laser Button Now!">
    <script state="on">
      <action>cart.pb@0042=04</action>
    </script>
  </cheat>

  <cheat desc="Light Up Option Button Now!">
    <script state="on">
      <action>cart.pb@0042=05</action>
    </script>
  </cheat>

  <cheat desc="Light Up ? Button Now!">
    <script state="on">
      <action>cart.pb@0042=06</action>
    </script>
  </cheat>

  <cheat desc="No button lit Now!">
    <script state="on">
      <action>cart.pb@0042=00</action>
    </script>
  </cheat>

  <cheat desc=" "/>

  <cheat desc="Infinite Lives PL1">
    <script state="run">
      <action>cart.pb@0020=63</action>
    </script>
  </cheat>

  <cheat desc="Infinite Lives PL2">
    <script state="run">
      <action>cart.pb@0021=63</action>
    </script>
  </cheat>

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