TAP Cheat Codes

Thread in 'Research & Development' started by Ezzelin, 30 Jan 2012.

  1. Hello,

    I have been working on a lot of TAP codes lately. More will come in this thread. For now, a few codes to start:

    A port of the unlimited lock delay codes:
    Code:
      <cheat desc="Unlimited Lock Delay P1">
        <script state="run">
          <action>maincpu.pb@6064BDF=77</action>
        </script>
      </cheat>
    Code:
      <cheat desc="Unlimited Lock Delay P2">
        <script state="run">
          <action>maincpu.pb@6064F93=77</action>
        </script>
      </cheat>
    And the full suite of set/lock/start level codes made to work for Player 2 (great for VS handicapping):

    Code:
      <cheat desc="Set Level P2">
        <parameter>
          <item value="0x01">1</item>
          <item value="0x02">101</item>
          <item value="0x03">201</item>
          <item value="0x04">301</item>
          <item value="0x05">401</item>
          <item value="0x06">501</item>
          <item value="0x07">601</item>
          <item value="0x08">701</item>
          <item value="0x09">801</item>
          <item value="0x0A">901</item>
          <item value="0x0B">998</item>
        </parameter>
        <script state="change">
          <action condition="(param==01)">maincpu.pb@6064FD9=00</action>
          <action condition="(param==01)">maincpu.pw@6064F6E=0001</action>
          <action condition="(param==02)">maincpu.pb@6064FD9=01</action>
          <action condition="(param==02)">maincpu.pw@6064F6E=0065</action>
          <action condition="(param==03)">maincpu.pb@6064FD9=02</action>
          <action condition="(param==03)">maincpu.pw@6064F6E=00C9</action>
          <action condition="(param==04)">maincpu.pb@6064FD9=03</action>
          <action condition="(param==04)">maincpu.pw@6064F6E=012D</action>
          <action condition="(param==05)">maincpu.pb@6064FD9=04</action>
          <action condition="(param==05)">maincpu.pw@6064F6E=0191</action>
          <action condition="(param==06)">maincpu.pb@6064FD9=05</action>
          <action condition="(param==06)">maincpu.pw@6064F6E=01F5</action>
          <action condition="(param==07)">maincpu.pb@6064FD9=06</action>
          <action condition="(param==07)">maincpu.pw@6064F6E=0259</action>
          <action condition="(param==08)">maincpu.pb@6064FD9=07</action>
          <action condition="(param==08)">maincpu.pw@6064F6E=02BD</action>
          <action condition="(param==09)">maincpu.pb@6064FD9=08</action>
          <action condition="(param==09)">maincpu.pw@6064F6E=0321</action>
          <action condition="(param==0A)">maincpu.pb@6064FD9=09</action>
          <action condition="(param==0A)">maincpu.pw@6064F6E=0385</action>
          <action condition="(param==0B)">maincpu.pb@6064FD9=09</action>
          <action condition="(param==0B)">maincpu.pw@6064F6E=03E6</action>
        </script>
      </cheat>
      <cheat desc="Lock Level P2">
        <parameter>
          <item value="0x01">1</item>
          <item value="0x02">101</item>
          <item value="0x03">201</item>
          <item value="0x04">301</item>
          <item value="0x05">401</item>
          <item value="0x06">501</item>
          <item value="0x07">601</item>
          <item value="0x08">701</item>
          <item value="0x09">801</item>
          <item value="0x0A">901</item>
          <item value="0x0B">998</item>
        </parameter>
        <script state="run">
          <action condition="(param==01)">maincpu.pb@6064FD9=00</action>
          <action condition="(param==01)">maincpu.pw@6064F6E=0001</action>
          <action condition="(param==02)">maincpu.pb@6064FD9=01</action>
          <action condition="(param==02)">maincpu.pw@6064F6E=0065</action>
          <action condition="(param==03)">maincpu.pb@6064FD9=02</action>
          <action condition="(param==03)">maincpu.pw@6064F6E=00C9</action>
          <action condition="(param==04)">maincpu.pb@6064FD9=03</action>
          <action condition="(param==04)">maincpu.pw@6064F6E=012D</action>
          <action condition="(param==05)">maincpu.pb@6064FD9=04</action>
          <action condition="(param==05)">maincpu.pw@6064F6E=0191</action>
          <action condition="(param==06)">maincpu.pb@6064FD9=05</action>
          <action condition="(param==06)">maincpu.pw@6064F6E=01F5</action>
          <action condition="(param==07)">maincpu.pb@6064FD9=06</action>
          <action condition="(param==07)">maincpu.pw@6064F6E=0259</action>
          <action condition="(param==08)">maincpu.pb@6064FD9=07</action>
          <action condition="(param==08)">maincpu.pw@6064F6E=02BD</action>
          <action condition="(param==09)">maincpu.pb@6064FD9=08</action>
          <action condition="(param==09)">maincpu.pw@6064F6E=0321</action>
          <action condition="(param==0A)">maincpu.pb@6064FD9=09</action>
          <action condition="(param==0A)">maincpu.pw@6064F6E=0385</action>
          <action condition="(param==0B)">maincpu.pb@6064FD9=09</action>
          <action condition="(param==0B)">maincpu.pw@6064F6E=03E6</action>
        </script>
      </cheat>
      <cheat desc="Start at Level P2">
        <parameter>
          <item value="0x01">1</item>
          <item value="0x02">101</item>
          <item value="0x03">201</item>
          <item value="0x04">301</item>
          <item value="0x05">401</item>
          <item value="0x06">499</item>
          <item value="0x07">501</item>
          <item value="0x08">601</item>
          <item value="0x09">701</item>
          <item value="0x0A">801</item>
          <item value="0x0B">901</item>
          <item value="0x0C">998</item>
        </parameter>
        <script state="run">
          <action condition="(param==01) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pb@6064FD9=00</action>
          <action condition="(param==01) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pw@6064F6E=0001</action>
          <action condition="(param==02) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pb@6064FD9=01</action>
          <action condition="(param==02) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pw@6064F6E=0065</action>
          <action condition="(param==03) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pb@6064FD9=02</action>
          <action condition="(param==03) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pw@6064F6E=00C9</action>
          <action condition="(param==04) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pb@6064FD9=03</action>
          <action condition="(param==04) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pw@6064F6E=012D</action>
          <action condition="(param==05) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pb@6064FD9=04</action>
          <action condition="(param==05) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pw@6064F6E=0191</action>
          <action condition="(param==06) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pb@6064FD9=04</action>
          <action condition="(param==06) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pw@6064F6E=01F3</action>
          <action condition="(param==07) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pb@6064FD9=05</action>
          <action condition="(param==07) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pw@6064F6E=01F5</action>
          <action condition="(param==08) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pb@6064FD9=06</action>
          <action condition="(param==08) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pw@6064F6E=0259</action>
          <action condition="(param==09) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pb@6064FD9=07</action>
          <action condition="(param==09) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pw@6064F6E=02BD</action>
          <action condition="(param==0A) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pb@6064FD9=08</action>
          <action condition="(param==0A) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pw@6064F6E=0321</action>
          <action condition="(param==0B) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pb@6064FD9=09</action>
          <action condition="(param==0B) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pw@6064F6E=0385</action>
          <action condition="(param==0C) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pb@6064FD9=09</action>
          <action condition="(param==0C) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pw@6064F6E=03E6</action>
        </script>
      </cheat>
    
    For that fine grained control, here's a code to start at any level in 1 level increments:

    Code:
      <cheat desc="Start at any Level P1">
        <parameter min="001" max="998" step="1"/>
        <script state="run">
          <action condition="(param GT 0000) and (maincpu.pw@6064BBA==0000) and (maincpu.pb@6064BF5==01)">maincpu.pb@6064C25=00</action>
          <action condition="(param GT 0063) and (maincpu.pw@6064BBA==0000) and (maincpu.pb@6064BF5==01)">maincpu.pb@6064C25=01</action>
          <action condition="(param GT 00C7) and (maincpu.pw@6064BBA==0000) and (maincpu.pb@6064BF5==01)">maincpu.pb@6064C25=02</action>
          <action condition="(param GT 012B) and (maincpu.pw@6064BBA==0000) and (maincpu.pb@6064BF5==01)">maincpu.pb@6064C25=03</action>
          <action condition="(param GT 018F) and (maincpu.pw@6064BBA==0000) and (maincpu.pb@6064BF5==01)">maincpu.pb@6064C25=04</action>
          <action condition="(param GT 01F3) and (maincpu.pw@6064BBA==0000) and (maincpu.pb@6064BF5==01)">maincpu.pb@6064C25=05</action>
          <action condition="(param GT 0257) and (maincpu.pw@6064BBA==0000) and (maincpu.pb@6064BF5==01)">maincpu.pb@6064C25=06</action>
          <action condition="(param GT 02BB) and (maincpu.pw@6064BBA==0000) and (maincpu.pb@6064BF5==01)">maincpu.pb@6064C25=07</action>
          <action condition="(param GT 031F) and (maincpu.pw@6064BBA==0000) and (maincpu.pb@6064BF5==01)">maincpu.pb@6064C25=08</action>
          <action condition="(param GT 0383) and (maincpu.pw@6064BBA==0000) and (maincpu.pb@6064BF5==01)">maincpu.pb@6064C25=09</action>
          <action condition="(maincpu.pw@6064BBA==0000) and (maincpu.pb@6064BF5==01)">maincpu.pw@6064BBA=param</action>
        </script>
      </cheat>
    
      <cheat desc="Start at any Level P2">
        <parameter min="001" max="998" step="1"/>
        <script state="run">
          <action condition="(param GT 0000) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pb@6064FD9=00</action>
          <action condition="(param GT 0063) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pb@6064FD9=01</action>
          <action condition="(param GT 00C7) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pb@6064FD9=02</action>
          <action condition="(param GT 012B) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pb@6064FD9=03</action>
          <action condition="(param GT 018F) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pb@6064FD9=04</action>
          <action condition="(param GT 01F3) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pb@6064FD9=05</action>
          <action condition="(param GT 0257) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pb@6064FD9=06</action>
          <action condition="(param GT 02BB) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pb@6064FD9=07</action>
          <action condition="(param GT 031F) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pb@6064FD9=08</action>
          <action condition="(param GT 0383) and (maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pb@6064FD9=09</action>
          <action condition="(maincpu.pw@6064F6E==0000) and (maincpu.pb@6064FA9==01)">maincpu.pw@6064F6E=param</action>
        </script>
      </cheat>
    
    Item frequency and auto-handicapping in VS mode will come very soon. Any suggestions that anyone has are welcome!
     
  2. TFJ

    TFJ

    Hello Ezzelin and thanks for the cheats! I had an issue with starting above level 500 in Death and I believe it has to do with not having M grade. For example if I start at 801 I will get bumped back to 500, and when I clear a line it proceeds to 501 and continues normally from there. The same issue is present with Edo's starting level cheat. Here is a line to add for P1 that fixes it:
    Code:
    <action condition="(maincpu.pb@6064B94==FF) and (maincpu.pb@6064B99==03)">maincpu.pb@6064C39=(param/0x1f5)</action>
    and for P2:
    Code:
    <action condition="(maincpu.pb@6064F48==FF) and (maincpu.pb@6064F4D==03)">maincpu.pb@6064FED=(param/0x1f5)</action>
    I would also like to add my Infinite Menu Time cheat which I find very useful. It handles P1 and P2 menus.
    Code:
      <cheat desc="Infinite Menu Time">
        <script state="run">
          <action condition="(maincpu.pb@6064B95==01)">maincpu.pb@6064B9A=01</action>
          <action condition="(maincpu.pb@6064F49==01)">maincpu.pb@6064F4E=01</action>
        </script>
      </cheat>
     

Share This Page